Loading large Grayscale TGA images error

Discussions on GFL SDK, the graphic library for reading and writing graphic files

Moderators: XnTriq, xnview

mr N
Posts: 1
Joined: Mon Mar 02, 2009 5:28 am

Loading large Grayscale TGA images error

Post by mr N »

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)
User avatar
xnview
Author of XnView
Posts: 36291
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Loading large Grayscale TGA images error

Post by xnview »

Ok, i'll fix it. Send me your email by PM to send you the fixed version...
Pierre.