https://bugs.freedesktop.org/show_bug.cgi?id=51509

             Bug #: 51509
           Summary: FILEOPEN: Resolution in PNG files is ignored
    Classification: Unclassified
           Product: LibreOffice
           Version: 3.5.4 release
          Platform: x86-64 (AMD64)
        OS/Version: Mac OS X (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
        AssignedTo: [email protected]
        ReportedBy: [email protected]


PNG files can have a resolution in pixels-per-inch in their header, which,
combined with the pixel resolution of the image, results in a specific size (in
centimeres, inches, ...).

LibreOffice appears to open all PNG files as if they were 72 dpi.

Resolution information in JPEG image files is used by LibreOffice.

This bug makes it hard to import several images from the same source, but with
different dimensions at the same scaling, since images larger than the
textwidth are downscaled to the textwidth, and the relative scaling options are
relative to textwidth, and not relative to original image size.

In my case, I have a number of automatically generated images wich contain
rendered text at a constant point size. Currently the only way to import them
so that the text across all images is consistently exactly the same size, is to
use JPEG, which, since the images are black/whilte lineart, is a terrible waste
of memory, and still produces suboptimal results due to JPEG's lossy data
reduction algorithms.

The only way to use PNG is to manually rescale the images after import, which
still does not guarantee consistent scale.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to