Retaining px dimension when export to a PNG file. Adobe Illustrator


In Adobe Illustrator I have an Icon that has dimensions of 200px by 200px. When I export it to a PNG file though,the PNG file is 834px by 834px. Any suggestions to keep the icon at 200 by 200 pixels?

4/28/2014 2:25:00 PM

Accepted Answer

Because you did not check the Use Artboards option on the export window, Illustrator defaults to exporting everything in your workspace.

But I would recommend using the File > Save for Web... command, instead.

Save for web has the advantage of allowing you more control over the output. For example, you can even preview how things are going to be rendered and the final file size before exporting it. It also automatically crops to artboard size, so you don't have to worry about any overlapping objects.

4/29/2014 11:45:00 PM

For those who still have the problem with odd number like me. Such as 67, 143 ,or others. It will convert to 68 or 144. (for me)

Here steps for you to fix :

  • Make sure Artboard is the same size with Background. (Size that you want it to be)
  • Select all objects
  • in transform X or Y should have “.5” , Cut it out
  • open Artboard minus X or Y with .5 (Position that you cut it out in transform)
  • Then export with normal default | Done