summaryrefslogtreecommitdiff
path: root/modules/bmp/image_loader_bmp.h
AgeCommit message (Collapse)Author
2019-07-17Fix BMP loader to distinguish between compression typesAndrii Doroshenko (Xrayez)
Some of the values in compression enumeration represent uncompressed formats: https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-wmf/4e588f70-bd92-4a6f-b77f-35d0feaf7a57 This allows the loader to proceed with uncompressed formats. Note that loading compressed BMP's is still not supported.
2019-04-23Import 4/1 bit bmp imagesAndrii Doroshenko (Xrayez)
Add some sanity checks according to bmp specification. Read color table and index data within the same scope and then simply extend the color palette. This particular implementation has one limitation: not all 4/1 bit images can be imported as it requires bit unpacking (size dimensions must be a multiple of 8 for 1-bit and 2 (even) for 4-bit images).
2019-04-23Merge pull request #24547 from Shinryuuji/masterHein-Pieter van Braam
Add support for 8bpp bmp files
2019-01-01Update copyright statements to 2019Rémi Verschelde
Happy new year to the wonderful Godot community!
2018-12-23Add support for 8bpp bmp filesShinryuuji
2018-09-12Make core/ includes absolute, remove subfolders from include pathRémi Verschelde
This allows more consistency in the manner we include core headers, where previously there would be a mix of absolute, relative and include path-dependent includes.
2018-04-30BMP moduleSaracen