Apache OpenOffice (AOO) Bugzilla – Issue 104502
2-color indexed PNGs are rendered as black-and-white images
Last modified: 2013-08-07 14:38:26 UTC
To reproduce: * Create new document in Writer * Select zoom level "100%" for document view * Select from menu: Insert -> Picture -> From File.. * Choose 2-color, indexed PNG (that is: PNG using palette with two entries) Picture is displayed in black-and-white only. Conditions under which problem occurs: * Indexed PNG with exactly 2-entry palette (Problem was NOT observed in other types of PNG, including more than 2-color indexed ones) * 100% zoom * No scaling applied to picture after inserting (with any scaling everything works normal - this includes scaling caused by enabling borders) * No transparency applied by "Transparency" control on "Picture" Toolbar (any greater tha 0% fixes problem) * No flipping applied * No "Smooth", "Sharpen", "Remove noise", "Aging", "Mosaic" from "Graphic filter" toolbar used. Using any of them makes things work as expected (Note: other filters have no effect on problem). Other observations: * Black-and-white image is exported to PDF
Created attachment 64378 [details] Document showing problem
Created attachment 64379 [details] PNG used for tests
Thank you very much for this detailed analysis! @OD: - happens throughout 2.4 -> current m54 - happens only in Writer - setting SJ on CC
Same problem as issue 60481. *** This issue has been marked as a duplicate of 60481 ***
Closing duplicate.