Unable to open/paste/place images from AfterEffects generated PNG sequence.
I'm getting error when I'm trying to open/place/paste image form After Effects (22.4.0 build 54) genereted PNG sequence. Png can be any size (tested with 1080x1920 & 640x640). Images had no transparency (solid white bg).
Error says "Requested transformation would make some objects too large". When I press OK, png image opens in another tab with dimensions of 16383x 16383px for 640x640px picture. I can open same image in Photoshop without a problem. The DPI of the image generated by AfterEffects is 72dpi.
Illustrator version 26.3.1.
After Effects 22.4.0 build 54
MacOS 12.2.1
P.S. My colleague was able to open this image on Illustrator version 24.
-
OK, this is interesting.
Please download the two more images I attach.
~LINE_032.png is saved form Photoshop using Save for Web and devices.
~~LINE_032.png is saved from Photoshop using plain Save As.Now please go to https://www.nayuki.io/page/png-file-chunk-inspector which allows to inspect the written structure of an uploaded PNG and study all 3 images we have (better do it in three tab copies).
Then also open https://www.w3.org/TR/REC-png-961001 and search for 'Physical pixel dimensions' (chapter 4.2.5), where you can see what are we looking at in those PNG’s chunks.
Resolution is an arbitrary. As the standard says, it can be unspecified and unknown.
The original image (no tilde) has the both resolution parameters set to 1ppi (!) — which is exactly what Ai is reading, but the unit specifier is set to 0, which means 'the actual size of the pixels remains unspecified'.
Which perhaps means AE writes the lowest possible resolution and then says 'but we don’t know'.The second image, from the built-in ImageReady module from Save for Web, gives no resolution specified.
The third image honestly says it’s 2835ppi and in print it should be 72dpi (DPI and PPI are different monsters).
So, Photoshop puts a lot of metadata in the file, including resolution, XMP, etc.
Save for Web method does not care about resolution an image has. Who cares, browsers display pixels, and scaling is usually controlled externally by web designers. When an image without a resolution specified is read by Photoshop, it ASSUMES it has the default 72ppi.
Why AE writes 1ppi? Why Photoshop ignores it and why Illustrator decides to not to? Why it started doing this inly recently? Pretty interesting, right? Yes, I’ve seen these 1ppi images before, and just recently I had plenty of them — and they were not from AE — and Ai refused to place them too.
Thanks for reporting this, I'll try to push it further form the Ai side. If you find time to also ask AE team about their 'sequential resolution decisions' — it’d be great.
-
Anonymous commented
This happens only to PNG sequence. I can open/place images if I render same AfterEffects file as JPG sequence. Attached is a sample file from the sequence.
-
Something is definitely wrong.
Can you please generate one image for testing and share it here?