vm_build_utils.retina_icons : generate osx + ios iconsets from high res images

build icon png files of various sizes in XCode retina icon format

usage: retina_icons.py [-h] [-v] [--get-outputs]
                       [--asset-build-dir ASSET_BUILD_DIR] [--iconset ICONSET]
                       --src SRC [--build-info]
                       [--interpolation {INTER_AREA,INTER_BITS,INTER_BITS2,INTER_CUBIC,INTER_LANCZOS4,INTER_LINEAR,INTER_LINEAR_EXACT,INTER_MAX,INTER_NEAREST,INTER_TAB_SIZE,INTER_TAB_SIZE2}]
                       [--pad-mode {pad,copy}]

Named Arguments

-v, --verbose

more debugging info

Default: False

--get-outputs

print list of output files

Default: False

--asset-build-dir
 path to parnet build xcasset directory
--iconset name of the iconset to generate
--src path to src image
--build-info

just memorize information for incoming icons

Default: False

--interpolation
 

Possible choices: INTER_AREA, INTER_BITS, INTER_BITS2, INTER_CUBIC, INTER_LANCZOS4, INTER_LINEAR, INTER_LINEAR_EXACT, INTER_MAX, INTER_NEAREST, INTER_TAB_SIZE, INTER_TAB_SIZE2

weights to use for resizing

Default: “INTER_AREA”

--pad-mode

Possible choices: pad, copy

border pad mode

Default: “pad”