Skip to content

Commit

Permalink
Add tiff tags specification command
Browse files Browse the repository at this point in the history
  • Loading branch information
Wetteren Rémi committed Apr 2, 2020
1 parent b33768c commit e57f371
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions UTIF.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ this.K(a):this.J(a);if (f)return this.H(a)}return a}}; UTIF.JpegDecoder=g})()})(
* @param Object [optional]: IFD object
* @return ArrayBuffer of the binary TIFF file
*/
UTIF.encodeImage = function(pixelList, w, h, metadata)
{
UTIF.encodeImage = function(pixelList, w, h, metadata) {
// See TIFF Tags specifications : https://www.loc.gov/preservation/digital/formats/content/tiff_tags.shtml
let idf = {
"t256":[w], // Image width
"t257":[h], // Image length
Expand Down

0 comments on commit e57f371

Please sign in to comment.