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

            Bug ID: 93462
           Summary: Lossless compression in ‘Export as PDF’ doesn’t
                    work—PNG images get distorted
           Product: LibreOffice
           Version: 4.4.4.3 release
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Draw
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: presentmeaninv...@gmail.com

Paste a PNG image into drawing via ‘Insert’ → ‘Image’. I’ve used this one:
https://mega.nz/#!4o8mCaAJ!uEioSdvzNAv2cZULRF0IZhnnlRKqQyvVotlB2IzvMkw
Then try to ‘File‘ → ‘Export as PDF…’ and then choose ‘Lossless compression’
under ‘Images’ in the ‘General’ tab. Uncheck ‘Reduce image resolution’ if it’s
set. Open the resulting PDF in the viewer of your choice. Then save the image
to a file. Open the file in GIMP. Go to ‘Image’ → ‘Image properties’, the file
type should be detected as PNG. Check the file size and notice how it changed.
Use a colour picker tool to compare backgrounds—in the image I’ve used the
background colour was #CCDED8 and after export to PDF it became #CFE0DA. This
isn’t what ‘lossless compression’ should do.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to