Bug 75285 - "1-bit colormap" images print as solid black boxes
Summary: "1-bit colormap" images print as solid black boxes
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Printing and PDF export (show other bugs)
Version: 4.1.5.3 release
Hardware: Other All
: medium normal
Assignee: Not Assigned
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-20 22:40 UTC by iveand
Modified: 2014-06-18 18:55 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
1-bit colormap image: looks fine but prints as "black box" (30.33 KB, application/vnd.oasis.opendocument.text)
2014-02-20 22:40 UTC, iveand
Details

Description iveand 2014-02-20 22:40:28 UTC
Created attachment 94462 [details]
1-bit colormap image: looks fine but prints as "black box"

LibreOffice 4.1.5.3 Ubuntu 12.04 64 bit (will attempt to test on 4.2.x shortly).  Sorry I can't confirm what version the bug would have come in.

See attachment, and attempt to print it!  For me, the image shows fine in the document, and it shows fine in the "print preview".  However, when printed to paper, it is a solid black box with distortion on the top 10% of the black box (sort of gray garbled stuff).

The image itself (you can extract from the .odt) is a .png image that gives these properties doing "file filename.png" in a terminal:

PNG image data, 1029 x 479, 1-bit colormap, non-interlaced

If I EXPORT test-tomatoes.odt to .pdf, it will print fine.  Also, the image itself will print fine from an image viewer program.  It is only within LibreOffice (same image tried in LibreOffice Writer and LibreOffice Draw) that the image will print as this "black box".

Somehow, I am guessing LibreOffice is not able to handle such "1-bit images" but this is a valuable format for black and white printing!
Comment 1 iveand 2014-02-20 22:46:25 UTC
Sorry, the attachment thinks it is "plain text" but I can't attempt to specify .odt as the attachment type?  Any advice welcomed.  It should be a standard .odt file.
Comment 2 iveand 2014-02-20 22:55:34 UTC
I have placed it in google drive as well so you can download it from there until I sort out how to properly have it attached here:

https://drive.google.com/file/d/0B0WVXg1DL6ducEZqRGJCd2hmNHc
Comment 3 iveand 2014-02-21 17:50:49 UTC
Thanks for the help in redefining the document type to "odt" in the attachment.

I have heard from another colleage this issue does not appear for them, either with Linux or Windows LO.  I will need to do further testing, but possibly it is an issue with my printer driver (again, however, the "black box" only appears if I print from LibreOffice: printing from PDF viewer or image viewer print fine).  I will attempt to report back here if that is the case.
Comment 4 Joel Madero 2014-05-19 14:58:08 UTC
Ubuntu 14.04 x64
LibreOffice 4.2.4.2 release

I am unable to reproduce this. Marking this as WFM. If you are still able to reproduce with 4.2.4.2 release please mark the bug as UNCONFIRMED once again. 

Just a heads up - I printed to file instead of print to printer (should be no difference).


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.