rob, <br>you can use classes like vtkJPEGReader to read images. Have a look at the following Tcl script:<br><br><a href="http://public.kitware.com/cgi-bin/viewcvs.cgi/*checkout*/Imaging/Testing/Tcl/TestImageCanvas.tcl?root=VTK&content-type=text/plain">
http://public.kitware.com/cgi-bin/viewcvs.cgi/*checkout*/Imaging/Testing/Tcl/TestImageCanvas.tcl?root=VTK&content-type=text/plain</a><br><br>Donīt forget to call the Update() method before using the image.<br><br> Best regards
<br> <br> Luca<br><br><div class="gmail_quote">On Jan 23, 2008 1:19 PM, CLEMENTS, ROBERT <<a href="mailto:rclement@kent.edu">rclement@kent.edu</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>
<br>
<p><font size="2">Is there an easy way to use an image loaded with tcl in vtk. What i want to do is load an image in tcl and then use that image in my vtk pipeline. Is this possible?<br>
<br>
thanks<br>
<br>
rob</font>
</p>
</div>
<br>_______________________________________________<br>This is the private VTK discussion list.<br>Please keep messages on-topic. Check the FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ
</a><br>Follow this link to subscribe/unsubscribe:<br><a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br><br></blockquote></div><br>