retinize

1.0.2 • Public • Published

#retinize retinize.js utilizing gm to automate down-scaling of images to target lower resolution or non-retina browsers. Accepts @4x and @2x resolutions, outputting to @2x, and @1x.

#Prerequisites

  • Works in Node 0.12+.
  • Requires GraphicsMagick for Node. Please go there for installation directions and relevant questions.

#Install

  1. Install GraphicsMagick for Node (follow instructions).
  2. Install retinize npm install --save-dev retinize
  3. Modify your package.json, regisiter task retinize.

"scripts": { "retinize": "node node_modules/retinize/retinize.js `pwd`" }

#Usage npm run retinize

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.2
    3
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.2
    3
  • 1.0.1
    1
  • 1.0.0
    1

Package Sidebar

Install

npm i retinize

Weekly Downloads

2

Version

1.0.2

License

ISC

Last publish

Collaborators

  • annali