[vtk-developers] PNGWriter now writing out a black background after 17 Oct.

David E DeMarle dave.demarle at kitware.com
Thu Nov 10 09:24:40 EST 2016


In the RGBA version the blue background _should_ be invisible. The question
in my mind is why doesn't your Linux build not show anything in the
foreground? Can you share the png's made by your ubuntu build?

On my Mac for example, for both GL1 and GL2, RGB has a blue background,
RGBA's is transparent.
That is expected. The image contents are the same at every pixel except
that the RGBA'a alpha channel has value 255 for foreground and 0 for
background pixels.


David E DeMarle
Kitware, Inc.
R&D Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909

On Wed, Nov 9, 2016 at 5:18 PM, Andrew Maclean <andrew.amaclean at gmail.com>
wrote:

> Hi Guys,
>    For me this still appears to be the case. Try running the attached test
> code.
> In Windows and Linux, TestWIFPNGRGB.png are the same.
> In Windows TestWIFPNGRGBA.png has a transparent background, whilst in
> KUbuntu no image is produced just a transparent background.
>   Are you able to replicate this behaviour?
>
> Andrew
>
> On Wed, Nov 9, 2016 at 10:22 PM, David E DeMarle <dave.demarle at kitware.com
> > wrote:
>
>> Andrew, does this still appear to be the case in the 7.1 release branch?
>> If so mind filing a quick issue on gitlab with the 7.1 milestone tag?
>>
>
>
>
> --
> ___________________________________________
> Andrew J. P. Maclean
>
> ___________________________________________
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20161110/6b43f9c6/attachment.html>


More information about the vtk-developers mailing list