[vtkusers] How to read and display a JPEG image

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


Hi,
        I added the Update method as follows, but it still doesnt  
display anything

	// Read 2D image file
	imageReader = vtkJPEGReader::New();
		imageReader->SetFileName("Dubai.A2003285.0655.250m.jpg");
		imageReader->Update();

Best regards,

Elvis Dowson


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


More information about the vtkusers mailing list