[vtkusers] Problem reading in large textures in GeoTIFF format

Elvis Dowson elvis.dowson at mac.com
Thu Nov 6 05:07:20 EST 2008


Hi,
          I've run into a problem where I am unable to use large  
images as textures, using vtk-5.3.x on Mac OS X 10.5.5.

The original texture image is 2.5MB GeoTIFF image. It's image size is  
4506 × 5818 pixels. When I try to load this texture, I get a blank  
screen.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Blank vtk screen.jpg
Type: image/jpeg
Size: 10137 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20081106/be0fbce9/attachment.jpg>
-------------- next part --------------


If I try to resize it, I get a corrupted image on the screen.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: Corrupted image after resize.jpg
Type: image/jpeg
Size: 13544 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20081106/be0fbce9/attachment-0001.jpg>
-------------- next part --------------


If I try to reduce the size of the original texture image by cropping  
it, the texture image gets displayed correctly. The size of the  
reduced texture is 280kb and has a resolution of 554x510 pixels.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Surface topography with cropped GeoTIFF image.jpg
Type: image/jpeg
Size: 24549 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20081106/be0fbce9/attachment-0002.jpg>
-------------- next part --------------


Is there some sort of limitation on the size of the textures that  
vtk-5.3.x can read? How can I fix this?

I've been able to narrow down the problem, but don't have an idea on  
what could be causing this type of behaviour.

Best regards,

Elvis Dowson


More information about the vtkusers mailing list