Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

PNG Export Dimensions Not as Set

New Here ,
Jan 12, 2022 Jan 12, 2022

I've been having this issue where I try to export a PNG from Illustrator at a set height (eg 600px). I've checked the PPI settings in Illustrator, it's set to 300 PPI. However, when I import the image into Photoshop the PPI values have changed and become smaller.

 

I found that it seems related to the size of the assets on the canvas, however that's never been the case before. It's always been that the export settings determine the resulting file dimensions and PPI. Here are some screenshots to help show the issue.

 

I think it's also worth noting that I was having issues recently with Photoshop and I uninstalled and reinstaleld the whole suite, so possibly I've messed up some settings.

 

Thanks!

RubyMakesThings_0-1642026623269.png

 

RubyMakesThings_1-1642026629383.png

RubyMakesThings_2-1642026634527.png

 

 

TOPICS
Bug , Print and publish
4.6K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Jan 12, 2022 Jan 12, 2022

What is the PPI of your Photoshop file?

 

If you export your PNG from AI at 600 px sq., it should be 600 px in Photoshop. Since AI interchanges points and pixels, 600 px is pretty wide--almost 8.5 inches. However, if your Photoshop file is set to 600 ppi (for example), it will appear to be only 1 inch across when inserted into PS. 

Translate
Adobe
Community Expert ,
Jan 12, 2022 Jan 12, 2022

The settings you show are only for Raster Effects.

Illustrator creates scalable vectors that do not have a resolution.

If you create an object of a certain size in points or pixels, it will keep that amount of pixels when you export it at 72 ppi.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 12, 2022 Jan 12, 2022

Thanks for your reply Ton.

 

The issue I'm having is with PNG (raster) images, SVGs export fine.

 

The document raster effects settings is set to 300PPI, the export dialogue is set to export the PNGs at 600px high. So I would expect both of those squares to export PNGs with dimensions of 600x600px with 300PPI.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 12, 2022 Jan 12, 2022

Just export as 72 ppi to keep the same amount of pixels. And if you want to change the resolution settings, do it in an app like Photoshop and change the resolution in Image Size without Resampling.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 12, 2022 Jan 12, 2022

How do I export it at 72PPI? (or 300?) I thought the document raster effects settings was the way to do this, but apparently that's not the case...

 

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 12, 2022 Jan 12, 2022

The PPI is irrelevant. If you need a graphic that is exactly 600 pixels by 600 pixels, you got it.

If it really bugs you, just change the resoultion in PS's Image Size dialog (making sure that Resample is NOT checked).

Screen Shot 2022-01-12 at 4.27.14 PM.png

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 12, 2022 Jan 12, 2022

Thanks for your reply Brad!

 

When bringing in the PNG file into a document with a higher PPI setting, it shows as smaller than expected because of the PPI mismatch.

 

Bringing the image into Photoshop, then changing the resolution as you described does make it behave as I'd expect, but it's also an extra step (I can't just drop the file into a 300PPI Photoshop file and have the dimensions line up). I am mostly just confused as to why the exported PNG doesn't have the PPI that I've set in Illustrator in the document raster effects settings.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 12, 2022 Jan 12, 2022

Ton and Brad gave you correct information. 

 

Perhaps you can tell us what you plan on doing with the graphic? Is it for print or web or what?

If for the web, you should strictly be concerned with the width x height pixels; ignore the PPI. I would use the Export>Export for Screens menu.

If for print, I would not be exporting to PNG from Illustrator if going to Photoshop (or InDesign). However, if I HAD to use PNG, I would use the Export>Export As menu.

 

David Creamer: Community Expert (ACI and ACE 1995-2023)
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 12, 2022 Jan 12, 2022

Thanks for your reply David.

 

These are just to illustrate the point. But the images I'm working on right now will be for web (I'd just use the SVG for print purposes if needed).

 

What I've done in the meantime is to use the exported SVG and bring that into Photoshop. Then I can export that as a PNG from there and the PPI is set correctly.

 

I am curious why the PPI wasn't following what I'd set in the document raster effects settings...

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 12, 2022 Jan 12, 2022

SVG is a web format too--it's just vector instead of raster like PNG. Why not place the native AI file directly in Photoshop? 

 

As Ton mentioned, the Document Raster Effects do not directly affect the export resolution. 

David Creamer: Community Expert (ACI and ACE 1995-2023)
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 12, 2022 Jan 12, 2022

Yes totally, SVGs are great on the web. In this case I need it to be a PNG though.

 

If the document raster effects are not how you affect the export resolution, is there a way to?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 12, 2022 Jan 12, 2022

Did you read my post 2 hours ago?

 

Here it is again:

If for the web, you should strictly be concerned with the width x height pixels; ignore the PPI. I would use the Export>Export for Screens menu.

If for print, I would not be exporting to PNG from Illustrator if going to Photoshop (or InDesign). However, if I HAD to use PNG, I would use the Export>Export As menu.

David Creamer: Community Expert (ACI and ACE 1995-2023)
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 12, 2022 Jan 12, 2022

Yes I did.

 

Export for screens produces the same result. The PPI has an effect when I drag the exported PNG into another photoshop file (set at 300PPI). Basically I have a template file and I'm bringing multiple files into it, and because of the PPI mismatch the PNG comes into the document at about half the size of the template doc.

 

I can work around it though. Thanks for your time.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 12, 2022 Jan 12, 2022

What is the PPI of your Photoshop file?

 

If you export your PNG from AI at 600 px sq., it should be 600 px in Photoshop. Since AI interchanges points and pixels, 600 px is pretty wide--almost 8.5 inches. However, if your Photoshop file is set to 600 ppi (for example), it will appear to be only 1 inch across when inserted into PS. 

David Creamer: Community Expert (ACI and ACE 1995-2023)
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 20, 2022 Jan 20, 2022
LATEST

Thanks David. The Photoshop file was set to 72 PPI as those graphics were destined for the web.

 

The exported files are logos and therefore have multiple potential destinations (web +  print) so I wanted to export them at a higher density.

 

When inserted into a 300 PPI Photoshop file, the exported graphics take up the expected amount of space.

 

Simply using the SVG in Photoshop instead of the PNG seems the best solution.

 

Thanks for your time!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 12, 2022 Jan 12, 2022

Did you Place the AI file into Photoshop? If you do that, you can size the AI file to anything you need and it will rasterize at that size without loss of quality. 

 

David Creamer: Community Expert (ACI and ACE 1995-2023)
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 12, 2022 Jan 12, 2022

No I did not. Sorry I didn't reply to this point. This would work, but I'd prefer to just bring the SVG into Photoshop instead, it just works better with my workflow.

 

The AI file contains multiple artboards and images. Of course I could separate them, but I'd prefer to keep them together, so importing the AI file into Photoshop would bring in a bunch of extra stuff.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines