I created a 40px x 40px image in Adobe Illustrator CS4. I saved as an .ai file and then tried to export as a PNG.
Adobe Illustrator automatically crops the background and tightens the export to a rect around all the objects which if fine. In this case, I am not working edge to edge so my image is not quite 40px wide.
But, unfortunately, Illustrator is not exporting the entire image. I end up with an image that is 34px wide. Indeed, the icon I draw starts on the left hand side but the right edge of my object cut off.
Any ideas why this is happening? I can't imagine Illustrator CS4 can't correctly to export to PNG.
1 Correct answerIt looks like you're using the "Export As" option. In the first dialog you should see an option to "Use Artboard". This is required if you don't want the transparent pixel area to be cropped off.
File/Export option gives you much more options. When the Export dialog box apears, under the save type as PNG, you have "Use Artboards" radio button. Tick that and PNG will be saved as a whole page instead of automatic croping. A plus is that you'll have a second dialog box where you can set the PNG's resolution.
You can choose which artboards you want to export with bleed using the range, and export again using the range to select artboards without bleed. Set the image resolution using scale, select resolution, and set your resolution. Ensure include bleed is checked off or not checked off depending on what you want.
File/Export option gives you much more options. When the Export dialog box apears, under the save type as PNG, you have "Use Artboards" radio button. Tick that and PNG will be saved as a whole page instead of automatic croping. A plus is that you'll have a second dialog box where you can set the PNG's resolution.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With