Opened 8 years ago

Closed 8 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:
Has a Patch: no 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 8 years ago.
Example of top-to-bottom BMP

Download all attachments as: .zip

Change History (4)

comment:1 Changed 8 years ago by mmu_man

Version: R1/alpha2R1/Development

comment:2 Changed 8 years ago by phoudoin

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

Changed 8 years ago by mmu_man

Attachment: syfy_no_flash.bmp added

Example of top-to-bottom BMP

comment:3 Changed 8 years ago by korli

Resolution: fixed
Status: newclosed

Implemented in hrev41104.

Note: See TracTickets for help on using tickets.