Skip to main content
Inspiring
October 16, 2019
Question

8 & 16 bith depth in PNG and amount of colors in result

  • October 16, 2019
  • 1 reply
  • 287 views

Hello there,

 

I am sure the bit depht has been discussed thousand times in this forum, but I found something I would like to ask for help to understand it:

 

I rendered the same frame of the video three times:

  1. Project set to 8 bit, render to PNG, RGB, Millions of colors
  2. Project set to 16 bit, render to PNG, RGB, Millions of colors
  3. Project set to 16 bit, render to PNG, RGB, Trillions of colors

 

I wondered how the Mi/Tri changes the result. Here is how many colors contained the final image for each scenario:

  1. 9265 colors / 212 kB
  2. 11622 colors / 799 kB
  3. 8649 colors / 1,19 MB

 

I of course expected the third scenario to produce the highest amount of colors. But the file-size is adequate to my feelings. To determine amount of colors I used software "Imagine - Image & Animation Viever". (To check this software I did a quick test with a 100 objects exported from Illustrator and the color-counting was right. 100 colors + 1 for white bg. So the software seems to work properly.)

 

Could you please explain to me why the numbers are not highest for third and lovest for first scenario? Thank you in advance.

 

PS: 

 

 

    This topic has been closed for replies.

    1 reply

    Mylenium
    Legend
    October 16, 2019

    You are probably causing some post-rendering expansion of the color space when rendering in 16 bit and then going back to 8 bit as per example 2. This would of course cause some more colors to be introduced even if they are just interpolated from the neighboring pixel values and then in turn may result in "crooked" value ranges that can be optimized less by the PNG algorithm. Really nothing here that couldn't be explained technically.

     

    Mylenium

    Zed 248Author
    Inspiring
    October 16, 2019

    Thanks for response!

     

    But i did not post-render anything. I changed the Project bit depth and render it from scratch for each scenario.