Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 1,000,000+ packages pre-installed, including ios-image-modifier with all npm packages installed. Try it out:

var iosImageModifier = require("ios-image-modifier")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

ios-image-modifier v0.0.3

Utilidad para renombrar imágenes para retina display en iOS.

ios-image-modifier

Utilidad para renombrar imágenes para retina display en iOS.

Basádo en las recomendaciones del sitio de Apple Developer App Launch (Default) Images

Example

var iim = require('ios-image-modifier');

var params = {};
params.scale = "@2x";
params.orientation = "-Landscape";
params.device = '~ipad';

iim.rename( '/Users/paulomcnally/Documents/bitbucket/iosProject/Resources/img', params );

Params

orientation:
    -PortraitUpsideDown
    -LandscapeLeft
    -LandscapeRight
    -Portrait
    -Landscape

scale:
    @2x

device:
    ~ipad
    ~iphone
RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free