[vtkusers] 24bit PNG writing

Bill Lorensen bill.lorensen at gmail.com
Mon Nov 14 14:27:50 EST 2011


This wiki example: http://vtk.org/Wiki/VTK/Examples/Cxx/IO/WritePNG
writes an rgb (3-component) image to a PNG file.


On Mon, Nov 14, 2011 at 2:25 PM, Bill Lorensen <bill.lorensen at gmail.com> wrote:
> I believe if the input data is 3 component unsigned then you can write
> it. But are you saying the data is a single component 24-bit integer?
>
> On Mon, Nov 14, 2011 at 1:05 PM, Jim Geach <jimgeach at physics.mcgill.ca> wrote:
>>
>> Is it possible to write a 24bit PNG using the vtkPNGWriter? I'm using a palette with >256 colours and would like to be able to save the render to an image file.
>>
>> Thanks, Jim
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>>
>> Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.vtk.org/mailman/listinfo/vtkusers
>>
>
>
>
> --
> Unpaid intern in BillsBasement at noware dot com
>



-- 
Unpaid intern in BillsBasement at noware dot com



More information about the vtkusers mailing list