Skip to content

Fix BMP loader incorrectly interpreting color table size#30634

Merged
akien-mga merged 1 commit into
godotengine:masterfrom
Xrayez:fix-bmp-table-assertion
Jul 17, 2019
Merged

Fix BMP loader incorrectly interpreting color table size#30634
akien-mga merged 1 commit into
godotengine:masterfrom
Xrayez:fix-bmp-table-assertion

Conversation

@Xrayez

@Xrayez Xrayez commented Jul 16, 2019

Copy link
Copy Markdown
Contributor

Color table should exist for images with bit count <= 8. Importing 16-bit
BMP images could also likely have a color table but they're not currently
supported in Godot.

Partly fixes some of the importing issues in #30629, namely icon_from_gimp_24bit.bmp

Color table should exist for images with bit count <= 8. Importing 16-bit
BMP images could also likely have a color table but they're not currently
supported in Godot.
@akien-mga akien-mga added this to the 3.2 milestone Jul 17, 2019
@akien-mga akien-mga merged commit c59c287 into godotengine:master Jul 17, 2019
@akien-mga

Copy link
Copy Markdown
Member

Thanks!

@akien-mga

Copy link
Copy Markdown
Member

Cherry-picked for 3.1.2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants