[gdal-dev] pct2rgb.py: files >4GB

Sven Geggus lists at fuchsschwanzdomain.de
Tue Sep 23 09:39:29 EDT 2008


Hello,

I've got some trouble using pct2rgb.py:

pct2rgb.py <in>.tif <out>.tif
ERROR 6: A 81408 pixels x 58368 lines x 3 bands Byte image would be
larger than 4GB but this is the largest size a TIFF can be.  Creation failed.

Unfortunately the -of switch does not change this:

pct2rgb.py -of hfa <in>.tif <out>.img
ERROR 6: A 81408 pixels x 58368 lines x 3 bands Byte image would be
larger than 4GB but this is the largest size a TIFF can be.  Creation failed.

Any hint on how to convert the file to rgb in another way?

Sven

-- 
"If you don't make lower-resolution mapping data publicly
available, there will be people with their cars and GPS
devices, driving around with their laptops" (Tim Berners-Lee)
/me is giggls at ircnet, http://sven.gegg.us/ on the Web


More information about the gdal-dev mailing list