{"name":"@jimp/plugin-dither","version":"0.9.5","description":"Dither an image.","main":"dist/index.js","module":"es/index.js","types":"index.d.ts","scripts":{"build":"npm run build:node:production && npm run build:module","build:watch":"npm run build:node:debug -- -- --watch --verbose","build:debug":"npm run build:node:debug","build:module":"cross-env BABEL_ENV=module babel src -d es --source-maps --config-file ../../babel.config.js","build:node":"babel src -d dist --source-maps --config-file ../../babel.config.js","build:node:debug":"cross-env BABEL_ENV=development npm run build:node","build:node:production":"cross-env BABEL_ENV=production npm run build:node"},"author":"","license":"MIT","dependencies":{"@babel/runtime":"^7.7.2","@jimp/utils":"^0.9.5","core-js":"^3.4.1"},"peerDependencies":{"@jimp/custom":">=0.3.5"},"publishConfig":{"access":"public"},"gitHead":"ecadad6b337ee78e23d683e9560a4182e43d9820","_id":"@jimp/plugin-dither@0.9.5","_nodeVersion":"8.14.1","_npmVersion":"lerna/3.16.4/node@v8.14.1+x64 (linux)","dist":{"integrity":"sha512-Pp1ehm5Hon6LcttRG+d+x1UN1ww00P4cyBnMVRR3NMhIfgc0IjQgojik9ZXax3nVj7XkqXJJh8f5uxC1cvYUnA==","shasum":"9b705a8961239582193123defb950bba6d2a81a3","tarball":"http://registry-npm.ywwl.com/@jimp/plugin-dither/download/@jimp/plugin-dither-0.9.5.tgz","fileCount":10,"unpackedSize":12234,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeXuFACRA9TVsSAnZWagAA0vwP/idO1tGZzXotS5+laiA9\n0ESI9xylbWIlbIhk7lJagEE36EZIzdv777W5gFLlX1oOBy6yU40UXEo83mWE\nsRHLNRBnDN/5ikQVXjHW5aKJOcijBHZPeUxPZE2vnKe3cTi4oxGJhRVn1Wcc\nvCz0jEzqPzYDPtA8kN1+0kN1aZ0uz1v6DeZn1EtaN05AsDZ/jotTf+8LuSxE\n/Ruua+SbTHQg+X7WEY4wthKx0387/2MSSSVthDtaLL9y1rLFA0idldHm89+J\nFFDhX4C4N1YqZXTFavsaJo6mwEpdWzqxI8nkMUcj3vRhQDvelJkfCAWdVhQi\n7+F9+4vez01/f20RWoa2qXN3pk0YVIoQCoeMQmdXwAAtBjRiYWgOdGfMLpQw\n5eGqPqtoDFfcW3Is8RZV19CvwM1ky62fHehaq9lGXrPCLWFdaZqLUjOAoB+e\nJVVJbUL9zMVAieXpbQM+eypfpJ+/u3+xdP3moCiGFyv0jLFuVQZx+JSUCRlN\n2JhCnBgYvDGYiKDz75/0+Rr3l6U/TownfAyLGqw/QMsb9HntbsM/Hg6QUMso\n7F0FtQmoinfb+yrVIIC9aYusfufd4xETOOwPza6oiG0ouF2Sd/tNDkaqkvDD\n136UjCHugeV9t4g294UDbrUT20oL4kWBXJjvVfu7JJQuJzhyjipg0zEpjJxn\ny8K6\r\n=wQWO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFtJqldf+pqVNH4TWrW78QpTDNqnOEfwMbaCpZCwVInDAiEAvrEW/3Tc085QH8ecgttzsuIU0eGZds24fNE7IV3dmiU="}],"size":3627,"noattachment":false,"key":"/@jimp/plugin-dither/-/@jimp/plugin-dither-0.9.5.tgz"},"maintainers":[{"name":"alisowski","email":"lisowski54@gmail.com"},{"name":"oliver.moran","email":"oliver@nth-iteration.ie"}],"_npmUser":{"name":"alisowski","email":"lisowski54@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-dither_0.9.5_1583276352513_0.80972627082628"},"_hasShrinkwrap":false,"readme":"<div align=\"center\">\n  <img width=\"200\" height=\"200\"\n    src=\"https://s3.amazonaws.com/pix.iemoji.com/images/emoji/apple/ios-11/256/crayon.png\">\n  <h1>@jimp/plugin-dither</h1>\n  <p>Apply a dither effect to an image.</p>\n</div>\n\n> Dither - is an intentionally applied form of noise used to randomize quantization error, preventing large-scale patterns such as color banding in images. Dither is routinely used in processing of both digital audio and video data, and is often one of the last stages of mastering audio to a CD.\n\n## Usage\n\nApply a ordered dithering effect\n\n- @param {function(Error, Jimp)} cb (optional) a callback for when complete\n\n```js\nimport jimp from \"jimp\";\n\nasync function main() {\n  const image = await jimp.read(\"test/image.png\");\n\n  image.dither565();\n}\n\nmain();\n```\n","publish_time":1583276352708,"_cnpm_publish_time":1583276352708,"dist-tags":{"canary":"1.1.5--canary.d9590e7.0","latest":"1.6.1"}}