{"_id":"@loaders.gl/images@5.0.1","bugs":{"url":"https://github.com/visgl/loaders.gl/issues"},"dist":{"shasum":"e3cefdfedf9afc1c07522ed70cc6b8ca0dd11c5f","tarball":"http://registry-npm.ywwl.com/@loaders.gl/images/download/@loaders.gl/images-5.0.1.tgz","fileCount":695,"integrity":"sha512-TD8DssJsGKRrcY8ZFtkHphDtdJffd2RFf/IpFcRhBK5PzYCSJ+iGJUbwtqlaXJxwKNj9YTwkl9CxPEh+tG8M0g==","signatures":[{"sig":"MEUCIEsBStlvFpo2DtDLQk51MDyXgnW6w1k6aWOKjvUA4lmAAiEA09svAuHXMhhee5ZCUXAjdmm7Fd0GUxq4N03jXanrwnY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDViC1jiOx2qa+B0JVjGAK6kvFinEKQERAiEp27U/cMngIgaSdSQeVdmdGmKBg2zyPjASS+DOYLdRt5CwhtCvNTfq8="}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@loaders.gl%2fimages@5.0.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":14675237,"size":4625674,"noattachment":false,"key":"/@loaders.gl/images/-/@loaders.gl/images-5.0.1.tgz"},"main":"dist/index.cjs","name":"@loaders.gl/images","type":"module","types":"dist/index.d.ts","module":"dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./api":{"types":"./dist/api.d.ts","import":"./dist/api.js","require":"./dist/api.cjs"},"./exr":{"types":"./dist/exr/metadata-entry.d.ts","import":"./dist/exr/metadata-entry.js","require":"./dist/exr/metadata-entry.cjs"},"./ies":{"types":"./dist/ies/metadata-entry.d.ts","import":"./dist/ies/metadata-entry.js","require":"./dist/ies/metadata-entry.cjs"},"./basis":{"types":"./dist/basis/metadata-entry.d.ts","import":"./dist/basis/metadata-entry.js","require":"./dist/basis/metadata-entry.cjs"},"./image":{"types":"./dist/image/metadata-entry.d.ts","import":"./dist/image/metadata-entry.js","require":"./dist/image/metadata-entry.cjs"},"./types":{"types":"./dist/types.d.ts","import":"./dist/types.js","require":"./dist/types.cjs"},"./video":{"types":"./dist/video/metadata-entry.d.ts","import":"./dist/video/metadata-entry.js","require":"./dist/video/metadata-entry.cjs"},"./crunch":{"types":"./dist/crunch/metadata-entry.d.ts","import":"./dist/crunch/metadata-entry.js","require":"./dist/crunch/metadata-entry.cjs"},"./bundled":{"types":"./dist/bundled-entry.d.ts","import":"./dist/bundled-entry.js","require":"./dist/bundled-entry.cjs"},"./texture":{"types":"./dist/texture/metadata-entry.d.ts","import":"./dist/texture/metadata-entry.js","require":"./dist/texture/metadata-entry.cjs"},"./color-lut":{"types":"./dist/color-lut/metadata-entry.d.ts","import":"./dist/color-lut/metadata-entry.js","require":"./dist/color-lut/metadata-entry.cjs"},"./exr/bundled":{"types":"./dist/exr-bundled.d.ts","import":"./dist/exr-bundled.js","require":"./dist/exr-bundled.cjs"},"./gif-builder":{"types":"./dist/gif-builder.d.ts","import":"./dist/gif-builder.js","require":"./dist/gif-builder.cjs"},"./ies/bundled":{"types":"./dist/ies-bundled.d.ts","import":"./dist/ies-bundled.js","require":"./dist/ies-bundled.cjs"},"./radiance-hdr":{"types":"./dist/radiance-hdr/metadata-entry.d.ts","import":"./dist/radiance-hdr/metadata-entry.js","require":"./dist/radiance-hdr/metadata-entry.cjs"},"./basis/bundled":{"types":"./dist/basis-bundled-entry.d.ts","import":"./dist/basis-bundled-entry.js","require":"./dist/basis-bundled-entry.cjs"},"./image/bundled":{"types":"./dist/image-bundled.d.ts","import":"./dist/image-bundled.js","require":"./dist/image-bundled.cjs"},"./video/bundled":{"types":"./dist/video-bundled.d.ts","import":"./dist/video-bundled.js","require":"./dist/video-bundled.cjs"},"./crunch/bundled":{"types":"./dist/crunch/bundled-entry.d.ts","import":"./dist/crunch/bundled-entry.js","require":"./dist/crunch/bundled-entry.cjs"},"./basis-worker.js":{"import":"./dist/basis-worker.js"},"./texture/bundled":{"types":"./dist/texture-bundled-entry.d.ts","import":"./dist/texture-bundled-entry.js","require":"./dist/texture-bundled-entry.cjs"},"./crunch-worker.js":{"import":"./dist/crunch-worker.js"},"./color-lut/bundled":{"types":"./dist/color-lut-bundled-entry.d.ts","import":"./dist/color-lut-bundled-entry.js","require":"./dist/color-lut-bundled-entry.cjs"},"./basis-worker-node.js":{"import":"./dist/basis-worker-node.cjs","require":"./dist/basis-worker-node.cjs"},"./radiance-hdr/bundled":{"types":"./dist/radiance-hdr-bundled.d.ts","import":"./dist/radiance-hdr-bundled.js","require":"./dist/radiance-hdr-bundled.cjs"},"./basis-worker-node.cjs":{"default":"./dist/basis-worker-node.cjs","require":"./dist/basis-worker-node.cjs"},"./ktx2-basis-writer-worker.js":{"import":"./dist/ktx2-basis-writer-worker.js"},"./compressed-texture-worker.js":{"import":"./dist/compressed-texture-worker.js"},"./texture-manifest.schema.json":"./dist/texture-manifest.schema.json","./ktx2-basis-writer-worker-node.js":{"import":"./dist/ktx2-basis-writer-worker-node.cjs","require":"./dist/ktx2-basis-writer-worker-node.cjs"},"./ktx2-basis-writer-worker-node.cjs":{"default":"./dist/ktx2-basis-writer-worker-node.cjs","require":"./dist/ktx2-basis-writer-worker-node.cjs"}},"gitHead":"e28aef9d87913a5f04901ed503aefefb85e2e700","license":"MIT","scripts":{"copy-libs":"mkdir -p ./dist/libs && cp -rf ./src/libs/. ./dist/libs && node ../../scripts/build-library-modules.mjs images","pre-build":"npm run generate-json-schema && npm run copy-libs && npm run build-bundle && npm run build-bundle-dev && npm run build-workers && npm run build-metadata","build-bundle":"node ../../scripts/build-codec-bundle.mjs ./bundle.ts --output=dist/dist.min.js","build-workers":"npm run build-basis-worker && npm run build-basis-worker-node && npm run build-compressed-texture-worker && npm run build-crunch-worker && npm run build-ktx2-basis-writer-worker && npm run build-ktx2-basis-writer-worker-node","build-metadata":"node ../../scripts/build-images-metadata.mjs","build-bundle-dev":"node ../../scripts/build-codec-bundle.mjs ./bundle.ts --env=dev --output=dist/dist.dev.js","build-basis-worker":"esbuild src/workers/basis-worker.ts --outfile=dist/basis-worker.js --target=esnext --bundle --define:__VERSION__=\\\"$npm_package_version\\\"","build-crunch-worker":"esbuild src/workers/crunch-worker.ts --outfile=dist/crunch-worker.js --target=esnext --bundle --define:__VERSION__=\\\"$npm_package_version\\\"","generate-json-schema":"node ../../scripts/generate-json-schema.mjs --schema ./dist/lib/composite-image/composite-image-manifest-schema.js --export CompositeImageManifestSchema --output ./dist/texture-manifest.schema.json --id https://unpkg.com/@loaders.gl/images/texture-manifest.schema.json --title 'loaders.gl composite image texture manifest'","build-basis-worker-node":"esbuild src/workers/basis-worker-node.ts --outfile=dist/basis-worker-node.cjs --target=node16  --platform=node --bundle --define:__VERSION__=\\\"$npm_package_version\\\" --external:sharp","build-ktx2-basis-writer-worker":"esbuild src/workers/ktx2-basis-writer-worker.ts --outfile=dist/ktx2-basis-writer-worker.js --target=esnext --bundle --define:__VERSION__=\\\"$npm_package_version\\\"","build-compressed-texture-worker":"esbuild src/workers/compressed-texture-worker.ts --target=esnext --bundle --outfile=dist/compressed-texture-worker.js --define:__VERSION__=\\\"$npm_package_version\\\"","build-ktx2-basis-writer-worker-node":"esbuild src/workers/ktx2-basis-writer-worker-node.ts --outfile=dist/ktx2-basis-writer-worker-node.cjs --target=node16  --platform=node --bundle --define:__VERSION__=\\\"$npm_package_version\\\" --external:sharp"},"version":"5.0.1","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"91a59a3d-536e-46f0-8721-3d769b1ad2ed"}},"homepage":"https://github.com/visgl/loaders.gl#readme","keywords":["loaders.gl","PNG","JPEG","JPG","GIF","WebP","BMP","ICO","SVG","AVIF"],"repository":{"url":"git+https://github.com/visgl/loaders.gl.git","type":"git"},"_npmVersion":"lerna/10.1.2/node@v22.23.4+x64 (linux)","description":"Image, compressed texture, and video loaders with optional Node.js image codecs","directories":{},"maintainers":[{"name":"pessimistress","email":"cxiaoji@gmail.com"},{"name":"kylebarron","email":"kylebarron2@gmail.com"},{"name":"ibgreen","email":"ib@unfolded.ai"},{"name":"dryabinin","email":"daniil.ryabinin@actionengine.com"},{"name":"belom88","email":"belom88@yandex.ru"},{"name":"dterekhova","email":"dasha1024@gmail.com"},{"name":"openjs-operations","email":"operations@openjsf.org"},{"name":"felixpalmer","email":"felixpalmer+npm@gmail.com"}],"sideEffects":false,"_nodeVersion":"22.23.4","dependencies":{"zod":"^4.1.12","@math.gl/core":"^5.0.4"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"peerDependencies":{"@loaders.gl/core":"~5.0.0-alpha.0","texture-compressor":"^1.0.2"},"peerDependenciesMeta":{"texture-compressor":{"optional":true}},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/images_5.0.1_1795715705499_0.25969382308814626"},"readme":"# @loaders.gl/images\n\nImage loaders and writers using browser and Node.js image codecs.\n\nSupported formats: PNG, JPEG, JPG, GIF, WebP, BMP, ICO, SVG, AVIF. Availability depends on the runtime and installed codecs.\n\nFor documentation please visit the [website](https://loaders.gl).\n\n## Sources and credits\n\nSee [THIRD-PARTY-NOTICES.md](./THIRD-PARTY-NOTICES.md) for implementation lineage\nand applicable notices, and the project-wide [Attributions and Credits](https://loaders.gl/docs/references-and-credits).\n\nTexture and video metadata loaders are exported from the same lightweight root.\nDirect parsers use `*WithParser` exports from flat subpaths such as\n`@loaders.gl/images/basis-loader` and `@loaders.gl/images/video-loader`.\nTexture writers, manifest schemas, and GIFBuilder also use direct subpaths.\nNode image codecs require the optional `sharp` peer of `@loaders.gl/core`;\nother polyfills and browser images do not load it.\n\n\n- [IES format guide](https://loaders.gl/docs/modules/images/ies): format, usage, feature support and output contract.\n\n\n- [Color LUT format guide](https://loaders.gl/docs/modules/images/color-lut): format, usage, feature support and output contract.\n\n- [OpenEXR format guide](https://loaders.gl/docs/modules/images/openexr): format, usage, feature support and output contract.\n","publish_time":1795715705686,"_cnpm_publish_time":1795715705686,"dist-tags":{"1.1-latest":"1.1.7","beta":"5.0.0-rc.2","latest":"5.0.1","v4.5-beta":"4.5.0-alpha.1"}}