Bug 119682 - Change Draw's image export default format from gif to png
Summary: Change Draw's image export default format from gif to png
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 134333 (view as bug list)
Depends on:
Blocks: Graphics-Export
  Show dependency treegraph
 
Reported: 2018-09-04 07:58 UTC by andreas_k
Modified: 2022-02-11 11:10 UTC (History)
8 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description andreas_k 2018-09-04 07:58:14 UTC
Draw documents are ordinary drawings which mean they consist of shapes. Best file type for shape drawings is .png

LibreOffice Draw use for Export by default .gif which should be changed to .png
Comment 1 Heiko Tietze 2018-09-04 09:57:43 UTC
QA: dup of 41345?
Comment 2 Thomas Lendo 2018-09-04 20:06:10 UTC
Changing title to png as wish instead of gif.

I assume there is no gif feature that would be missed in PNG, therefore I support this idea.
Comment 3 Roman Kuznetsov 2018-09-07 10:40:59 UTC
(In reply to Heiko Tietze from comment #1)
> QA: dup of 41345?

No, that bug 41345 is about wrong result of saving to different image format
Comment 4 Roman Kuznetsov 2018-09-07 10:42:16 UTC
And I agree with Andreas

Status-> NEW
Comment 5 xordevoreaux 2019-07-14 23:45:07 UTC
Concur, this change would be quite useful.
Comment 6 andreas_k 2020-03-04 20:44:29 UTC
so did someone know how can fix this bug?
Comment 7 Roman Kuznetsov 2020-06-27 11:43:48 UTC
*** Bug 134333 has been marked as a duplicate of this bug. ***
Comment 8 Telesto 2020-06-27 14:17:32 UTC
My code reading skills are not great.. some probably a worthless pointer.. 
I would define the default at line 120 to png.. instead of empty.. And check what would happen (try and error)

https://opengrok.libreoffice.org/xref/core/svx/source/core/graphichelper.cxx?r=01786272&fi=GetPreferredExtension#120

Similar to line 83
https://opengrok.libreoffice.org/xref/core/svx/source/core/graphichelper.cxx?r=01786272&fi=GetPreferredExtension#83
Comment 9 andreas_k 2020-06-27 15:44:03 UTC
Nice try but I think also the default resolution should change to something usable like 300 dpi.
Comment 10 Thomas Bertels 2020-06-27 20:39:30 UTC
(In reply to Telesto from comment #8)

Indeed it's better than trying nothing.

Though it should already be set to png on line 69
https://opengrok.libreoffice.org/xref/core/svx/source/core/graphichelper.cxx?r=01786272&fi=GetPreferredExtension#69