<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2600.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>I would like to write over an image/picture keeping
a 16bits quality and save it</FONT></DIV>
<DIV><FONT face=Arial size=2>Should I use vtkImageCanvasSource2D ?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I metsome difficultys with it :</FONT></DIV>
<DIV><FONT face=Arial size=2>I made 2 tests, one w/o vtkICS2D and one
w/</FONT></DIV>
<DIV><FONT face=Arial size=2>w/o :</FONT></DIV>
<DIV><FONT face=Arial size=2>I read an image, and save it (ex with vtkBMPReader
and vtkBMPWrite</FONT><FONT face=Arial size=2>r)</FONT></DIV>
<DIV><FONT face=Arial size=2>result : OK</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>w/ :</FONT></DIV>
<DIV><FONT face=Arial size=2>I read the image, set extent and source it in
vtkICS2D, and try to write </FONT></DIV>
<DIV><FONT face=Arial size=2>vtkICS2D->GetOutput() with
vtkXXXreader.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>result : could not get data from
input.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Sebastien MARAUX</FONT></DIV></BODY></HTML>