mirror of
https://github.com/godotengine/godot.git
synced 2024-12-15 10:12:40 +08:00
6484da5721
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). |
||
---|---|---|
.. | ||
config.py | ||
image_loader_bmp.cpp | ||
image_loader_bmp.h | ||
register_types.cpp | ||
register_types.h | ||
SCsub |