Loading large Grayscale TGA images error
Posted: Mon Mar 02, 2009 5:54 am
Hello.
I'm trying to use GFL SDK in my application and encounter some problems.
Application needs to read Grayscale TGA image with the size 1024 to 15456 (or more) pixels, and gflLoadBitmap call returns GFL_ERROR_UNKNOWN_FORMAT.
It turned out that images with the height up to 15000 load succefully, but with the height more than 15000 load fails.
Same sized images in other formats, for example PNG or BMP loaded successfully.
How can I solve this problem?
Sample images can be downloaded from http://rapidshare.com/files/204273969/S ... s.zip.html (10 Mb)
I'm trying to use GFL SDK in my application and encounter some problems.
Application needs to read Grayscale TGA image with the size 1024 to 15456 (or more) pixels, and gflLoadBitmap call returns GFL_ERROR_UNKNOWN_FORMAT.
It turned out that images with the height up to 15000 load succefully, but with the height more than 15000 load fails.
Same sized images in other formats, for example PNG or BMP loaded successfully.
How can I solve this problem?
Sample images can be downloaded from http://rapidshare.com/files/204273969/S ... s.zip.html (10 Mb)