Extension for exporting iOS assets

Post questions on how to use or achieve an effect in Inkscape.
Ebunny
Posts: 5
Joined: Wed Jan 08, 2014 2:07 am

Extension for exporting iOS assets

Postby Ebunny » Fri Nov 13, 2015 7:33 am

When developing for iOS, for pixel perfect graphics the best practice is to export a particular asset (say an icon for a button) in three resolutions: 1x, @2x, and @3x. The @2x (for example) becomes a suffix... if you are exporting a 1x icon called playButton.png (50x50), you also need to export the same graphic at 100x100 ([email protected]) and at 150x150 ([email protected]).

I've noticed the tool Sketch lets you generate the 2x and 3x export files automatically. I'm wondering if there is an extension or script that will do this in Inkscape? (Maybe it is time for me to learn to code inkscape scripts). Confounding things a little, I prefer to draw all my assets for a project in a single file, and then exporting selected objects from that file.

Moini
Posts: 3381
Joined: Mon Oct 05, 2015 10:44 am

Re: Extension for exporting iOS assets

Postby Moini » Fri Nov 13, 2015 8:37 am

Here's something similar, it should be easy to adapt: https://github.com/ChristianBecker/inks ... oid-export
Something doesn't work? - Keeping an eye on the status bar can save you a lot of time!

Inkscape FAQ - Learning Resources - Website with tutorials (German and English)


Return to “Help with using Inkscape”