Differences between .png and TVPaint colours

Please use this part to report bugs & errors, ask questions & "How to..."
Post Reply
johnfromncl
Posts: 41
Joined: 29 Jul 2019, 08:46
Location: Whitley Bay, England

Differences between .png and TVPaint colours

Post by johnfromncl »

Hi

There has been a similar thread to this years ago https://tvpaint.com/forum/viewtopic.php?t=8639, but they seemed to be getting the opposite problem to me now, and I'm not sure how - or if - that was resolved then.

Keeping things constant in my tests, the screen being used is the same for all of the following - my Wacom screen. The screen capture method is also the same. The TVPaint project is 4K: 3840 x 2160.

When I draw in TVPaint on my Wacom screen using pretty pure colours, they appear a bit muted and soft, as in this image which is a screen capture of a section of the TVPaint screen
Screen capture of TVPaint.png
Screen capture of TVPaint.png (74.37 KiB) Viewed 6430 times
This is TVPaint at 1:1 i.e. 100%
TVpaint at 1 to 1 that is 100 percent.png
When I export that image, enlarge the .png so the drawing is the same size on the screen as the top image and do an screen capture of as close as I can get to the same area, the colours show as I would have expected them to show when in TVPaint - i.e. sharper /brighter / more intense / more pure / more saturated and as shown here
Screen capture of png produced by TVPaint.png
Screen capture of png produced by TVPaint.png (83.22 KiB) Viewed 6430 times
The settings used for the export were
Export settings full.png
.

I had noticed this issue in the past when viewing movies made from TVPaint and had thought that might have been due to me using different screens, but on testing on the same screen these issues are still present. Due to these concerns, I have calibrated my screens using i1Profiler and the above is after having done that - i.e. this is very much still a current problem for me.

Any help is gratefully appreciated - currently I am not seeing the colours I expect in TVPaint, but am in things exported from it. (This makes colour selection when in TVPaint a bit tricky!)

Looking in preferences, I can't see anything about what colour profile is being used by TVPaint. The only thing is 'locked window visibility which is set to dark - but I believe that is to do with the interface and nothing to do with the appearance of drawings.

It is almost as if I am using some sort of softening effect in TVPaint that is not preserved in exporting - but if so, I have no idea how that is happening. (My layers are simple and all I have done is draw this.)

Is the issue simply one to do with scaling of an image in TVPaint - somehow this creates differences in perceived (or actual) colour and sharpness? (But on bringing the exported png file into Moho - as an example - it appears distinctively sharper and brighter than in TVPaint at any scale.)

As is usual when I post here - I'm a bit confused currently.

Many thanks for any help
John
iMac (Retina 5K, 27-inch, 2020). 3.8 Ghz 8-core Intel Core i7, 128GB 2667 MHz DDR4. MacOS Catalina 10.15.7.
TVPaint Animation 11 Pro (11.5.2-64 bits).
Wacom Cintiq pro 24". Driver using 6.3.43-3 (avoiding 6.3.44-1)
John from Newcastle, johnfromncl Updated 2021-09-24
User avatar
slowtiger
Posts: 2949
Joined: 08 May 2008, 21:10
Location: berlin, germany
Contact:

Re: Differences between .png and TVPaint colours

Post by slowtiger »

This seems to be the common error of "measuring the wrong thing".

The only thing you should worry about are the RGB values of a pixel in a saved image/video, no matter which format. These should always stay the same, if not the format is not suitable.

The presentation on your monitor screen is a completely different thing. You don't choose colours to "look right on that certain monitor". You choose colours for print (that's a PS job), or for projection on a cinema screen, or for Internet. For any other medium the colours are tweaked accordingly: TV, DVD, etc. This end format is the starting point of all your colour choices, from which you go backwards to TVP.
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
johnfromncl
Posts: 41
Joined: 29 Jul 2019, 08:46
Location: Whitley Bay, England

Re: Differences between .png and TVPaint colours

Post by johnfromncl »

I should have put this in the technical support section. Hopefully someone can move it there...
iMac (Retina 5K, 27-inch, 2020). 3.8 Ghz 8-core Intel Core i7, 128GB 2667 MHz DDR4. MacOS Catalina 10.15.7.
TVPaint Animation 11 Pro (11.5.2-64 bits).
Wacom Cintiq pro 24". Driver using 6.3.43-3 (avoiding 6.3.44-1)
John from Newcastle, johnfromncl Updated 2021-09-24
User avatar
D.T. Nethery
Posts: 4225
Joined: 27 Sep 2006, 19:19

Re: Differences between .png and TVPaint colours

Post by D.T. Nethery »

It is also a noticeable problem with how colours appear in TVPaint vs. how the colours appear when rendered to a .mov . (export to FFMpeg .MOV , with ProRes codec)

I'm working with a student right now on finishing her film and notice the difference in the colours in the TVPaint project compared to how the .mov looks played in VLC Player.
Almost the same results when using DJV Player .

The colours appear more accurate when played back in Quicktime Player 10.5 .

Colours_in_TVPaint_vs_VLC_Player.jpg
[click images to view larger]

Colour_Accuracy_in_TVPaint_vs_DJV_Player.jpg

There's a much more noticeable shift in the blues in VLC and DJV players than in Quicktime Player.
Colour_in_TVPaint_vs_Quicktime_Player_10.5.jpg
Colour is most accurately reproduced when played back in Quicktime Player 10.5.



.

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
Xavier
Posts: 1855
Joined: 01 Oct 2019, 11:08

Re: Differences between .png and TVPaint colours

Post by Xavier »

Here a small project with "full" colors : full red, yellow (red+green), green, light blue (green+blue), blue, pink (blue+red)
colors.tvpp
(190.19 KiB) Downloaded 486 times
You can export it to a single PNG and then check the colors using a picture editor (I used Gimp) to ensure they're properly exported.

When exporting into video, if you want/need to validate the exact colors then be sure to use a non-destructive (aka lossless) video codec. In TVPaint it would be MOV+PNG, MKV+PNG or MP4+PNG. Otherwise once the bits are torn-twisted-shred into compressed video, it's harder for the decoder to bring exactly the same color to the screen.
User avatar
D.T. Nethery
Posts: 4225
Joined: 27 Sep 2006, 19:19

Re: Differences between .png and TVPaint colours

Post by D.T. Nethery »

Xavier wrote: 14 Sep 2021, 17:06 Here a small project with "full" colors : full red, yellow (red+green), green, light blue (green+blue), blue, pink (blue+red)
colors.tvpp
You can export it to a single PNG and then check the colors using a picture editor (I used Gimp) to ensure they're properly exported.

When exporting into video, if you want/need to validate the exact colors then be sure to use a non-destructive (aka lossless) video codec. In TVPaint it would be MOV+PNG, MKV+PNG or MP4+PNG. Otherwise once the bits are torn-twisted-shred into compressed video, it's harder for the decoder to bring exactly the same color to the screen.

With the compression (ProRes) I think it's partially a problem with FFMpeg's version of ProRes codec causing the "torn/twisted/shredded" bits of colour in the compressed video because I used to get much more accurate colour when exporting to Quicktime > Apple ProRes 4444 (Millions of Colors) in the older 32bits TVPaint that could still use the Apple Quicktime codecs. Interestingly, FFMpeg's "ProRes" codec appears to render the colour accurately (compared to what is seen in TVPaint 11.5) when played in Quicktime Player 10.5 aka Quicktime Player X , but not in VLC Player or DJV Player .

Here are the results comparing colour fidelity between original TVPaint compared to FFMpeg PNG Lossless in Quicktime 10.5 and the same .mov file in VLC Player :

QUICKTIME PLAYER 10.5 - (in Quicktime Player 10.5 the .MOV file with PNG Lossless compression looks close to the original colours in TVPaint)
TVPaint_compared_to_FFMpeg_PNG_Lossless_Quicktime_10.5.png

VLC PLAYER - (in VLC Player the blues have noticeably shifted when compared to the original colour as it appears in TVPaint)
TVPaint Compared to FFMpeg_PNG_Lossless_in_VLC.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
Xavier
Posts: 1855
Joined: 01 Oct 2019, 11:08

Re: Differences between .png and TVPaint colours

Post by Xavier »

Not sure on MacOS, but I think Vlc may have brightness or gamma settings.
Post Reply