Imported PNG sequence from AE loses color Topic is solved

Please use this part to report bugs & errors, ask questions & "How to..."
Post Reply
User avatar
D.T. Nethery
Posts: 4225
Joined: 27 Sep 2006, 19:19

Imported PNG sequence from AE loses color

Post by D.T. Nethery »

I have a strange issue I can not solve. I hope someone can help me discover why this happens.

I am importing PNG image sequences back and forth from TVPaint to After Effects, then back to TVPaint. Some of the PNG's have color that is lost when importing the images back into TVPaint.

The attached screen captures show the problem.

The first image is from an effects animation sequence. This shows what it looks like in AE . Notice the color tint on the image (this color is actually embedded on the image , the color tint is not an effect or a blend mode in AE).
efx_layer_in_AE.png
efx_layer_in_AE.png (54.56 KiB) Viewed 25252 times

Next , I export it from AE as PNG , in RGBA mode (transparent alpha channel) . The next image shows a preview of the image. You can see that the colors are intact on the exported PNG.

PNG_from_AE_with_transparency.jpg
PNG_from_AE_with_transparency.jpg (50.49 KiB) Viewed 25252 times
(I notice that the info in the above screen capture says Color Mode: RGB , but it is in fact RGBA with transparent alpha channel).

However, when I import the PNG sequence into TVPaint the effect layer is white , the color is gone . The transparency is not lost , but the color tint is not there.
Imported to TVPaint.jpg
(click image to see it larger)


Can anyone tell me why this happens and what can I do to prevent it ? The same issue does not occur going the other way , exporting from TVPaint as PNG images with RGBA transparency and then importing into AE . When I export animation layers from TVPaint as PNG sequence and then import the PNG sequence into AE the color is intact . So I wonder what is happening with the image when exporting from AE to TVP ?

.

Animator, TVPaint Beta-Tester, Animation Educator and Consultant.
MacOS 12.7.1 Monterey , Mac Mini (2018) , 3.2 GHz 6-Core Intel Core i7,
16 GB RAM , TVPaint PRO 11.7.1 - 64bit , Wacom Cintiq 21UX 2nd Gen.
,Wacom Intuos Pro 5 , Wacom driver version 6.3.39-1
User avatar
slowtiger
Posts: 2950
Joined: 08 May 2008, 21:10
Location: berlin, germany
Contact:

Re: Imported PNG sequence from AE loses color

Post by slowtiger »

I just guess: try different "pre-multiply alpha" settings in AE during export.
TVP 10.0.18 and 11.0 MacPro Quadcore 3GHz 16GB OS 10.6.8 Quicktime 7.6.6
TVP 11.0 and 11.7 MacPro 12core 3GHz 32GB OS 10.11 Quicktime 10.7.3
TVP 11.7 Mac Mini M2pro 32GB OS 13.5
User avatar
ematecki
Site Admin
Posts: 2259
Joined: 15 Feb 2006, 14:32

Re: Imported PNG sequence from AE loses color

Post by ematecki »

Does AE supports different alpha modes for PNGs ?
PNG specs say they are never premultiplied.

Try to export it with the black background, to see if this is not a colorspace issue.
I know there is no ColorSync profile, but right now I have no other idea...
Quicktime is DEAD. Get over it and move on !
User avatar
D.T. Nethery
Posts: 4225
Joined: 27 Sep 2006, 19:19

Re: Imported PNG sequence from AE loses color

Post by D.T. Nethery »

ematecki wrote: 08 Aug 2020, 13:36 Does AE supports different alpha modes for PNGs ?
PNG specs say they are never premultiplied.
Here are the options for exporting PNGs from AE:
AE_PNG_Export_Options.jpg
Changing these settings does not seem to make any difference.

ematecki wrote: 08 Aug 2020, 13:36 Try to export it with the black background, to see if this is not a colorspace issue.
I know there is no ColorSync profile, but right now I have no other idea...
When I exported it in RGB mode with the black background the colors are there when I bring it in to TVPaint.


-----

My workaround now is to export the layer from AE as .MOV with Apple ProRes 4444 codec , RGBA mode. That brings the images into TVPaint as transparent image sequence , with the color intact.

However , I would prefer to use PNG sequences. It's a mystery why the PNGs come into TVPaint as totally white , with no color. When I open the same PNGs from AE in Photoshop the color is there. It also works when importing the PNG files from AE into ArtRage and into Toonboom Harmony. Only TVPaint does not import the PNG's from AE correctly.

Attached is one of the PNG images exported from AE.



.
Attachments
second test from AE_00203.png

Animator, TVPaint Beta-Tester, Animation Educator and Consultant.
MacOS 12.7.1 Monterey , Mac Mini (2018) , 3.2 GHz 6-Core Intel Core i7,
16 GB RAM , TVPaint PRO 11.7.1 - 64bit , Wacom Cintiq 21UX 2nd Gen.
,Wacom Intuos Pro 5 , Wacom driver version 6.3.39-1
User avatar
ematecki
Site Admin
Posts: 2259
Joined: 15 Feb 2006, 14:32

Re: Imported PNG sequence from AE loses color

Post by ematecki »

