Menu

#393 teqser encounters errors on large image

open
nobody
None
5
2012-09-20
2009-11-09
Anonymous
No

When using the 21600 x 10800 JPEG image found here: http://visibleearth.nasa.gov/view_detail.php?id=8391 (after being converted to a .tif using irfanview, smaller images using the same conversion settings worked fine) teqser throws up the following error:

  • Coping Image bigvers.tif...
    -- Optimizing Image bigvers.tif...
    Texture bigvers.tif ----> bigvers.tx
    "swrap"= periodic
    "twrap"= periodic
    "filter"= box
    "swidth"= 1.0
    "twidth"= 1.0
    "compression" = none
    WARNING: Cannot handle desired tiff format efficiently: "Unknown photometric typ
    e".
    WARNING: Switching to generic RGBA handling - this may result in some loss of pr
    ecision
    ERROR: std::exception encountered in RiMakeTextureV: bad allocation

Discussion

  • Paul Gregory

    Paul Gregory - 2009-11-09

    Appears to work fine on MacOSX and Linux machines, must be a Windows issue.

     
  • Chris Foster

    Chris Foster - 2009-12-07

    This is very likely because aqsis_tex isn't memory efficient when downsampling: it simply reads the entire image into memory before doing any operations. Fixing this problem is probably a task for after the OIIO texture library integration. (OIIO may even have memory efficient downsampling already in which case we won't need to do anything!)

     

Log in to post a comment.