Comparing version 5.0.2 to 5.0.3
import { IOBuffer } from 'iobuffer'; | ||
import { guessStripByteCounts } from './hacks'; | ||
import { applyHorizontalDifferencing8Bit, applyHorizontalDifferencing16Bit, } from './horizontalDifferencing'; | ||
@@ -172,3 +173,3 @@ import IFD from './ifd'; | ||
const stripOffsets = ifd.stripOffsets; | ||
const stripByteCounts = ifd.stripByteCounts; | ||
const stripByteCounts = ifd.stripByteCounts || guessStripByteCounts(ifd); | ||
let remainingPixels = size; | ||
@@ -175,0 +176,0 @@ let pixel = 0; |
@@ -7,2 +7,3 @@ "use strict"; | ||
const iobuffer_1 = require("iobuffer"); | ||
const hacks_1 = require("./hacks"); | ||
const horizontalDifferencing_1 = require("./horizontalDifferencing"); | ||
@@ -178,3 +179,3 @@ const ifd_1 = __importDefault(require("./ifd")); | ||
const stripOffsets = ifd.stripOffsets; | ||
const stripByteCounts = ifd.stripByteCounts; | ||
const stripByteCounts = ifd.stripByteCounts || (0, hacks_1.guessStripByteCounts)(ifd); | ||
let remainingPixels = size; | ||
@@ -181,0 +182,0 @@ let pixel = 0; |
{ | ||
"name": "tiff", | ||
"version": "5.0.2", | ||
"version": "5.0.3", | ||
"description": "TIFF image decoder written entirely in JavaScript", | ||
@@ -50,3 +50,3 @@ "main": "lib/index.js", | ||
"eslint": "^8.1.0", | ||
"eslint-config-cheminfo-typescript": "^10.1.1", | ||
"eslint-config-cheminfo-typescript": "^10.2.2", | ||
"jest": "^27.3.1", | ||
@@ -53,0 +53,0 @@ "prettier": "^2.4.1", |
import { IOBuffer } from 'iobuffer'; | ||
import { guessStripByteCounts } from './hacks'; | ||
import { | ||
@@ -205,3 +206,3 @@ applyHorizontalDifferencing8Bit, | ||
const stripOffsets = ifd.stripOffsets; | ||
const stripByteCounts = ifd.stripByteCounts; | ||
const stripByteCounts = ifd.stripByteCounts || guessStripByteCounts(ifd); | ||
@@ -208,0 +209,0 @@ let remainingPixels = size; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
181935
81
3521