I have no problem importing it, the colors are there.
With both TVPA 11.0.9 and 11.0.0
Mac Pro, macOS 10.12.6
Quicktime is DEAD. Get over it and move on !
User avatar
D.T. Nethery
Posts: 4225
Joined: 27 Sep 2006, 19:19

Re: Imported PNG sequence from AE loses color

Post by D.T. Nethery »

ematecki wrote: 08 Aug 2020, 21:31 I have no problem importing it, the colors are there.
With both TVPA 11.0.9 and 11.0.0
Mac Pro, macOS 10.12.6
Interesting.

Wow ... what does that mean on my end ? What could it be ? I can import the PNGs from AE to Photoshop , ArtRage , and Toonboom Harmony with the color and transparency intact , but when the same PNGs are imported into TVPaint the color is absent . I'm on Mac OS 10.12.6 . My results in TVPaint 11.0.9 and 11.0.10 are identical -- no color in the PNGs , only pure white.

Animator, TVPaint Beta-Tester, Animation Educator and Consultant.
MacOS 12.7.1 Monterey , Mac Mini (2018) , 3.2 GHz 6-Core Intel Core i7,
16 GB RAM , TVPaint PRO 11.7.1 - 64bit , Wacom Cintiq 21UX 2nd Gen.
,Wacom Intuos Pro 5 , Wacom driver version 6.3.39-1
User avatar
ematecki
Site Admin
Posts: 2259
Joined: 15 Feb 2006, 14:32

Re: Imported PNG sequence from AE loses color

Post by ematecki »

Is that when you drag'n'drop the file from the finder ?
Quicktime is DEAD. Get over it and move on !
User avatar
D.T. Nethery
Posts: 4225
Joined: 27 Sep 2006, 19:19

Re: Imported PNG sequence from AE loses color

Post by D.T. Nethery »

ematecki wrote: 09 Aug 2020, 08:07 Is that when you drag'n'drop the file from the finder ?
Yes, but I have the same results if I import the file by File Menu > Open/Import -- the PNGs imported into TVPaint are white , no color. The original PNGs exported from After Effects have color.
The issue only happens when importing the PNG sequence into TVPaint, not in Photoshop, ArtRage, or Toonboom Harmony.

Animator, TVPaint Beta-Tester, Animation Educator and Consultant.
MacOS 12.7.1 Monterey , Mac Mini (2018) , 3.2 GHz 6-Core Intel Core i7,
16 GB RAM , TVPaint PRO 11.7.1 - 64bit , Wacom Cintiq 21UX 2nd Gen.
,Wacom Intuos Pro 5 , Wacom driver version 6.3.39-1
User avatar
slowtiger
Posts: 2950
Joined: 08 May 2008, 21:10
Location: berlin, germany
Contact:

Re: Imported PNG sequence from AE loses color

Post by slowtiger »

OK, you owe me an iced coffee.

Check your import settings in TVP. They're set to "alpha only", I bet.
TVP 10.0.18 and 11.0 MacPro Quadcore 3GHz 16GB OS 10.6.8 Quicktime 7.6.6
TVP 11.0 and 11.7 MacPro 12core 3GHz 32GB OS 10.11 Quicktime 10.7.3
TVP 11.7 Mac Mini M2pro 32GB OS 13.5
User avatar
ematecki
Site Admin
Posts: 2259
Joined: 15 Feb 2006, 14:32

Re: Imported PNG sequence from AE loses color

Post by ematecki »

I guess slowtiger hit the nail on the head...
Quicktime is DEAD. Get over it and move on !
User avatar
D.T. Nethery
Posts: 4225
Joined: 27 Sep 2006, 19:19

Re: Imported PNG sequence from AE loses color

Post by D.T. Nethery »

slowtiger wrote: 09 Aug 2020, 17:28 OK, you owe me an iced coffee.

Check your import settings in TVP. They're set to "alpha only", I bet.
YES ! That's it ! Thank you , kind sir. (I'll buy you two iced coffees !)
ematecki wrote: 09 Aug 2020, 19:06 I guess slowtiger hit the nail on the head...
YES !



For anyone else who experiences this issue , check your import settings. Make sure the import is set to No PreMultiply.
Import_Settings_No_Premult.jpg

.

Animator, TVPaint Beta-Tester, Animation Educator and Consultant.
MacOS 12.7.1 Monterey , Mac Mini (2018) , 3.2 GHz 6-Core Intel Core i7,
16 GB RAM , TVPaint PRO 11.7.1 - 64bit , Wacom Cintiq 21UX 2nd Gen.
,Wacom Intuos Pro 5 , Wacom driver version 6.3.39-1
User avatar
slowtiger
Posts: 2950
Joined: 08 May 2008, 21:10
Location: berlin, germany
Contact:

Re: Imported PNG sequence from AE loses color

Post by slowtiger »

This was so much fun. When I finally came to testing your image file, I knew it had to be on the TVP side because everything else was eliminated already. It just took a conscious look at the import panel - something I hadn't done for years! And then I danced around a bit ...
TVP 10.0.18 and 11.0 MacPro Quadcore 3GHz 16GB OS 10.6.8 Quicktime 7.6.6
TVP 11.0 and 11.7 MacPro 12core 3GHz 32GB OS 10.11 Quicktime 10.7.3
TVP 11.7 Mac Mini M2pro 32GB OS 13.5
Post Reply