[vtkusers] How to read and display a JPEG image

Elvis Dowson elvis.dowson at mac.com
Fri Oct 3 05:43:05 EDT 2008


Hi,
        I found out the reason why, I had to explicitly specify the  
full path to the image file name and it worked.

imageReader->SetFileName("/Users/elvis/Image/sample.jpg");
imageReader->Update();

Best regards,

Elvis Dowson


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20081003/fdf8f7ff/attachment.htm>


More information about the vtkusers mailing list