{"_id":"pulverizr","_rev":"8-d66b546187fd6620061fdc49ec0cf56b","name":"pulverizr","description":"Smash your images down to size.","dist-tags":{"latest":"0.7.0"},"versions":{"0.7.0":{"name":"pulverizr","description":"Smash your images down to size.","version":"0.7.0","author":{"name":"Ben Truyman","email":"bentruyman@gmail.com","url":"http://bentruyman.com/"},"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"http://balupton.com/"}],"repository":{"type":"git","url":"http://github.com/bentruyman/pulverizr"},"dependencies":{"coloured-log":">= 0.9.7","commander":">= 0.6.0","q":">= 0.8.5","temp":">= 0.4.0"},"keywords":["image","compressor","compression"],"directories":{"lib":"./lib"},"bin":{"pulverize":"./cli.js"},"main":"pulverizr","engines":{"node":">= 0.6.0"},"preferGlobal":true,"licenses":[{"type":"BSD","url":"http://github.com/bentruyman/pulverizr/raw/master/LICENSE"}],"_id":"pulverizr@0.7.0","dist":{"shasum":"83465cffe6b2d0edf62ca52ed79de2213d19b2a9","tarball":"https://registry.npmjs.org/pulverizr/-/pulverizr-0.7.0.tgz","integrity":"sha512-mzviuxtLbRW1fDHUBccQoLvahrhVIsgaqCf7LKQAv2IfDhzw7Ip1ygNat/Ui55V9j9aTcV2p2l7HZJ/+OY7EEQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDTiL7XNkR3dsDWhdzfcwSeFVOSd1qTe2hBrtZUHWXSQwIhAJm+DMpMyAI1HFtVuacquzQOJsqEhW5LGfC3jh1sMb/0"}]},"_from":".","_npmVersion":"1.2.15","_npmUser":{"name":"bentruyman","email":"bentruyman@gmail.com"},"maintainers":[{"name":"bentruyman","email":"bentruyman@gmail.com"}]}},"readme":"# Pulverizr\n\nPulverizr will smash your images down to size. It uses a number of free, and\noften times open source, programs to optimize and compress image files while\nstill retaining their original appearance.\n\nWhile modern image editor's, like Photoshop's, compressors do a decent job at\ncutting the extra fat around images, they sometimes leave behind extras you\nprobably don't want or need. For example, EXIF data in JPEGs, color-correction\ndata in PNGs and redundant frames in GIFs.\n\nPulverizr uses a handful of compressors to perform a number of lossless\ncompression routines to squeeze every last bit out of your images (see\n**Dependencies**). Note this software isn't 100% stable yet. You may notice\ndifferences in images that may contain certain color profiles that can be\nstripped out by the compressors. Any strangeness you see, [please report\nit](http://github.com/bentruyman/pulverizr/issues)!\n\nPulverizr is completely written in JavaScript intended to run in a\n[NodeJS](http://nodejs.org/) environment. This means any idiot front-end\ndeveloper such as myself can pick up the code and easily understand what's\ngoing on. Also, any normal developer could also pick it up and fix all the\nmistakes I made.\n\n## Dependencies\n\nIf you're on Ubuntu, almost all of these dependencies can be retrieved using\n**apt**. Although Pulverizr works best with all its dependencies, it will\ngracefully fail when it doesn't find a compressor it's looking for.\n\nThe compressors Pulverizr uses are admittedly a bit obscure and sometimes\ndifficult to install on all platforms.\n\n* [gifsicle](http://www.lcdf.org/gifsicle/) 1.58+\n* [libjpeg](http://www.ijg.org/) (or **libjpeg-progs** if you're using\n  **apt**)\n* [optipng](http://optipng.sourceforge.net/) 0.6.3+\n* [pngcrush](http://pmt.sourceforge.net/pngcrush/) 1.7.0+\n\n### On Mac OSX\n\nIf you're using [homebrew](http://mxcl.github.com/homebrew/), install the\nfollowing packages:\n\n    brew install gifsicle libjpeg optipng pngcrush\n\n### On Ubuntu\n\nTo install the dependencies on Ubuntu:\n\n    apt-get install gifsicle libjpeg-progs optipng pngcrush\n\n### On Windows\n\nGood luck to you, fine sir.\n\n## Installation\n\n    npm install -g pulverizr\n\n## Usage\n\n**Note: Be sure to test before you overwrite your images by using `--dry-run`**\n\nUsage: pulverize [options] <file...>\n\n    Options:\n\n      -h, --help        output usage information\n      -V, --version     output the version number\n      -a, --aggressive  Uses more aggressive compression algorithms (takes longer, works better)\n      --dry-run         Print summary but don't actually modify files\n      -q, --quiet       Pulverizer will not report\n      -R, --recursive   Recurse through directories\n      -v, --verbose     Verbose mode\n\n### Single File\n\n    pulverize image.png\n    \n### Single Directory\n\n    pulverize /var/www/mysite.com/images/products/backgrounds\n\n### Multiple Files\n\n    pulverize foo.png bar.png baz.png qux.png\n\n### Recursive Directory\n\n    pulverize -R -- /var/www/mysite.com/images\n\n### Aggressive Recursive Directory\n\n    pulverize -aR -- /var/www/mysite.com/images\n\n## Special Thanks\n\nSee **Dependencies**, and [Smush.it](http://smush.it)\n\n## License\n\nCopyright (c) 2010, Benjamin Truyman\nAll rights reserved.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are met:\n\n * Redistributions of source code must retain the above copyright\n   notice, this list of conditions and the following disclaimer.\n * Redistributions in binary form must reproduce the above copyright\n   notice, this list of conditions and the following disclaimer in the\n   documentation and/or other materials provided with the distribution.\n * Neither the name of the owner nor the names of its contributors may be\n   used to endorse or promote products derived from this software without\n   specific prior written permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND\nANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\nWARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\nDISCLAIMED. IN NO EVENT SHALL BENJAMIN TRUYMAN BE LIABLE FOR ANY\nDIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\nLOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\nON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\nSOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n","maintainers":[{"email":"ben@truyman.com","name":"bentruyman"}],"time":{"modified":"2022-06-25T01:00:12.678Z","created":"2013-05-23T04:55:15.748Z","0.7.0":"2013-05-23T04:55:17.388Z"},"author":{"name":"Ben Truyman","email":"bentruyman@gmail.com","url":"http://bentruyman.com/"},"repository":{"type":"git","url":"http://github.com/bentruyman/pulverizr"},"users":{"hou_ve":true,"k.hendriks":true},"keywords":["image","compressor","compression"],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"http://balupton.com/"}],"readmeFilename":"README.md"}