[vtkusers] exporting TIFF and JPEG images : one work the other not

Sébastien MARAUX maraux at ondim.fr
Tue Feb 17 09:28:39 EST 2004


Hello,

 

Here is the issue :

I Read a tiff file  (guessed to be RGBA as it has 4 components ?) with
vtkTiffReader

I clip this image and export it :

If I export the vtkImageData to a tif file : it is OK. With
vtkTIFFWriter

If I do the same with a vtkJPEGwriter, then it produce a black image of
the correct size. What is wrong ?

 

I expect an issue between RGBA and RGB formats, but I don’t really know
how VTK handle it .

 

Sebastien MARAUX

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20040217/69a4365e/attachment.htm>


More information about the vtkusers mailing list