You've got to be a bit careful with that. Even though SVG icons are scalable in theory in practice, if you want to do the job properly you need to hand adjust variants for different sizes.
This is what I had to do when I updated the Wine icon set: http://www.airwebreathe.org.uk/wine-icon/
In the end I took inspiration from the "One Canvas Workflow" (described here https://blip.tv/pixel-pusher-screencasts/one-canvas-workflow-1081509), where you put different icons sizes on a single canvas marked up with specially marked up SVG rectangles. Bitmap sub-icons are similarly marked up. We then had a perl-script that automatically parses the SVG, then with imagemagick, icotools and rsvg automatically renders and assembles the ico as part of the build process:
Example SVG: http://source.winehq.org/git/wine.git/blob_plain/HEAD:/dlls/user32/resources... The perl script: http://source.winehq.org/git/wine.git/blob/HEAD:/tools/buildimage
Best Regards Joel
On 13/01/13 17:02, Justin Dearing wrote:
Hello,
I created a 512x512 svg image to serve as the "master" logo and icon for poshrunner. I then use inkscape from the command line to make png renderings at 256,128,64,48,32, and 16 pixel square resolution, and then use FreeImage to create a single ICO file that gets embedded into the final ico. This involves two powershell scripts: https://github.com/zippy1981/AppDomainPoshRunner/blob/master/art/buildart.ps... https://github.com/zippy1981/AppDomainPoshRunner/blob/master/art/buildIcon.p...
It would be nice to simplify this process. Could inkscape add multi resolution ico export support? For the resolution it could be a series of checkboxes for the accepted resolution (btw as of Vista the ICO format supports 256x256). For the scriptable command line version the syntax could look like: inkscape--export-ico=foo.ico--export-ico-resolutions=16,32,48,64,48,128,256foo.svg
Regards,
Justin Dearing
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnmore_123012
Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel