image-headers
Advanced tools
Comparing version 0.2.4 to 0.2.5
@@ -5,3 +5,3 @@ // Generated by CoffeeScript 1.4.0 | ||
MAX_SIZE = 10000000; | ||
MAX_SIZE = 32768; | ||
@@ -98,6 +98,8 @@ exif = require('exif'); | ||
} | ||
local_this.exif_data = exif_data; | ||
} | ||
local_this.exif_data = exif_data; | ||
return callback(err, local_this); | ||
}); | ||
} else { | ||
return callback(null, local_this); | ||
} | ||
@@ -227,3 +229,7 @@ } else { | ||
ImageHeaders.prototype.check_tiff_state = function(b, i) {}; | ||
ImageHeaders.prototype.check_tiff_state = function(b, i) { | ||
this.height = 0; | ||
this.width = 0; | ||
return this.finished = true; | ||
}; | ||
@@ -230,0 +236,0 @@ ImageHeaders.prototype.identify_format = function(b) { |
{ | ||
"name": "image-headers", | ||
"version": "0.2.4", | ||
"version": "0.2.5", | ||
"description": "Parse image headers from a stream without loading the entire image.", | ||
@@ -5,0 +5,0 @@ "keywords": ["exif", "jpeg", "jpg", "gif", "png", "streaming"], |
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
12442
266