@applitools/image
Advanced tools
Comparing version 1.0.25 to 1.0.26
@@ -221,4 +221,4 @@ "use strict"; | ||
offset += buffer.readUInt16BE(offset); | ||
// if next segment is SOF extract size | ||
if (buffer[offset + 1] === 0xc0) { | ||
// if next segment is SOF0 or SOF2 extract size | ||
if (buffer[offset + 1] === 0xc0 || buffer[offset + 1] === 0xc2) { | ||
return { width: buffer.readUInt16BE(offset + 7), height: buffer.readUInt16BE(offset + 5) }; | ||
@@ -225,0 +225,0 @@ } |
{ | ||
"name": "@applitools/image", | ||
"version": "1.0.25", | ||
"version": "1.0.26", | ||
"description": "Image primitive used for capturing and manipulating screenshots", | ||
@@ -53,3 +53,3 @@ "homepage": "https://applitools.com", | ||
"devDependencies": { | ||
"@applitools/bongo": "^2.2.2", | ||
"@applitools/bongo": "^2.2.5", | ||
"@types/mocha": "^9.1.1", | ||
@@ -56,0 +56,0 @@ "@types/node": "12", |
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
46269