[Libreoffice-bugs] [Bug 85761] Exporting jpeg format from DRAW, resolution does not follow options setting
https://bugs.documentfoundation.org/show_bug.cgi?id=85761 --- Comment #6 from Chris Sherlock--- Unless I'm much mistaken, the Graphics class has no way of getting either the physical size of the graphics image in mm/inches, or alternatively has no way of returning the pixels per inch from which you could extrapolate the physical size... http://opengrok.libreoffice.org/xref/core/include/vcl/graph.hxx#109 This seems like a bit of a shortcoming in this class? Is that something we should consider adding? -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 85761] Exporting jpeg format from DRAW, resolution does not follow options setting
https://bugs.documentfoundation.org/show_bug.cgi?id=85761 --- Comment #7 from Chris Sherlock--- OK, about to submit a proposed patch to gerrit. -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 85761] Exporting jpeg format from DRAW, resolution does not follow options setting
https://bugs.documentfoundation.org/show_bug.cgi?id=85761 --- Comment #8 from Chris Sherlock--- Asking for a review on Gerrit: https://gerrit.libreoffice.org/22339 -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 85761] Exporting jpeg format from DRAW, resolution does not follow options setting
https://bugs.documentfoundation.org/show_bug.cgi?id=85761 Chris Sherlockchanged: What|Removed |Added Assignee|libreoffice-b...@lists.free |chris.sherloc...@gmail.com |desktop.org | -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 85761] Exporting jpeg format from DRAW, resolution does not follow options setting
https://bugs.documentfoundation.org/show_bug.cgi?id=85761 --- Comment #5 from MM--- (In reply to Regina Henschel from comment #2) > But when you look at the stored dpi, as reported by a picture viewer like > IrfanView, then you can see the value 96 dpi. The effect is, that other > application will calculate a wrong width for this image. You can correct the > value to 300 dpi in IrfanView and all is OK. > Well, that might seems to be a result of the patch from bug 65695. Instead of taking the dpi from the resolution setting (which is 96 by default anyway [correct my if i'm wrong]), it seems hardcoded to 96. --> tdf#65695 write density 96 DPI to JPEG files at compression https://cgit.freedesktop.org/libreoffice/core/commit/?id=d0d8e0a2a7244814f783f16c6c8b342fe6d16e79 -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 85761] Exporting jpeg format from DRAW, resolution does not follow options setting
https://bugs.documentfoundation.org/show_bug.cgi?id=85761 Regina Henschelchanged: What|Removed |Added CC||yanp...@gmail.com --- Comment #4 from Regina Henschel --- *** Bug 97481 has been marked as a duplicate of this bug. *** -- 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
[Libreoffice-bugs] [Bug 85761] Exporting jpeg format from DRAW, resolution does not follow options setting
https://bugs.documentfoundation.org/show_bug.cgi?id=85761 Regina Henschelchanged: What|Removed |Added Status|RESOLVED|NEW CC||rb.hensc...@t-online.de Resolution|DUPLICATE |--- Ever confirmed|0 |1 --- Comment #2 from Regina Henschel --- It is not duplicate to bug 37678. Bug 37678 is about the behavior of the fields in the dialog. To reproduce this bug do this: Open the attached file. It has 10cm width and 14cm height. File > Export Select file type jpeg. In the export dialog make the following settings in this order: Set Quality to 100 Set Resolution to 300 pixel/inch Set width to 10cm. Save This setting should result (besides rounding errors) in width: (10 / 2.54) * 300 = 1181 Pixel height: (14 / 2.54) * 300 = 1654 Pixel Indeed, the exported image has the size (w x h): 1183 x 1656. But when you look at the stored dpi, as reported by a picture viewer like IrfanView, then you can see the value 96 dpi. The effect is, that other application will calculate a wrong width for this image. You can correct the value to 300 dpi in IrfanView and all is OK. LO 4.2 had not written any dpi into the file, so there it was wrong too. Expected behavior: The resolution, which was used for generating the pixels for export, should be written into the file. Jpeg allows such information. BTW: The export to png does not have this problem, in png-export the dpi value is correctly written. -- 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
[Libreoffice-bugs] [Bug 85761] Exporting jpeg format from DRAW, resolution does not follow options setting
https://bugs.documentfoundation.org/show_bug.cgi?id=85761 --- Comment #3 from Regina Henschel--- Created attachment 121172 --> https://bugs.documentfoundation.org/attachment.cgi?id=121172=edit File to be exported -- 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
[Libreoffice-bugs] [Bug 85761] Exporting jpeg format from DRAW, resolution does not follow options setting
https://bugs.freedesktop.org/show_bug.cgi?id=85761 Beluga todven...@suomi24.fi changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC||todven...@suomi24.fi Resolution|--- |DUPLICATE --- Comment #1 from Beluga todven...@suomi24.fi --- *** This bug has been marked as a duplicate of bug 37678 *** -- 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