Add script that exports rentina versions of the maki icons. #33

Closed
wants to merge 7 commits into
from

Conversation

Projects
None yet
3 participants
Owner

willwhite commented Jul 9, 2012

This script exports two additional sizes 36x36 and 48x48 for use on retina displays. The renders are not committed to the main package for now.

scripts/build-retina.sh
+ inkscape --without-gui -f src/maki-icons.svg --export-id=$object-12 -e=renders/$object-18.png -w 18 -h 18
+ inkscape --without-gui -f src/maki-icons.svg --export-id=$object-12 -e=renders/$object-24.png -w 24 -h 24
+ inkscape --without-gui -f src/maki-icons.svg --export-id=$object-12 -e=renders/$object-36.png -w 36 -h 36
+ inkscape --without-gui -f src/maki-icons.svg --export-id=$object-12 -e=renders/$object-48.png -w 48 -h 48
@yhahn

yhahn Jul 9, 2012

Member

Hrm, wouldn't you want to use the higher sizes where possible, e.g.?

$object-12 => 12 12
$object-18 => 18 18
$object-24 => 24 24
$object-24 => 36 36 # this may be sharper with 18 => 36 36 as the hinting may be tighter with 2x scaling than 1.5
$object-24 => 48 48
@willwhite

willwhite Jul 9, 2012

Owner

Oops copy and paste fail.

Member

ajashton commented Jul 10, 2013

The new process for individual SVGs handles retina exports.

@ajashton ajashton closed this Jul 10, 2013

@samanpwbb samanpwbb deleted the retina-builder branch Mar 9, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment