Opened 13 years ago

Closed 13 years ago

#7342 closed bug (fixed)

BMP translator flips some bitmaps when it shouldn't.

Reported by: mmu_man Owned by: nobody
Priority: normal Milestone: R1
Component: Add-Ons/Translators/BMP Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

Our BMP translator assumes all BMP data are bottom-to-top, but actually it's possible to have the data top-to-bottom, in which case the height field is negative. The comments in the code already includes a TODO about it.

Attachments (1)

syfy_no_flash.bmp (109.6 KB ) - added by mmu_man 13 years ago.
Example of top-to-bottom BMP

Download all attachments as: .zip

Change History (4)

comment:1 by mmu_man, 13 years ago

Version: R1/alpha2R1/Development

comment:2 by phoudoin, 13 years ago

Could someone attach such top-to-bottom BMP file, to ease developing and testing support for this data layout?

by mmu_man, 13 years ago

Attachment: syfy_no_flash.bmp added

Example of top-to-bottom BMP

comment:3 by korli, 13 years ago

Resolution: fixed
Status: newclosed

Implemented in hrev41104.

Note: See TracTickets for help on using tickets.