{"versions":{"2.2.0":{"_id":"@jimp/plugin-lut@2.2.0","bugs":{"url":"https://github.com/jimp-dev/jimp/issues"},"dist":{"shasum":"ed72eac9f9faa8bde3e81059c104d331d0e073f4","tarball":"http://123.232.10.234:8212/nexus/content/repositories/npm-private/@jimp/plugin-lut/-/plugin-lut-2.2.0.tgz","fileCount":29,"integrity":"sha512-ZChZ1YfIJlFAG1/Kxw5vrdyg3nJcNV6duE4zBcZX4YC8pKBxG8x4u7/f8PD572sjIlcxc4f6EGa/R3OAnay3Ug==","signatures":[{"sig":"MEUCIAsRY3qzKV0bBFAlKqEvMt/HzZNKKcSWi61ACGkQf9OxAiEApZ3T+CKKt8UmFuNshQibMl/RLSpGZbE8gnsCac7N0Ew=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIHl2XdxFxCN00O1a1cqfIDEKNtH51lYUjKBXgYVEMyizAiEA7ziHoV1HhhmtrVc+hyKhwNTToghxmKRnlsoFoNrdRJA="}],"unpackedSize":103507,"size":17750},"main":"./dist/commonjs/index.js","name":"@jimp/plugin-lut","tshy":{"exclude":["**/*.test.ts","src/fixtures/**"],"exports":{".":"./src/index.ts","./package.json":"./package.json"}},"type":"module","types":"./dist/commonjs/index.d.ts","author":{"name":"Andrew Lisowski","email":"lisowski54@gmail.com"},"module":"./dist/esm/index.js","engines":{"node":">=22"},"exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/commonjs/index.d.ts","default":"./dist/commonjs/index.js"}},"./package.json":"./package.json"},"gitHead":"3308bdef5bcf1a8ef868bd3a5abf5105c993e060","license":"MIT","scripts":{"dev":"tshy --watch","lint":"eslint .","test":"vitest","build":"tshy","clean":"rimraf node_modules .tshy .tshy-build dist .turbo","test:browser":"vitest --config vitest.config.browser.mjs"},"version":"2.2.0","_npmUser":{"name":"anonymous","email":"lisowski54@gmail.com"},"homepage":"https://github.com/jimp-dev/jimp#readme","keywords":["jimp","lut","3d lut","cube","hald clut","color grading"],"repository":{"url":"git+https://github.com/jimp-dev/jimp.git","type":"git"},"_npmVersion":"lerna/10.1.3/node@v24.15.0+arm64 (darwin)","description":"3D LUT color grading for Jimp, from .cube files and Hald CLUT images.","directories":{},"maintainers":[{"name":"anonymous","email":"lisowski54@gmail.com"},{"name":"anonymous","email":"oliver@nth-iteration.ie"}],"sideEffects":false,"_nodeVersion":"24.15.0","dependencies":{"zod":"^4.6.7","@jimp/types":"2.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tshy":"~4.0.0","eslint":"^10.15.0","vitest":"^5.1.1","@jimp/core":"2.2.0","typescript":"^7.0.2","@types/node":"^22.20.5","@jimp/js-png":"2.2.0","@jimp/js-jpeg":"2.2.0","@vitest/browser":"^5.1.1","@jimp/test-utils":"2.2.0","@jimp/config-eslint":"2.2.0","@jimp/config-vitest":"2.2.0","@jimp/config-typescript":"2.2.0","vite-plugin-node-polyfills":"^0.28.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/plugin-lut_2.2.0_1795629236888_0.6002009168393468"},"_cnpmcore_publish_time":"2026-11-25T17:53:57.010Z","publish_time":1795629237010,"_source_registry_name":"default","contributors":[]},"0.0.0-stage":{"name":"@jimp/plugin-lut","version":"0.0.0-stage","_id":"@jimp/plugin-lut@0.0.0-stage","stub":true,"maintainers":[{"name":"anonymous","email":"lisowski54@gmail.com"}],"dist":{"shasum":"b9c38465dedf7eec47b3ce83b842976797c9e691","tarball":"http://123.232.10.234:8212/nexus/content/repositories/npm-private/@jimp/plugin-lut/-/plugin-lut-0.0.0-stage.tgz","fileCount":2,"integrity":"sha512-Ts9+CEtMIFi+vRYqnvZFGjZkiEtXyXwXuAoHUcgrd/bRbfSaVZVzc5GVxrswtNdE7tN1plIFaFlh69JJPrEQnA==","signatures":[{"sig":"MEQCIB0cfNagYxVq3fovGvAltgaUu8pQIWOP9NXQYhihlqd2AiBBDMsJTqtEvgwjHuJyTktx6wY67I5Jh3kshDQ04XknHQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":338,"size":365},"_npmUser":{"name":"anonymous","email":"lisowski54@gmail.com"},"description":"Temporary package placeholder for staged publishing","directories":{},"_cnpmcore_publish_time":"2026-11-25T17:51:49.755Z","publish_time":1795629109755,"_hasShrinkwrap":false,"_source_registry_name":"default","contributors":[]},"2.2.1":{"_id":"@jimp/plugin-lut@2.2.1","bugs":{"url":"https://github.com/jimp-dev/jimp/issues"},"dist":{"shasum":"d882c06fa277ef1d2fcbc1dd88a64d53b5604d56","tarball":"http://123.232.10.234:8212/nexus/content/repositories/npm-private/@jimp/plugin-lut/-/plugin-lut-2.2.1.tgz","fileCount":29,"integrity":"sha512-hfXKZU13L9cbahLosdrxh8SW3CdC6GaefA6z23tJC+vamIoOZhG4YehpIDSfnuWBRaCOMv+oSqwe3a/nIv10dQ==","signatures":[{"sig":"MEUCIQCh3SaA5uN3wwzawA8PsmQTm1b1N+dRKvRiN1Nn+QaoEgIgXZYS2rA+xoCv2S44GuCT1RpbTzOvx4NOPTIqUlpjzhk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIBM4Gm/dsUBEVOziMgSc/H3RJNBFTzAWA5fcEVvwbzIxAiA07IS9iwMfI5u0vf+g9odgjfip+G0hsQGqyR+dSiTPkQ=="}],"unpackedSize":103507,"size":17751},"main":"./dist/commonjs/index.js","name":"@jimp/plugin-lut","tshy":{"exclude":["**/*.test.ts","src/fixtures/**"],"exports":{".":"./src/index.ts","./package.json":"./package.json"}},"type":"module","types":"./dist/commonjs/index.d.ts","author":{"name":"Andrew Lisowski","email":"lisowski54@gmail.com"},"module":"./dist/esm/index.js","engines":{"node":">=22"},"exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/commonjs/index.d.ts","default":"./dist/commonjs/index.js"}},"./package.json":"./package.json"},"gitHead":"7ab3ff96f32a76e547be763bbafd474226429103","license":"MIT","scripts":{"dev":"tshy --watch","lint":"eslint .","test":"vitest","build":"tshy","clean":"rimraf node_modules .tshy .tshy-build dist .turbo","test:browser":"vitest --config vitest.config.browser.mjs"},"version":"2.2.1","_npmUser":{"name":"anonymous","email":"lisowski54@gmail.com"},"homepage":"https://github.com/jimp-dev/jimp#readme","keywords":["jimp","lut","3d lut","cube","hald clut","color grading"],"repository":{"url":"git+https://github.com/jimp-dev/jimp.git","type":"git"},"_npmVersion":"lerna/10.1.3/node@v24.15.0+arm64 (darwin)","description":"3D LUT color grading for Jimp, from .cube files and Hald CLUT images.","directories":{},"maintainers":[{"name":"anonymous","email":"lisowski54@gmail.com"},{"name":"anonymous","email":"oliver@nth-iteration.ie"}],"sideEffects":false,"_nodeVersion":"24.15.0","dependencies":{"zod":"^4.6.7","@jimp/types":"2.2.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tshy":"~4.0.0","eslint":"^10.15.0","vitest":"^5.1.1","@jimp/core":"2.2.1","typescript":"^7.0.2","@types/node":"^22.20.5","@jimp/js-png":"2.2.1","@jimp/js-jpeg":"2.2.1","@vitest/browser":"^5.1.1","@jimp/test-utils":"2.2.1","@jimp/config-eslint":"2.2.1","@jimp/config-vitest":"2.2.1","@jimp/config-typescript":"2.2.1","vite-plugin-node-polyfills":"^0.28.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/plugin-lut_2.2.1_1795814486539_0.9769912845002532"},"_cnpmcore_publish_time":"2026-11-27T21:21:26.635Z","publish_time":1795814486635,"_source_registry_name":"default","contributors":[]},"2.2.2":{"_id":"@jimp/plugin-lut@2.2.2","bugs":{"url":"https://github.com/jimp-dev/jimp/issues"},"dist":{"shasum":"023cac0134cdba5a132baef185651c7969af9a3d","tarball":"http://123.232.10.234:8212/nexus/content/repositories/npm-private/@jimp/plugin-lut/-/plugin-lut-2.2.2.tgz","fileCount":29,"integrity":"sha512-5C1BE/T2YR0jNseyofYy8EQLK9HY+Krtw7Io8kX4dSMgROggs6foT3Mqu97QG6EUOnK+fsY++HLDZb7OSu92+w==","signatures":[{"sig":"MEUCIGFtrDCXuht8WjTcVM9CIgsBQ0zuML2Fo355ffUVxj4JAiEAtytvIQKa4Pp3JHe7ehO5qYGKxIhaNfKEqqERSZssWqE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQC6AUE8iFeMsDJxoM9nQJevYgBnRVvDjBG3EvLdocCVJwIgVfZ6tmaBim7bwLQBHl0ZeVANy/Pq9JoQC6W+AUzcw+w="}],"unpackedSize":103507,"size":17751},"main":"./dist/commonjs/index.js","name":"@jimp/plugin-lut","tshy":{"exclude":["**/*.test.ts","src/fixtures/**"],"exports":{".":"./src/index.ts","./package.json":"./package.json"}},"type":"module","types":"./dist/commonjs/index.d.ts","author":{"name":"Andrew Lisowski","email":"lisowski54@gmail.com"},"module":"./dist/esm/index.js","engines":{"node":">=22"},"exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/commonjs/index.d.ts","default":"./dist/commonjs/index.js"}},"./package.json":"./package.json"},"gitHead":"d18cc93e6e0d1765ca72b19c22f2aa94dc183981","license":"MIT","scripts":{"dev":"tshy --watch","lint":"eslint .","test":"vitest","build":"tshy","clean":"rimraf node_modules .tshy .tshy-build dist .turbo","test:browser":"vitest --config vitest.config.browser.mjs"},"version":"2.2.2","_npmUser":{"name":"anonymous","email":"lisowski54@gmail.com"},"homepage":"https://github.com/jimp-dev/jimp#readme","keywords":["jimp","lut","3d lut","cube","hald clut","color grading"],"repository":{"url":"git+https://github.com/jimp-dev/jimp.git","type":"git"},"_npmVersion":"lerna/10.1.3/node@v24.15.0+arm64 (darwin)","description":"3D LUT color grading for Jimp, from .cube files and Hald CLUT images.","directories":{},"maintainers":[{"name":"anonymous","email":"lisowski54@gmail.com"},{"name":"anonymous","email":"oliver@nth-iteration.ie"}],"sideEffects":false,"_nodeVersion":"24.15.0","dependencies":{"zod":"^4.6.7","@jimp/types":"2.2.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tshy":"~4.0.0","eslint":"^10.15.0","vitest":"^5.1.1","@jimp/core":"2.2.2","typescript":"^7.0.2","@types/node":"^22.20.5","@jimp/js-png":"2.2.2","@jimp/js-jpeg":"2.2.2","@vitest/browser":"^5.1.1","@jimp/test-utils":"2.2.2","@jimp/config-eslint":"2.2.2","@jimp/config-vitest":"2.2.2","@jimp/config-typescript":"2.2.2","vite-plugin-node-polyfills":"^0.28.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/plugin-lut_2.2.2_1796012081100_0.10502945281177711"},"_cnpmcore_publish_time":"2026-11-30T04:14:41.181Z","publish_time":1796012081181,"_source_registry_name":"default","contributors":[]}},"dist-tags":{"latest":"2.2.2"},"name":"@jimp/plugin-lut","time":{"created":"2026-11-25T17:54:03.856Z","modified":"2026-11-30T04:14:53.711Z","2.2.0":"2026-11-25T17:53:57.010Z","0.0.0-stage":"2026-11-25T17:51:49.755Z","2.2.1":"2026-11-27T21:21:26.635Z","2.2.2":"2026-11-30T04:14:41.181Z"},"readme":"<div align=\"center\">\n  <img width=\"140\" alt=\"\"\n    src=\"https://raw.githubusercontent.com/jimp-dev/jimp/main/.github/assets/jimpy.png\">\n  <h1>@jimp/plugin-lut</h1>\n  <p>Color grade images with 3D LUTs.</p>\n</div>\n\n- [colorGrade](https://jimp-dev.github.io/jimp/methods/color-grade/)\n- [parseCubeLut](https://jimp-dev.github.io/jimp/methods/parse-cube-lut/)\n\n## Usage\n\n`colorGrade` maps every pixel's color through a 3D LUT (lookup table) with\ntetrahedral interpolation, the way photo and video editors apply a \"look\".\nThe LUT can come from a `.cube` file, read with `parseCubeLut`, or be a Hald\nCLUT image, the format of many film emulation packs. Alpha is unchanged.\n\n```ts\nimport { readFile } from \"node:fs/promises\";\nimport { Jimp, parseCubeLut } from \"jimp\";\n\nconst image = await Jimp.read(\"photo.jpg\");\nconst lut = parseCubeLut(await readFile(\"teal-orange.cube\", \"utf8\"));\n\nimage.colorGrade(lut);\n\n// A Hald CLUT image, blended half way with the original\nconst hald = await Jimp.read(\"kodachrome.png\");\n\nimage.colorGrade(hald, { strength: 0.5 });\n```\n\n`parseCubeLut` reads `LUT_3D_SIZE`, `TITLE`, `DOMAIN_MIN` and `DOMAIN_MAX`\n(or Resolve's `LUT_3D_INPUT_RANGE`), and throws an error naming the line for\n1D LUTs and files that aren't valid.\n\n`jimp` includes this plugin. To use it in a custom Jimp, add its methods:\n\n```ts\nimport { createJimp } from \"@jimp/core\";\nimport jpeg from \"@jimp/js-jpeg\";\nimport * as lut from \"@jimp/plugin-lut\";\n\nconst Jimp = createJimp({ formats: [jpeg], plugins: [lut.methods] });\n```\n\nSee [the colorGrade() docs](https://jimp-dev.github.io/jimp/methods/color-grade/) for Hald\nimages, `apply`, workers and serving looks from `@jimp/server`.","users":{}}