Why does the output image appear at 772 x 772 px even though I design it as 256 x 256 px? - adobe-illustrator

I have created an icon in Adobe Illustration at 256 x 256 pixels.
When I output the file, it is shown as 772 x 772 pixels.
What is happening here, and how do I solve it?
Thank you!

New Document. Units = Pixels. Width = 256 px. Height = 256 px.
Align your artwork inside the given boundaries.
Export as PNG (as shown on your 2nd screenshot).

Related

Using GPU to rasterize image with 128 color channels

I need to rasterize a multispectral image, where each pixel contains the intensity (8 bits) at 128 different wavelengths, for a total of 1024 bits/pixel.
Currently I am using OpenGL, and rasterizing in 43 passes, each producing an image with 3 of the 128 channels, but this is too slow.
Is it possible to do it in a single pass by somehow telling the GPU to rasterize a 128 color component image (not necessarily using OpenGL)?

Can't get MKTileOverlay to support 1024 x 1024 sized tiles...

if I set the tileSize property of MKTileOverlay to tileSize=CGSizeMake(1024, 1024).
the mapViewer shows my tiles all over the view with gaps and in the wrong order.
I have produced tiles that are in the dimension 1024 x 1024.
zoom level 1 has 4 png tiles,
zoom level 2 has 16 png tiles,
zoom level 3 has 64 png tiles
if I set MKTileOverlay.tileSize=CGSizeMake(256, 256) and provide 256x256 tiles
everything works fine?
what could be the problem?

How to change the dpi of differently sized images within a pdf in order to realise a common "print size" for every page?

I am new to the world of raster images, so I will first explain which definitions I use and hope that I will use them right:
- geometry (the total number of pixels of the image %w * %h)
- resolution (pixels per inch / ppi)
- size or "print size" (the display size (e.g. in inches) on screen or printer)
I have some PDF documents containing raster images of different geometry. When opening with evince they therefore all display (and I guess potentially print) with different sizes. I would like to define the print size within the pdf so that evince (or any other viewer) would display every page with the same size when opening the document.
How could this be realized? Geometry and print size of the image are linked by the resolution as far as I understand. Currently one of my pdf's shows to following ImageMagick:identify output:
$identify -units PixelsPerInch -format "%w x %h - %[resolution.x] x %[resolution.y] - %[fx:w/72] x %[fx:h/72] in\n" example.pdf
geometry - resol. - print size -
538 x 375 - 72 x 72 - 7.47 x 5.20 in
546 x 381 - 72 x 72 - 7.58 x 5.29 in
1210 x 1681 - 72 x 72 - 16.80 x 23.34 in
1658 x 1166 - 72 x 72 - 23.02 x 16.19 in
542 x 365 - 72 x 72 - 7.52 x 5.06 in
1673 x 1169 - 72 x 72 - 23.23 x 16.23 in
I would like to realize a constant print size (column 3) and I do not want to change the geometry of the image/ avoid to re-compress it, so that it does not loose quality. In order to proceed it seems to me that I need to understand the following which I cannot find any information about:
1) Which of these three values is actually saved in the pdf document and which one is calculated by identify?
2) Which software (and how) would allow me to batch process a number of pdf files in order to achieve my goal.
3) Guessing that geometry and resol are values of the pdf file and print size is derived from it, the software would need to calculate a resolution value for each image so that print size would qual over all pages?
Thank you very much!
Cheers,
Benjamin
1) I think only the first two are actually stored in the PDF, but the third value (print size) is directly related to resolution (538x375) and pixel density (72ppi aka 72dpi), so it can easily be calculated anyway.
2) It seems like you're going about this a little backward. There are plenty of applications that are perfectly suited to controlling image layout and printing. Adobe Illustrator is one of the most common and there are some free ones, too. But these are going to involve loading the images, visually arranging them on the page and adjusting the print sizes visually, rather than programmatically.
2) If you did want to do this programmatically, though, I think you're going to have a hard time finding software to solve that problem. GIMP and Photoshop both have some batching capability, and I know GIMP has a fairly robust CLI, so you might be able to use that.
3) Yes, you'll start with the print size you want, divide the number of pixels by the number of inches to get ppi/dpi.
NOTE: Keep in mind that dpi goes both directions. If you have a 200 x 300 image and a 400 x 400 image, and you want them both to print 10 inches square, then you're going to distort the 200 x 300 image, stretching it horizontally. The 200 x 300 image will also look poorer quality than the 400 x 400, because you have fewer pixels to work with.
For these and other reasons, I highly recommend a visual approach, rather than a coding approach.
Good luck!

Windows Phone 8 Startscreen Tile sizes and margins

I was wondering if someone knows the exact measurements of the new Windows Phone 8 Startscreen (for 480x800), i.e. margins (top, left & right, between tiles) and the edge length of all three different tile sizes.
For 720p (1280×720) and WXGA (1280×768):
Large Tile: 691 x 336 (yes, you're not reading it wrong, there's a extra pixel on the width)
Medium Tile: 336 x 336
Small Tile: 159 x 159
For WVGA (480x800):
Large Tile: 430 x 210
Medium Tile: 210 x 210
Small Tile: 100 x 100
For IconicTemplate (All resolutions):
Transparent icons!
Large Tile: 132 x 202 (IconImageURI)
Medium Tile: 72 x 110 (SmallImageURI)
Icon: 38 x 38 (DeviceLockImageURI)
For Application Icons
ApplicationIcon.png: 159 x 159
Background.png: 173 x 173
All numbers are in pixels. The horizontal margin between tiles are 10 px.
As a general piece of advice, provide your tiles in the high resolution, and they'll get downscaled by roughly a factor 1.6. Otherwise you'll find your low resolution tiles being upscaled, and the text will look very blurry.
And remember that some of the new special tile templates available in the SDK, will require different resolution images. The above is the full tile size, if you use a regular FlipTemplate.
Bonus Update: For App Bar Icons (not to be confused with the above)
76x76 circle with 42x42 icons.
Update:
Here's a test with different image sizes used with the iconic tiles.
Read the Claus' answer for the correct sizes.
Old answer:
For the Iconic Tile Template the 720p and WXGA sizes are:
Small Tile: 110 x 110
Medium Tile: 202 x 202
Wide Tile: N/A
The application's icon size is now 100x100, up from the previous 62x62.
For the Marketplace you must provide a 300x300 logo.
Microsoft has now posted the correct sizes for the Iconic template:
http://msdn.microsoft.com/en-us/library/windowsphone/design/jj662924(v=vs.105).aspx
SmallIconImage:
recommended “best fit”: 70x110px
max image size: 110x110px
IconImage:
recommended “best fit”: 130x202px
max image size: 202x202px
All other images and their sizes needed for publishing can be found at:
http://msdn.microsoft.com/en-us/library/windowsphone/develop/hh184844(v=vs.105).aspx
And lock screen image:
http:// msdn.microsoft.com/en-us/library/windowsphone/develop/jj207048(v=vs.105).aspx

cant resize image to 72 x 72 in cs5

I'm trying to make a 72 x 72 high resolution icon for my Hello World (Android) app.
I went to Image Resize, typed 72 in height and width automatically changed to 59. I changed width to 72 and the height changed to 88. I can't get them both to change to 72 - is this possible to do?
http://i1043.photobucket.com/albums/b439/darrengove/resize.png
You can first resize it to 88x72 px, and after that crop it with Crop tool (Ctrl+Alt+C).
That's it :)