GPSBabel / gpsbabel

GPSBabel: convert, manipulate, and transfer data from GPS programs or GPS receivers. Open Source and supported on MacOS, Windows, Linux, and more. Pointy clicky GUI or a command line version...
https://www.gpsbabel.org
GNU General Public License v2.0
452 stars 125 forks source link

erroneous garmin gpi warning when writing with a 24 or 32 bits per pixel bitmap #1242

Closed tsteven4 closed 7 months ago

tsteven4 commented 7 months ago

When using the bitmap option with a bitmap that don't use a color table (e.g. 24 or 32 bits per pixel) an inappropriate warning may be output such as garmin_gpi: Code error in load_bitmap_from_file, expected output size 1060, actual output -28.

The warning is only valid for bitmaps that use color tables (e.g. 8 bits per pixel).

tsteven4 commented 7 months ago

fixed in #1243