[Libreoffice-bugs] [Bug 113918] 1bpp non-B&W PNG images are mishandled on Linux in all vcl " backends" ("plugins")

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sat Nov 18 17:08:59 UTC 2017


https://bugs.documentfoundation.org/show_bug.cgi?id=113918

--- Comment #4 from Tor Lillqvist <tml at iki.fi> ---
I spent a day trying to understand what goes wrong. Added tons of debugging
printouts to the relevant places in VCL. No cigar. I think it will be much
easier to just add a workaround: When loading this kind of PNG images into LO,
convert them into normal 24bpp non-palettized ones... (with each pixel then
being either of the two in the original image's palette).

LO is not some image manipulation software that would need to be able store any
esoteric "mode" image exactly internally. This kind of PNG images are
presumably fairly rare. And anyway, in this day, images with higher colour
depth than 8 bits, or even "HDR" images, are gaining in importance and use, and
LO doesn't handle such either. Converting to a normal full-colour image will
take more space, sure, but that is outweighed by the benefit of fixing the
problem.

-- 
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/20171118/f5e29904/attachment.html>


More information about the Libreoffice-bugs mailing list