User talk:Ilmari Karonen/Queries/SVG 744x1052px

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Miten voi rajata kuvia?[edit]

Eli Miten Inkscapella voi rajata kuvien kokoa? File:Lappajärvi Islands map.svg esimerkiksi tuossa on ärsyttävät paljon tyhjää ympärillä. --Zunter (talk) 15:36, 11 November 2014 (UTC)[reply]

There's a "Fit Page to Selection" under File > Document Properties that sets the canvas size to the selected area or the content size if no selection.
There was a suggestion on the 2012 Village pump to have a bot automatically do this. It would be nice if somebody programmatically group these into "Margins: BAD/OK/GOOD". Note: This page does not list the landscape (1052x744) default. Dispenser (talk) 18:20, 31 December 2014 (UTC)[reply]
Apparently the command is inkscape --verb=FitCanvasToDrawing --verb=FileSave --verb=FileClose *.svg and --query-all gives the bounding box. Dispenser (talk) 18:35, 31 December 2014 (UTC)[reply]