summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* cope with bmp headers close to UINT32_MAXVincent Sanders2016-08-221-8/+18
|
* Decode: Account for row padding at end of row, rather than start.Michael Drake2016-08-221-12/+12
|
* deal with unrepresentable negative heights in bitmap info headerVincent Sanders2016-08-221-1/+5
|
* ensure icon mask decode sets transparancy correctlyVincent Sanders2016-08-191-12/+10
|
* allow 32bpp icon to use their alpha channel for opacityVincent Sanders2016-08-191-0/+7
| | | | modified patch from François Revol
* separate 24bpp decoder from 32bppVincent Sanders2016-08-191-17/+110
|
* do not stop bitmap decode on first out of range colour table indexVincent Sanders2016-08-151-5/+8
| | | | | | | This changes behaviour to ignore image indices outside the range of entries in the colour table. This allows a greater number of "real world" bitmaps to be decoded which often have such bad palette references within them.
* Split RLE decoding into two separate less complex routinesVincent Sanders2016-08-151-93/+224
|
* make sign of comparison explicitVincent Sanders2016-08-141-1/+1
| | | | | The size being computed cannot be negative so simply cast the result to unsigned value for the sake of comparison which resolves the warning.
* source code cleanup and reformat no functional changesVincent Sanders2016-08-141-949/+949
|
* cope with palette bitmaps that have a bad offsetVincent Sanders2016-08-141-0/+10
| | | | | | some palette bitmaps have a image data offset that does not account for the palette data. This works round the issue by skipping the palette data in such bitmaps to get a correct image.
* futher fixes to RLE decoding to cope with top down decodingVincent Sanders2016-08-141-4/+21
|
* fix bounds checking in RLE decodeVincent Sanders2016-08-131-5/+10
|
* move library usage documentation into a README fileVincent Sanders2016-08-112-58/+62
|
* Range check colour table accesses.John-Mark Bell2015-11-201-5/+26
| | | | Issue-reported-by: Hans Jerry Illikainen
* Fix pixels_left calculation in RLE decoding.John-Mark Bell2015-11-201-5/+6
| | | | | | | Additionally, improve input data range check for RLE4 absolute mode. Issue-reported-by: Hans Jerry Illikainen
* Trivial spelling fixJohn-Mark Bell2015-11-201-1/+1
|
* We don't need read_int8 right nowDaniel Silverstone2014-08-291-0/+2
|
* Remove suspend/invalidate stuff.Michael Drake2012-10-141-18/+0
|
* Update to new NSBUILD infrastructureDaniel Silverstone2012-06-291-1/+1
| | | | svn path=/trunk/libnsbmp/; revision=14008
* Squash warning about comparison between signed and unsigned values.Michael Drake2010-12-171-1/+3
| | | | svn path=/trunk/libnsbmp/; revision=11084
* Fix bug #3128147: range check bitmap data size and header offset in .ico ↵John Mark Bell2010-12-161-0/+11
| | | | | | handling svn path=/trunk/libnsbmp/; revision=11072
* Fix ICO decoding on big-endian platforms.Chris Young2009-12-191-1/+4
| | | | svn path=/trunk/libnsbmp/; revision=9741
* "Improve" broken-looking inverse height calculation. This probably regresses ↵John Mark Bell2009-05-271-2/+1
| | | | | | something but someone needs to create a testsuite to determine that. svn path=/trunk/libnsbmp/; revision=7586
* Fix palette endianness of 16bpp and higher BMPs.Chris Young2009-04-191-0/+4
| | | | | | | All BMP test suite images now display correctly on PowerPC (AmigaOS 4) except g04rle.bmp which is crashing in bmp_decode_rle() svn path=/trunk/libnsbmp/; revision=7135
* Fix palette endiannessChris Young2009-04-191-0/+1
| | | | svn path=/trunk/libnsbmp/; revision=7134
* Fix warningsJohn Mark Bell2009-03-291-12/+12
| | | | svn path=/trunk/libnsbmp/; revision=6982
* First cut at a port to the new buildsystemJohn Mark Bell2009-03-293-0/+1157
svn path=/trunk/libnsbmp/; revision=6981