[Libreoffice-bugs] [Bug 127234] I can't save result of QR-code generator to PNG with good quality

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Mar 22 15:06:50 UTC 2021


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

--- Comment #15 from Mike Kaganski <mikekaganski at hotmail.com> ---
Additional (or maybe the main) problem is that the bitmap is generated in
getVectorGraphicReplacement, where it has the dimensions defined in the SVG;
and then this bitmap is scaled to the wanted dimensions in
GraphicHelper::ExportGraphic. This is very sub-optimal for a vector image
format like SVG.

Even ImpGraphic::getBitmapEx has the logic to get the replacement, and then
scale it. Odd.

-- 
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/20210322/dd2c30ec/attachment.htm>


More information about the Libreoffice-bugs mailing list