Illustrator Can’t Save a Square
I was experimenting with a new web service this morning for our local ham radio club, and the profile page requested an icon of a very specific size: 48 pixels square. Since I have our club logo as an Illustrator vector image, this should have been an easy, one-step process. Right?
Wrong. Although the Save for Web command in Illustrator allowed me to save the vector image to a PNG raster image directly, I could only resize the aspect ratio that Illustrator had chosen (48×30). Getting the simple square image desired required me to open the image in Photoshop, change the canvas size and specify on which edge(s) blank pixels were to be added to fill in the rest of the space.
Needing to save vector artwork to very specific image sizes is so common–in creating icons, Web ads, and many other tasks, that I’m amazed the ability to specify the export size and dimensions has not been a part of Illustrator for years.

HI peter,
if you set the artboard size (file>document setup) to the final PNG size you want, then place the logo within it on screen, then go to ’save for web’ - on the right click the image size tab and check ‘Clip to Artboard’ then you’ll get the file you want. It doesn’t display in the preview, but you’ll see the image size update to the size you put for the artboard.
Iain
Comment by iaing — 2006-02-23 @ 05:44:03 PST
That’s an interesting method, but it didn’t work in my case–all it did was crop to the very center of the logo. It would work if I re-scalled the image before doing a save-as, but that’s still requiring an extra step.
Comment by Peter Sheerin — 2006-02-24 @ 13:47:53 PST