[Libreoffice-bugs] [Bug 116439] New: OS/2 multi-image bitmap does not display correctly
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Fri Mar 16 20:33:58 UTC 2018
https://bugs.documentfoundation.org/show_bug.cgi?id=116439
Bug ID: 116439
Summary: OS/2 multi-image bitmap does not display correctly
Product: LibreOffice
Version: 3.3.0 release
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: graphics stack
Assignee: libreoffice-bugs at lists.freedesktop.org
Reporter: chris.sherlock79 at gmail.com
Description:
An OS/2 bitmap that uses a BitmapArray (multiple bitmaps) does not display
correctly.
Steps to Reproduce:
1. Open Draw
2. Click on Insert -> Image
3. Choose "marbles.bmp"
Actual Results:
marbles.bmp does not display correctly.
Expected Results:
marbles.bmp should show the best image, but instead it looks like a "cropped
image", I suspect because it has picked the wrong image.
Reproducible: Always
User Profile Reset: No
Additional Info:
marbles.bmp is the standard test image used for BA type OS/2 bitmaps. Currently
we detect that the magic number of the bitmap is "BA" (0x4142), but then we
don't seem to actually go through each bitmap image to find the correct one.
Further info on OS/2 bitmap formats can be found here:
http://www.fileformat.info/format/os2bmp/egff.htm
The spot where we read in and handle the BA magic number is here:
https://opengrok.libreoffice.org/xref/core/vcl/source/gdi/dibtools.cxx#1061
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/537.36
(KHTML, like Gecko) Chrome/64.0.3282.186 Safari/537.36
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20180316/275fcf60/attachment.html>
More information about the Libreoffice-bugs
mailing list