Adding JPEG output image file support to VTK

Will Schroeder will.schroeder at kitware.com
Tue May 16 04:18:54 EDT 2000


Hi Joris -

This was done just a few weeks back. Look at the file vtkSystemIncludes.h. You have to set -D VTK_USE_ANSI_STDLIB and fiddle with compiler flags to make it work. You'll have to build with the nighly release.

Will

At 11:28 AM 5/14/00 +0200, kitware-vtk at kulnet.kuleuven.ac.be wrote:
>---  Forwarded by news2mail for "Joris Vanden Wyngaerd" <joris.vandenwyngaerd at esat.kuleuven.ac.be> ---
>
>I once tried to add support not only for jpeg I/O but for all kinds of
>formats by interfacing with ImageMagick. I concluded that vtk and
>imagemagick are impossible to combine because of conflicting libraries
>(iostream.h vs iostream (stl)). I do not expect that the image I/O
>capabilities of Imagemagick will become available in vtk soon, so I would
>like to have the possibility to interface them.
>
>Could this be done with something like this ?
>#ifdef VTK-USE_STL
>#include <iostream>
>#else
>#include <iostream.h>
>
>with this, a filter like vtkMagickReader (and writer) could be created (as
>contrib maybe, not necessarily in the vtk core) wich could read a lot of
>formats based on the file name extension.
>
>Joris

--------------------------------------------------------------------
This is the private VTK discussion list. Please keep messages on-topic.
Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at public.kitware.com>. For help, send message body containing
"info vtkusers" to the same address.
--------------------------------------------------------------------



More information about the vtkusers mailing list