[Libreoffice-bugs] [Bug 139152] Exporting Image or Drawing to PNG doesn't insert DPI resolution with Skia (previously OpenGL). Working with GDI

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Dec 22 13:13:02 UTC 2020


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

--- Comment #1 from Telesto <telesto at surfxs.nl> ---
Created attachment 168409
  --> https://bugs.documentfoundation.org/attachment.cgi?id=168409&action=edit
Bibisect log

Bisected to:
author  Tomaž Vajngerl <tomaz.vajngerl at collabora.co.uk> 2019-02-15 13:14:32
+0100
committer       Tomaž Vajngerl <quikee at gmail.com>       2019-04-03 11:57:08
+0200
commit  86ea64f216819696cd86d1926aff0a138ace2baf (patch)
tree    db513803abc9dc255d27c0f08cba6d6d0c9ef1d9
parent  994b41a6c69d20637dcb95894c385f5c0102d600 (diff)
Support for native 32bit Bitmap in VCL and SVP (cairo) backend
This adds basic support for 32bit bitmaps for the SVP backend. For 
other backends the support is disabled for now as we need to add it for 
each backend separately and enable support.

When this patch is applied it is possible to a Bitmap with bit count 
32, but currently no input filter uses this with the exception of the 
new PngImageReader(libpng based), which is used only for the icons.

For a general support more things need to be implemented and tested:
- conversion back and fourth between 32-bit and 24-bit + 8bit alpha (or 
other supported pairs) 
- 'raw' export of the bitmap needs to be handeled properly (like in
SVM import/export) so it creates the correct image.
- input filters need to be checked and converted if this is necessary
- look for possible bugs when drawing transparent bitmaps
- check of UNO API

https://cgit.freedesktop.org/libreoffice/core/commit/?id=86ea64f216819696cd86d1926aff0a138ace2baf


-> This is only about lacking dpi. The resolution is a mess too. Should be
somewhere in the close area of the identified commit here

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20201222/4148ae80/attachment.htm>


More information about the Libreoffice-bugs mailing list