Rendering png sequence issue

Please use this part to report bugs & errors, ask questions & "How to..."
Post Reply
User avatar
Smeerik
Posts: 18
Joined: 29 Aug 2012, 08:04
Location: Netherlands
Contact:

Rendering png sequence issue

Post by Smeerik »

Hi!
I have this problem when I render this png sequence. Normaly it looks like this:
Image
But when i render the png sequence with alpha premultiplied it looks like this:
ImageImage
It only happens somehow in the layer in wich I drew the face and I don't have any masks active.
I rendered a lot png sequences for this project and this is the first that came out looking like this. :?
User avatar
ematecki
Site Admin
Posts: 2259
Joined: 15 Feb 2006, 14:32

Re: Rendering png sequence issue

Post by ematecki »

PNGs should never be premultiplied !

TVPaint still support premultiplied PNG for compatibility with some buggy software.
In TVPaint 11 you get now a warning when selecting premultiplied PNG.
Quicktime is DEAD. Get over it and move on !
User avatar
slowtiger
Posts: 2949
Joined: 08 May 2008, 21:10
Location: berlin, germany
Contact:

Re: Rendering png sequence issue

Post by slowtiger »

My guess: those vanishing lines are on a layer set to Multiply, and in a spot where there's nothing else in the layers under it.
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
Smeerik
Posts: 18
Joined: 29 Aug 2012, 08:04
Location: Netherlands
Contact:

Re: Rendering png sequence issue

Post by Smeerik »

Ah the layer was set to Hard light must have clicked it by accident :oops:
May I asked why you should nog premultiply png's? i have used it for al my shots I rendered and I have no problems with it.

Thanks for the replies!
User avatar
ematecki
Site Admin
Posts: 2259
Joined: 15 Feb 2006, 14:32

Re: Rendering png sequence issue

Post by ematecki »

Smeerik wrote:May I asked why you should nog premultiply png's? i have used it for al my shots I rendered and I have no problems with it.
The PNG specs (available here : http://www.w3.org/TR/REC-png-multi.html" onclick="window.open(this.href);return false; , in "12.8. Non-premultiplied alpha") explicitly say PNGs are always NON-premultiplied...

12.8. Non-premultiplied alpha

PNG uses "unassociated" or "non-premultiplied" alpha so that images with separate transparency masks can be stored losslessly. Another common technique, "premultiplied alpha", stores pixel values premultiplied by the alpha fraction; in effect, the image is already composited against a black background. Any image data hidden by the transparency mask is irretrievably lost by that method, since multiplying by a zero alpha value always produces zero.
Some image rendering techniques generate images with premultiplied alpha (the alpha value actually represents how much of the pixel is covered by the image). This representation can be converted to PNG by dividing the sample values by alpha, except where alpha is zero. The result will look good if displayed by a viewer that handles alpha properly, but will not look very good if the viewer ignores the alpha channel.

Although each form of alpha storage has its advantages, we did not want to require all PNG viewers to handle both forms. We standardized on non-premultiplied alpha as being the lossless and more general case.
Quicktime is DEAD. Get over it and move on !
Post Reply