{
  "name": "grunt-contrib-imagemin",
  "description": "Minify PNG and JPEG images",
  "version": "0.2.0",
  "homepage": "https://github.com/gruntjs/grunt-contrib-imagemin",
  "author": {
    "name": "Grunt Team",
    "url": "http://gruntjs.com/"
  },
  "repository": {
    "type": "git",
    "url": "git://github.com/gruntjs/grunt-contrib-imagemin.git"
  },
  "bugs": {
    "url": "https://github.com/gruntjs/grunt-contrib-imagemin/issues"
  },
  "licenses": [
    {
      "type": "MIT",
      "url": "https://github.com/gruntjs/grunt-contrib-imagemin/blob/master/LICENSE-MIT"
    }
  ],
  "main": "Gruntfile.js",
  "engines": {
    "node": ">=0.8.0"
  },
  "scripts": {
    "test": "grunt test"
  },
  "dependencies": {
    "filesize": "~1.10.0",
    "jpegtran-bin": "~0.1.0",
    "optipng-bin": "~0.2.0",
    "gifsicle": "~0.1.0",
    "pngquant-bin": "~0.1.0",
    "chalk": "~0.2.0"
  },
  "devDependencies": {
    "grunt-contrib-internal": "~0.4.3",
    "grunt-contrib-clean": "~0.5.0",
    "grunt-contrib-jshint": "~0.6.2",
    "grunt-contrib-nodeunit": "~0.2.0",
    "grunt": "~0.4.0"
  },
  "peerDependencies": {
    "grunt": "~0.4.0"
  },
  "keywords": [
    "gruntplugin",
    "image",
    "img",
    "minify",
    "compress",
    "png",
    "jpg",
    "jpeg"
  ],
  "files": [
    "tasks/imagemin.js"
  ],
  "readme": "# grunt-contrib-imagemin [![Build Status](https://secure.travis-ci.org/gruntjs/grunt-contrib-imagemin.png?branch=master)](http://travis-ci.org/gruntjs/grunt-contrib-imagemin)\n\n> Minify PNG and JPEG images\n\n\n\n## Getting Started\nThis plugin requires Grunt `~0.4.0`\n\nIf you haven't used [Grunt](http://gruntjs.com/) before, be sure to check out the [Getting Started](http://gruntjs.com/getting-started) guide, as it explains how to create a [Gruntfile](http://gruntjs.com/sample-gruntfile) as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:\n\n```shell\nnpm install grunt-contrib-imagemin --save-dev\n```\n\nOnce the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:\n\n```js\ngrunt.loadNpmTasks('grunt-contrib-imagemin');\n```\n\n\n\n\n## Imagemin task\n_Run this task with the `grunt imagemin` command._\n\nTask targets, files and options may be specified according to the grunt [Configuring tasks](http://gruntjs.com/configuring-tasks) guide.\n\nMinify images using [OptiPNG](http://optipng.sourceforge.net) and [jpegtran](http://jpegclub.org/jpegtran/).\n### Options\n\n#### optimizationLevel *(png only)*\n\nType: `Number`  \nDefault: `0`\n\nSelect optimization level between `0` and `7`.\n\n> The optimization level 0 enables a set of optimization operations that require minimal effort. There will be no changes to image attributes like bit depth or color type, and no recompression of existing IDAT datastreams. The optimization level 1 enables a single IDAT compression trial. The trial chosen is what. OptiPNG thinks it’s probably the most effective. The optimization levels 2 and higher enable multiple IDAT compression trials; the higher the level, the more trials.\n\nLevel and trials:\n\n1. 1 trial\n2. 8 trials\n3. 16 trials\n4. 24 trials\n5. 48 trials\n6. 120 trials\n7. 240 trials\n\n\n#### progressive *(jpg only)*\n\nType: `Boolean`  \nDefault: `false`\n\nLossless conversion to progressive.\n\n#### Example config\n\n```javascript\ngrunt.initConfig({\n  imagemin: {                          // Task\n    dist: {                            // Target\n      options: {                       // Target options\n        optimizationLevel: 3\n      },\n      files: {                         // Dictionary of files\n        'dist/img.png': 'src/img.png', // 'destination': 'source'\n        'dist/img.jpg': 'src/img.jpg'\n      }\n    },\n    dev: {                             // Another target\n      options: {                       // Target options\n        optimizationLevel: 0\n      },\n      files: {\n        'dev/img.png': 'src/img.png',\n        'dev/img.jpg': 'src/img.jpg'\n      }\n    }\n  }\n});\n\ngrunt.registerTask('default', ['imagemin']);\n```\n\n\n## Release History\n\n * 2013-04-10   v0.1.4   Fix exception when running in verbose mode.\n * 2013-04-05   v0.1.3   Fix OptiPNG not being able to overwrite file. Allow overwriting src when dest/src is the same. Limit to 10 concurrent optimizations.\n * 2013-02-22   v0.1.2   Fix OptiPNG not working on some systems. Prevent OptiPNG from producing .bak files.\n * 2013-02-15   v0.1.1   First official release for Grunt 0.4.0.\n * 2013-01-30   v0.1.1rc8   Fix task not creating destination folders\n * 2013-01-30   v0.1.1rc7   Updating to work with grunt v0.4.0rc7. Switching to this.files api.\n * 2012-11-01   v0.1.0   Initial release.\n\n---\n\nTask submitted by [Sindre Sorhus](http://github.com/sindresorhus)\n\n*This file was generated on Wed Apr 10 2013 20:04:49.*\n",
  "readmeFilename": "README.md",
  "_id": "grunt-contrib-imagemin@0.2.0",
  "dist": {
    "shasum": "89755a54ca4be79a3b29c4d54bb270473f5eb26e"
  },
  "_from": "grunt-contrib-imagemin@~0.2.0",
  "_resolved": "https://registry.npmjs.org/grunt-contrib-imagemin/-/grunt-contrib-imagemin-0.2.0.tgz"
}
