Bug 42719 - WIKI: SVG PNG preview creation broken
Summary: WIKI: SVG PNG preview creation broken
Status: RESOLVED WONTFIX
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: WWW (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: Other All
: high major
Assignee: Not Assigned
URL: https://wiki.documentfoundation.org/F...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-08 10:50 UTC by Rainer Bielefeld Retired
Modified: 2011-12-06 08:40 UTC (History)
3 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 Rainer Bielefeld Retired 2011-11-08 10:50:39 UTC
Currently no PNG previews will be created for SVG pictures. I uploaded a.m. document and <https://wiki.documentfoundation.org/File:BugsNeedingReview.svg>. In both pages no picture will be shown, but message "Fehler beim Erstellen des Vorschaubildes: /var/www/sites/wiki.documentfoundation.org//bin/ulimit4.sh: line 4: convert: command not found".
Comment 1 Florian Effenberger 2011-11-08 14:13:46 UTC
Thanks for the hint! Installed ImageMagick, tried to set wgMaxShellMemory, but then the script grabs all available memory. Can you ping Manuel Schneider <manuel.schneider@wikimedia.ch>, our wiki expert, directly?
Comment 2 Rainer Bielefeld Retired 2011-11-18 06:58:42 UTC
We need some results here, what's the problem?
Comment 3 Christian Lohmaier 2011-12-06 07:38:50 UTC
convert is not able to convert the svg - it just needs too much memory. So there must be something special about this and a few other files.

Looking at them, they have a ridiculously large canvas size. 28000x14000 pixel for example (the LO-qa with the meter-icon). A png of the size of 8meters x 4meters.. No wonder why convert cannot deal with it.

The one mentioned in the initial comment has a canvas/document size of
29700,00 x 21000,00 pixel - those values ars suspicious, as 297mm x 210mm would be the size of A4 paper.

The BugsNeedingReview.svg is ~ 8m x 6m instead of the intended ~30cm x 21cm.

So this one is "wontfix". You will need to recreate the svg with a more suitable canvas size.
Comment 4 Rainer Bielefeld Retired 2011-12-06 08:40:13 UTC
(In reply to comment #3)
> So this one is "wontfix". You will need to recreate the svg with a more
> suitable canvas size.

... what recommends not to use LibO ;-)

May be you can help with "Bug 43060 - DRAW EXPORT results in HUGE SVG Picture Size"? I did not fine anything concerning unit for those dimensions.