<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>Thank you David.</span></div><div><br></div><div>But how do i use vtkJPEGReader and vtkXMLImageDataWriter?</div><div><br></div><div>Thank you.</div><div><br></div><div>Best Regards<br><span></span></div><div><span><br></span></div><div><br></div><div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"><div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"><font face="Arial" size="2"><hr size="1"><b><span style="font-weight:bold;">From:</span></b> David Doria <daviddoria@gmail.com><br><b><span style="font-weight: bold;">To:</span></b> Adekunle Adeshina <codedengineer@yahoo.com><br><b><span style="font-weight: bold;">Cc:</span></b> "vtkusers@vtk.org" <vtkusers@vtk.org><br><b><span style="font-weight: bold;">Sent:</span></b> Wednesday, September 21,
2011 3:55 PM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [vtkusers] Converting .jpg image file to .vti image file<br></font><br>On Wed, Sep 21, 2011 at 6:53 PM, Adekunle Adeshina<br><<a ymailto="mailto:codedengineer@yahoo.com" href="mailto:codedengineer@yahoo.com">codedengineer@yahoo.com</a>> wrote:<br>> Hi All,<br>> Please can someone explain to me how to convert my .jpg image file to .vti<br>> image file to be able to use it in my application?<br>> I would be so glad to receive from you very soon.<br>> Many thanks.<br>> Best Regards,<br>> A.M. Adeshina<br><br>Use a vtkJPEGReader to get a vtkImageData from your jpg. Then use a<br>vtkXMLImageDataWriter to write a vti file.<br><br>David<br><br><br></div></div></div></body></html>