[vtkusers] is compressed data supported?

Andy Cedilnik andy.cedilnik at kitware.com
Thu Jan 23 11:05:57 EST 2003


Hi All,

I don't think vtkZLibDataCompressor will do exactly what you want. You
can use it to decompress file, but you will somehow have to get that
into whatever reader you need, which is not supported. 

So, if you have let say raw image data, then you can read file, use data
compressor to decompress and create the image data. If you need some
other reader, then you will have to write your own (subclass) and use
gzopen to open file.

				Andy

On Thu, 2003-01-23 at 10:51, Goodwin Lawlor wrote:
> what about vtkZLibDataCompressor 
>         ----- Original Message ----- 
>         From: sbe
>         To: vtkusers at public.kitware.com
>         Sent: Thursday, January 23, 2003 2:22 PM
>         Subject: [vtkusers] is compressed data supported?
>         
>         Hi,
>          
>         Is it possible that we provide a compressed data files to a
>         class that do the open and uncompressed automatically (of
>         course compatible compressed/uncompressed functionnality)?
>          
>         For example, I use vtkImageReader and set a filename that
>         would be compressed, it seems that this class do not support
>         the uncompressed format, but is there another class that does
>         it or do I have to do it myself prior to open the files?





More information about the vtkusers mailing list