To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=107823 Issue #|107823 Summary|2-bit and 4-bit paletted PNG images print in grayscale | in headless mode Component|Drawing Version|OOO310m19 Platform|PC URL| OS/Version|Linux Status|UNCONFIRMED Status whiteboard| Keywords| Resolution| Issue type|DEFECT Priority|P3 Subcomponent|printing Assigned to|graphicsneedsconfirm Reported by|asampat
------- Additional comments from [email protected] Tue Dec 22 00:37:35 +0000 2009 ------- I'm running Open Office 3.1 in headless mode on a Fedora 11 system. I noticed that PNG images with a color depth of 2-bit or 4-bit and color type 3 (paletted) print in grayscale instead of color when selecting the 'print to file' option. To be more specific: I have a Java application that connects to a listening instance of OO and issues a 'print to file' request to OO for a .doc file that has embedded 2-bit and 4-bit paletted PNG images. The 2-bit and 4-bit images are outputted as grayscale images in the .ps file. I have narrowed down the problem a little. In psprint/source/printergfx/bitmap_gfx.cxx, the function DrawBitmap() calls GetDepth() and for returned depth values of 2 and 4 it calls DrawPS2GrayImage () which I'm guessing results in the PNG being outputted in grayscale. I'm not sure if the problem lies in the GetDepth() function or in DrawBitmap() itself. Any help in resolving this issue would be appreciated. --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
