{"_id":"im-decode","_rev":"8-3dc5bfd85e94bb7b9a6fd9596eb8f0a6","name":"im-decode","description":"A node.js library that leverages ImageMagick to turn images into RGBA arrays (Uint8Arrays).","dist-tags":{"latest":"0.1.2"},"versions":{"0.1.0":{"name":"im-decode","version":"0.1.0","description":"A node.js library that leverages ImageMagick to turn images into RGBA arrays (Uint8Arrays).","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/mmaelzer/im-decode"},"keywords":["imagemagick","jpg","jpeg","decode","decoder","rgba"],"author":{"name":"Mike Maelzer","email":"mmaelzer@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/mmaelzer/im-decode/issues"},"homepage":"https://github.com/mmaelzer/im-decode","readme":"im-decode\n=========\n  \nA node.js library that leverages [ImageMagick](http://www.imagemagick.org) to turn images into RGBA arrays (Uint8Arrays).\n  \n  \n## Install\n\n```\nnpm install im-decode\n```  \n  \n`im-decode` requires ImageMagick CLI tools to be installed. There's plenty of ways to install ImageMagick, choose what's right for you.\n\n## Usage\n\n```javascript\nvar decode = require('im-decode');\ndecode(imageBuffer, function(err, rgbaArray) {\n  // do something\n});\n```\n\n### decode(image, [dimensions], callback)\n* image `Buffer`\n* dimensions (optional) `Array` of dimensions in the form [w, h], i.e. [640, 480]\n* callback `Function(Error, Uint8Array)`  \n\nReturns a `Uint8Array` when provided an image as a `Buffer`. Passing in a dimensions `Array` is optional, but will provide a slight speed improvement (~7% speed increase for 640x480 images was seen in testing). The speed improvement is due to the nature of knowing the size of the end result `Buffer` vs continually creating new `Buffers` of ever increasing size. At least that's my assumption without diving into it any deeper.","readmeFilename":"readme.md","_id":"im-decode@0.1.0","dist":{"shasum":"46e22dc5255ca3890e07d476938ac4b19c7956b1","tarball":"https://registry.npmjs.org/im-decode/-/im-decode-0.1.0.tgz","integrity":"sha512-PTj52i+V3C/Kc25xSVXoHhHl6UeoBJZWHW8jZOuQg7t9nrgpR48b7M45+UkM/DbHj2GBrppNUQHQnY5eb4CJSA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDijBOQHQbdXAdKBQMxxV9nMCfiDlNFGScxt3hMDikx1gIhAIJlQlhE8Oqs8oc0QzW7t0Lei9IyqZQlOHvMZBY5jd3x"}]},"_from":".","_npmVersion":"1.3.17","_npmUser":{"name":"mmaelzer","email":"mmaelzer@gmail.com"},"maintainers":[{"name":"mmaelzer","email":"mmaelzer@gmail.com"}],"directories":{}},"0.1.1":{"name":"im-decode","version":"0.1.1","description":"A node.js library that leverages ImageMagick to turn images into RGBA arrays (Uint8Arrays).","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/mmaelzer/im-decode"},"keywords":["imagemagick","jpg","jpeg","decode","decoder","rgba"],"author":{"name":"Mike Maelzer","email":"mmaelzer@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/mmaelzer/im-decode/issues"},"homepage":"https://github.com/mmaelzer/im-decode","readme":"im-decode\n=========\n  \nA node.js library that leverages [ImageMagick](http://www.imagemagick.org) to turn images into RGBA arrays (Uint8Arrays).\n  \n  \n## Install\n\n```\nnpm install im-decode\n```  \n  \n`im-decode` requires ImageMagick CLI tools to be installed. There's plenty of ways to install ImageMagick, choose what's right for you.\n\n## Usage\n\n```javascript\nvar decode = require('im-decode');\ndecode(imageBuffer, function(err, rgbaArray) {\n  // do something\n});\n```\n\n### decode(image, [dimensions], callback)\n* image `Buffer`\n* dimensions (optional) `Array` of dimensions in the form [w, h], i.e. [640, 480]\n* callback `Function(Error, Uint8Array)`  \n\nReturns a `Uint8Array` when provided an image as a `Buffer`. Passing in a dimensions `Array` is optional, but will provide a slight speed improvement (~7% speed increase for 640x480 images was seen in testing). The speed improvement is due to the nature of knowing the size of the end result `Buffer` vs continually creating new `Buffers` of ever increasing size. At least that's my assumption without diving into it any deeper.","readmeFilename":"readme.md","_id":"im-decode@0.1.1","dist":{"shasum":"f14709b06fbc7c6dff1cc58874725c85324a9bb2","tarball":"https://registry.npmjs.org/im-decode/-/im-decode-0.1.1.tgz","integrity":"sha512-rJ7sKp9BYRcTKmTcmTpYQBY+SGk7Vm+i7i/GmwRlad2X2hMEe7XIYNHAX4/8xvKTb+sRH4sqqvSzr049p7470w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGSBvseVTMVOJa0yPEq/KszxKwk7+uQkhH6FCH6CV5JrAiAjovzVETSRL1Bi/BdsGxBxwxrwZo4RAHsBOEWoLxpC8Q=="}]},"_from":".","_npmVersion":"1.3.21","_npmUser":{"name":"mmaelzer","email":"mmaelzer@gmail.com"},"maintainers":[{"name":"mmaelzer","email":"mmaelzer@gmail.com"}],"directories":{}},"0.1.2":{"name":"im-decode","version":"0.1.2","description":"A node.js library that leverages ImageMagick to turn images into RGBA arrays (Uint8Arrays).","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/mmaelzer/im-decode"},"keywords":["imagemagick","jpg","jpeg","decode","decoder","rgba"],"author":{"name":"Mike Maelzer","email":"mmaelzer@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/mmaelzer/im-decode/issues"},"homepage":"https://github.com/mmaelzer/im-decode","readme":"im-decode\n=========\n  \nA node.js library that leverages [ImageMagick](http://www.imagemagick.org) to turn images into RGBA arrays (Uint8Arrays).\n  \n  \n## Install\n\n```\nnpm install im-decode\n```  \n  \n`im-decode` requires ImageMagick CLI tools to be installed. There's plenty of ways to install ImageMagick, choose what's right for you.\n\n## Usage\n\n```javascript\nvar decode = require('im-decode');\ndecode(imageBuffer, function(err, rgbaArray) {\n  // do something\n});\n```\n\n### decode(image, [dimensions], callback)\n* image `Buffer`\n* dimensions (optional) `Array` of dimensions in the form [w, h], i.e. [640, 480]\n* callback `Function(Error, Uint8Array)`  \n\nReturns a `Uint8Array` when provided an image as a `Buffer`. Passing in a dimensions `Array` is optional, but will provide a slight speed improvement (~7% speed increase for 640x480 images was seen in testing). The speed improvement is due to the nature of knowing the size of the end result `Buffer` vs continually creating new `Buffers` of ever increasing size. At least that's my assumption without diving into it any deeper.","readmeFilename":"readme.md","_id":"im-decode@0.1.2","dist":{"shasum":"b5f650555c99b0f68e222af8855719b7dd1f1f54","tarball":"https://registry.npmjs.org/im-decode/-/im-decode-0.1.2.tgz","integrity":"sha512-CrNUgeye2Rwoch0hVeT/uupq2o40nJKfo9Z6FByCqUN+ZsIf+7YOfUPwb/0+ojDNlxH8rvrs6zgzFD01VQj16w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCZUGEc4KYpdsMNK1f/lXK4n4GF39UwKnXaf7jWgqnX0AIgJEEzPW6LZ4/I3XxR7dN89BZiUCIElEeKeZd8nixM7gY="}]},"_from":".","_npmVersion":"1.3.21","_npmUser":{"name":"mmaelzer","email":"mmaelzer@gmail.com"},"maintainers":[{"name":"mmaelzer","email":"mmaelzer@gmail.com"}]}},"readme":"im-decode\n=========\n  \nA node.js library that leverages [ImageMagick](http://www.imagemagick.org) to turn images into RGBA arrays (Uint8Arrays).\n  \n  \n## Install\n\n```\nnpm install im-decode\n```  \n  \n`im-decode` requires ImageMagick CLI tools to be installed. There's plenty of ways to install ImageMagick, choose what's right for you.\n\n## Usage\n\n```javascript\nvar decode = require('im-decode');\ndecode(imageBuffer, function(err, rgbaArray) {\n  // do something\n});\n```\n\n### decode(image, [dimensions], callback)\n* image `Buffer`\n* dimensions (optional) `Array` of dimensions in the form [w, h], i.e. [640, 480]\n* callback `Function(Error, Uint8Array)`  \n\nReturns a `Uint8Array` when provided an image as a `Buffer`. Passing in a dimensions `Array` is optional, but will provide a slight speed improvement (~7% speed increase for 640x480 images was seen in testing). The speed improvement is due to the nature of knowing the size of the end result `Buffer` vs continually creating new `Buffers` of ever increasing size. At least that's my assumption without diving into it any deeper.","maintainers":[{"name":"mmaelzer","email":"mmaelzer@gmail.com"}],"time":{"modified":"2022-06-19T00:29:28.974Z","created":"2013-12-28T05:32:17.651Z","0.1.0":"2013-12-28T05:32:18.321Z","0.1.1":"2014-01-05T05:41:20.853Z","0.1.2":"2014-01-08T05:18:42.461Z"},"author":{"name":"Mike Maelzer","email":"mmaelzer@gmail.com"},"repository":{"type":"git","url":"https://github.com/mmaelzer/im-decode"},"users":{"jpfilevich":true}}