{"versions":{"3.0.1":{"name":"@types/utif","version":"3.0.1","description":"TypeScript definitions for utif","license":"MIT","contributors":[{"name":"Jan Pesa","url":"https://github.com/smajl","githubUsername":"smajl"},{"name":"Naveen Kumar Sangi","url":"https://github.com/nkprince007","githubUsername":"nkprince007"},{"name":"Massimiliano Caniparoli","url":"https://github.com/massic80","githubUsername":"massic80"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/utif"},"scripts":{},"dependencies":{"@types/node":"*"},"typesPublisherContentHash":"044906295aa6211af0f442490dc9373a2eb4d67cd64686b98d75ee9c572a45e1","typeScriptVersion":"3.0","_id":"@types/utif@3.0.1","dist":{"shasum":"2481673aa1bb23b40baf41010e37467996663a3b","size":2528,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@types/utif/-/utif-3.0.1.tgz"},"maintainers":[{"name":"anonymous","email":"ts-npm-types@microsoft.com"}],"_npmUser":{"name":"anonymous","email":"ts-npm-types@microsoft.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/utif_3.0.1_1589550734535_0.3455590716847041"},"_hasShrinkwrap":false,"publish_time":1589550734674,"_cnpm_publish_time":1589550734674},"3.0.0":{"name":"@types/utif","version":"3.0.0","description":"TypeScript definitions for utif","license":"MIT","contributors":[{"name":"Jan Pesa","url":"https://github.com/smajl","githubUsername":"smajl"},{"name":"Naveen Kumar Sangi","url":"https://github.com/nkprince007","githubUsername":"nkprince007"},{"name":"Massimiliano Caniparoli","url":"https://github.com/massic80","githubUsername":"massic80"}],"main":"","types":"index","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git"},"scripts":{},"dependencies":{"@types/node":"*"},"typesPublisherContentHash":"17090b90a33d635ed9fc66e7bbecaa6ea42e04da25e1a0aaa78c48d1a40b0e06","typeScriptVersion":"2.0","_id":"@types/utif@3.0.0","dist":{"shasum":"d9d96b0792dce4faa4f2c8761fd45ccc27c770e3","size":2494,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@types/utif/-/utif-3.0.0.tgz"},"maintainers":[{"name":"anonymous","email":"ts-npm-types@microsoft.com"}],"_npmUser":{"name":"anonymous","email":"ts-npm-types@microsoft.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/utif_3.0.0_1550171875927_0.75360990914326"},"_hasShrinkwrap":false,"publish_time":1550171876051,"_cnpm_publish_time":1550171876051},"2.0.0":{"name":"@types/utif","version":"2.0.0","description":"TypeScript definitions for utif","license":"MIT","contributors":[{"name":"Jan Pesa","url":"https://github.com/smajl","githubUsername":"smajl"},{"name":"Naveen Kumar Sangi","url":"https://github.com/nkprince007","githubUsername":"nkprince007"}],"main":"","types":"index","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git"},"scripts":{},"dependencies":{"@types/node":"*"},"typesPublisherContentHash":"7ef7c9c4c13456be51c0d634991a437e3e252aace779e338c0c94a27ce9cb2d9","typeScriptVersion":"2.0","_id":"@types/utif@2.0.0","dist":{"shasum":"ed371a02cd31b0fa0e5e8ab34606a570e86cbdd8","size":2465,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@types/utif/-/utif-2.0.0.tgz"},"maintainers":[{"name":"anonymous","email":"ts-npm-types@microsoft.com"}],"_npmUser":{"name":"anonymous","email":"ts-npm-types@microsoft.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/utif_2.0.0_1549585739380_0.3235442646059925"},"_hasShrinkwrap":false,"publish_time":1549585739480,"_cnpm_publish_time":1549585739480},"3.0.2":{"name":"@types/utif","version":"3.0.2","description":"TypeScript definitions for utif","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/utif","license":"MIT","contributors":[{"name":"Jan Pesa","url":"https://github.com/smajl","githubUsername":"smajl"},{"name":"Naveen Kumar Sangi","url":"https://github.com/nkprince007","githubUsername":"nkprince007"},{"name":"Massimiliano Caniparoli","url":"https://github.com/massic80","githubUsername":"massic80"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/utif"},"scripts":{},"dependencies":{"@types/node":"*"},"typesPublisherContentHash":"6759906a320b88eb4610597e7712063205126ceedc80a222d739f69a265ead01","typeScriptVersion":"4.3","_id":"@types/utif@3.0.2","dist":{"integrity":"sha512-cceApkneod7O01G1Fx7SAYemKIk49TAB4pX9Ym0SLHJ2/q+/2nGtZlLzcbj59RQSHITtNudnPgvlPHz1oi5tWQ==","shasum":"982f81a4d167cb3e5d02a1c02f28ee0985c33969","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@types/utif/-/utif-3.0.2.tgz","fileCount":5,"unpackedSize":5629,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGRpRvW1dnLapBI5DwqTaBu5IbgIrU/5PQcEum86V08gAiEArntWcPpcj5mO2aUE88oDSURDwNI1h32RiY2ysiYhkME="}]},"_npmUser":{"name":"anonymous","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"ts-npm-types@microsoft.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/utif_3.0.2_1693426604939_0.7662250566032827"},"_hasShrinkwrap":false},"3.0.3":{"name":"@types/utif","version":"3.0.3","description":"TypeScript definitions for utif","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/utif","license":"MIT","contributors":[{"name":"Jan Pesa","githubUsername":"smajl","url":"https://github.com/smajl"},{"name":"Naveen Kumar Sangi","githubUsername":"nkprince007","url":"https://github.com/nkprince007"},{"name":"Massimiliano Caniparoli","githubUsername":"massic80","url":"https://github.com/massic80"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/utif"},"scripts":{},"dependencies":{"@types/node":"*"},"typesPublisherContentHash":"6d758f2a075d8450d02860a3765914a2a89e58035021f45e1ff2fd525a8bc459","typeScriptVersion":"4.5","_id":"@types/utif@3.0.3","dist":{"integrity":"sha512-b5YnAPHpdBRYWLUJ9LTURf8MIlbWmPFO59YL3zfjztR3Rq6nv4UgAXAkeFcznif3Nn+cwGtHbdKoRkPlkGVQ8A==","shasum":"474331f20882b721be84f5d829338dd20ce03f59","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@types/utif/-/utif-3.0.3.tgz","fileCount":5,"unpackedSize":7761,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDgSdgClusbvKjuwKccy0yhYvWcyrNwBF8JEBtjSbas7gIhANSSmGnb/8RSJBIw47PjsPuJKiLWquDOVE7Euyv5bmby"}]},"_npmUser":{"name":"anonymous","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"ts-npm-types@microsoft.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/utif_3.0.3_1697649070863_0.6610978284710198"},"_hasShrinkwrap":false},"3.0.4":{"name":"@types/utif","version":"3.0.4","description":"TypeScript definitions for utif","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/utif","license":"MIT","contributors":[{"name":"Jan Pesa","githubUsername":"smajl","url":"https://github.com/smajl"},{"name":"Naveen Kumar Sangi","githubUsername":"nkprince007","url":"https://github.com/nkprince007"},{"name":"Massimiliano Caniparoli","githubUsername":"massic80","url":"https://github.com/massic80"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/utif"},"scripts":{},"dependencies":{"@types/node":"*"},"typesPublisherContentHash":"f509cdc8cfce47d70855c8ab28dc10d8a489e88f9d93d2b42104963fc5837b4b","typeScriptVersion":"4.5","_id":"@types/utif@3.0.4","dist":{"integrity":"sha512-U1fjo4NjPTQ76k7Iu8txK/A7/fGeJiG92JSLG7jivRME2Q4CJeLnPIcSegKsdFjxkSobF9dE57ULP2E8xV985w==","shasum":"ba1f0f4c14fa0359e0e05f1a9a57005d1e2cc277","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@types/utif/-/utif-3.0.4.tgz","fileCount":5,"unpackedSize":7761,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICbK3qSDMSqp6UMB2n1/rLsWN7SFHbuZ0V+KzHZCFL/KAiEAiKq4655NPLOhqxS6DuXLWtshZl5G/VmsRX8wvea11/I="}]},"_npmUser":{"name":"anonymous","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"ts-npm-types@microsoft.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/utif_3.0.4_1699382163717_0.9154780086369856"},"_hasShrinkwrap":false},"3.0.5":{"name":"@types/utif","version":"3.0.5","description":"TypeScript definitions for utif","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/utif","license":"MIT","contributors":[{"name":"Jan Pesa","githubUsername":"smajl","url":"https://github.com/smajl"},{"name":"Naveen Kumar Sangi","githubUsername":"nkprince007","url":"https://github.com/nkprince007"},{"name":"Massimiliano Caniparoli","githubUsername":"massic80","url":"https://github.com/massic80"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/utif"},"scripts":{},"dependencies":{"@types/node":"*"},"typesPublisherContentHash":"4cd98caac0f2dfdecff269cb4908bd2e9bedc5869bc85afb2f2731abc1c83238","typeScriptVersion":"4.5","_id":"@types/utif@3.0.5","dist":{"integrity":"sha512-ULwKfCC9b5JxJyjkkG0WCeOWz7pfBLuvf1ax1fbxt0e+DnZtLUjGnnwMeAU4ukKYmIa3HyITNHOyeKQyf0aAUg==","shasum":"98eb1b4def0757449ecf3d1ef52a82a5181d2f7d","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@types/utif/-/utif-3.0.5.tgz","fileCount":5,"unpackedSize":7805,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID8juJbFDYCFqPVgGZlbMYIX1ulP8vnx4pCpQ2O8e0pqAiEA7pf3FRNh5NEi65NVYvHlRkB/uWuvCG0RaFw4bb/ESQo="}]},"_npmUser":{"name":"anonymous","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"ts-npm-types@microsoft.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/utif_3.0.5_1700529406753_0.8720715059069213"},"_hasShrinkwrap":false},"3.0.6":{"name":"@types/utif","version":"3.0.6","license":"MIT","_id":"@types/utif@3.0.6","maintainers":[{"name":"anonymous","email":"ts-npm-types@microsoft.com"}],"contributors":[{"url":"https://github.com/smajl","name":"Jan Pesa","githubUsername":"smajl"},{"url":"https://github.com/massic80","name":"Massimiliano Caniparoli","githubUsername":"massic80"}],"homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/utif","dist":{"shasum":"926638492bfeaa81c9ccda681defaff306e9254b","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@types/utif/-/utif-3.0.6.tgz","fileCount":5,"integrity":"sha512-4XHDJkLHoUeLA2P/VOd6dpDJpSTpV84tN9EyHojZrW22jtUR0VrdLwVRUAw+oI3g72vSzOo+YQOzfwcW6WYHLw==","signatures":[{"sig":"MEUCICtj2suP8HrvN24gpGPRchSp26JJYdbh+MM20ouP/6+gAiEA81rt3daPE1qCw9xm0U2PAmz0+BGKphqWBxOV2HU5sLg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":7619,"size":2567},"main":"","types":"index.d.ts","scripts":{},"_npmUser":{"name":"anonymous","email":"ts-npm-types@microsoft.com"},"repository":{"url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","type":"git","directory":"types/utif"},"description":"TypeScript definitions for utif","directories":{},"dependencies":{"@types/node":"*"},"_hasShrinkwrap":false,"peerDependencies":{},"typeScriptVersion":"5.2","_npmOperationalInternal":{"tmp":"tmp/utif_3.0.6_1755642973633_0.7625427655362569","host":"s3://npm-registry-packages-npm-production"},"typesPublisherContentHash":"0fd7d1636ef6cc9c4aa646e8a9fe0329e08a5fd088d7abfa125c4869b082d90d","_cnpmcore_publish_time":"2025-08-19T22:36:13.846Z","publish_time":1755642973846,"_source_registry_name":"default"}},"dist-tags":{"latest":"3.0.6","ts2.0":"3.0.0","ts2.1":"3.0.0","ts2.2":"3.0.0","ts2.3":"3.0.0","ts2.4":"3.0.0","ts2.5":"3.0.0","ts2.6":"3.0.0","ts2.7":"3.0.0","ts2.8":"3.0.0","ts2.9":"3.0.0","ts3.0":"3.0.1","ts3.1":"3.0.1","ts3.2":"3.0.1","ts3.3":"3.0.1","ts3.4":"3.0.1","ts3.5":"3.0.1","ts3.6":"3.0.1","ts3.7":"3.0.1","ts3.8":"3.0.1","ts3.9":"3.0.1","ts4.0":"3.0.1","ts4.1":"3.0.1","ts4.2":"3.0.1","ts4.3":"3.0.2","ts4.4":"3.0.2","ts4.5":"3.0.5","ts4.6":"3.0.5","ts4.7":"3.0.5","ts4.8":"3.0.5","ts4.9":"3.0.5","ts5.0":"3.0.5","ts5.1":"3.0.5","ts5.2":"3.0.6","ts5.3":"3.0.6","ts5.4":"3.0.6","ts5.5":"3.0.6","ts5.6":"3.0.6","ts5.7":"3.0.6","ts5.8":"3.0.6","ts5.9":"3.0.6","ts6.0":"3.0.6"},"name":"@types/utif","time":{"modified":"2025-08-19T22:36:44.734Z","created":"2022-01-27T21:34:13.124Z","3.0.1":"2020-05-15T13:52:14.674Z","3.0.0":"2019-02-14T19:17:56.051Z","2.0.0":"2019-02-08T00:28:59.480Z","3.0.2":"2023-08-30T20:16:45.084Z","3.0.3":"2023-10-18T17:11:11.122Z","3.0.4":"2023-11-07T18:36:03.948Z","3.0.5":"2023-11-21T01:16:47.012Z","3.0.6":"2025-08-19T22:36:13.846Z"},"readme":"# Installation\r\n> `npm install --save @types/utif`\r\n\r\n# Summary\r\nThis package contains type definitions for utif (https://github.com/photopea/UTIF.js).\r\n\r\n# Details\r\nFiles were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/utif.\r\n## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/utif/index.d.ts)\r\n````ts\r\nimport \"node\";\n\nexport as namespace UTIF;\n\nexport type TiffTag = string[] | number[];\n\n/**\n * Each IFD is an object, keys are \"tXYZ\" (XYZ is a TIFF tag number), values are values of these tags.\n * You can get the the dimension (and other properties, \"metadata\") of the image without decompressing pixel data.\n * For more information on what each tag means, refer https://github.com/photopea/UTIF.js/blob/master/UTIF.js#L742 or TIFF 6 specification.\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport interface IFD {\n    [property: string]: TiffTag | number | Uint8Array;\n    data: Uint8Array;\n    width: number;\n    height: number;\n}\n\n/**\n * Returns an array of \"IFDs\" (image file directories).\n *\n * @param buffer A Buffer or ArrayBuffer containing TIFF or EXIF data.\n */\nexport function decode(buffer: Buffer | ArrayBuffer): IFD[];\n\n/**\n * If there is an image inside the IFD, it is decoded and three new properties are added to the IFD: width, height and data.\n * Note: TIFF files may have various number of channels and various color depth. The interpretation of data depends on many tags (see the TIFF 6 specification).\n *\n * @param buffer A Buffer or ArrayBuffer containing TIFF or EXIF data\n * @param ifd The element of the output of UTIF.decode()\n */\nexport function decodeImage(buffer: Buffer | ArrayBuffer, ifd: IFD): void;\n\n/**\n * Returns Uint8Array of the image in RGBA format, 8 bits per channel (ready to use in context2d.putImageData() etc.)\n *\n * @param ifd An image file directory\n */\nexport function toRGBA8(ifd: IFD): Uint8Array;\n\n/**\n * Returns an ArrayBuffer of the binary TIFF file.\n * Note: No compression available right now.\n *\n * @param rgba A Uint8Array containing RGBA pixel data.\n * @param w Width of the image.\n * @param h Height of the image.\n * @param metadata [optional] The image file directory which should be encoded.\n */\nexport function encodeImage(rgba: Uint8Array, w: number, h: number, metadata?: IFD): ArrayBuffer;\n\n/**\n * Returns ArrayBuffer of binary data which can be used to encode EXIF data.\n *\n * @param ifds The array of IFDs (image file directories) to be encoded.\n */\nexport function encode(ifds: IFD[]): ArrayBuffer;\n\n/**\n * Replaces all Image elements in the document with Canvas elements.\n * The attributes \"id\", \"class\" and \"style\" will be copied from the original Image to the new Canvas.\n */\nexport function replaceIMG(): void;\n\r\n````\r\n\r\n### Additional Details\r\n * Last updated: Tue, 19 Aug 2025 22:35:58 GMT\r\n * Dependencies: [@types/node](https://npmjs.com/package/@types/node)\r\n\r\n# Credits\r\nThese definitions were written by [Jan Pesa](https://github.com/smajl), and [Massimiliano Caniparoli](https://github.com/massic80).","users":{}}