exif-parser
Advanced tools
+0
-3
@@ -185,5 +185,2 @@ /*jslint browser: true, devel: true, bitwise: false, debug: true, eqeq: false, es5: true, evil: false, forin: false, newcap: false, nomen: true, plusplus: true, regexp: false, unparam: false, sloppy: true, stupid: false, sub: false, todo: true, vars: true, white: true */ | ||
| app1Offset = sectionOffset; | ||
| console.log('setting app1Offset to ', app1Offset); | ||
| } else { | ||
| console.log('not setting them'); | ||
| } | ||
@@ -190,0 +187,0 @@ } |
+1
-1
| { | ||
| "name" : "exif-parser", | ||
| "version" : "0.1.5", | ||
| "version" : "0.1.6", | ||
| "description" : "A javascript library to extract Exif metadata from images, in node and in the browser.", | ||
@@ -5,0 +5,0 @@ "author" : "Bruno Windels <bruno.windels@gmail.com>", |
+8
-5
@@ -23,21 +23,24 @@ exif-parser | ||
| Add fields in the binary format to result. Since these fields are mostly used for internal fields like Padding, you generally are not interested in these. If enabled, values for these fields will be a Buffer object in node or an ArrayBuffer in DOM environments (browsers). | ||
| parser.enableBinaryFields([boolean]), default false; | ||
| Needs to be documented. | ||
| EXIF tags are organized into different sections, and to tell you the offset to other sections, EXIF uses certain tags. These tags don't tell you anything about the image, but are more for parsers to find out about all tags. Hence, these "pointer" fields are not included in the result tags field by default. Change this flag to include them nonetheless. | ||
| parser.enablePointers([boolean]), default false; | ||
| Needs to be documented. | ||
| Resolve tags to their textual name, making result.tags a dictonary object instead of an array with the tag objects with no textual tag name. | ||
| parser.enableTagNames([boolean]), default true; | ||
| Needs to be documented. | ||
| Read the image size while parsing. | ||
| parser.enableImageSize([boolean]), default true; | ||
| Needs to be documented. | ||
| Read the EXIF tags. Could be useful to disable if you only want to read the image size. | ||
| parser.enableReturnTags([boolean]), default true; | ||
| Needs to be documented. | ||
| EXIF values can be represented in a number of formats (fractions, degrees, arrays, ...) with different precision. | ||
| Enabling this tries to cast values as much as possible to the appropriate javascript types like number, Date. | ||
@@ -44,0 +47,0 @@ parser.enableSimpleValues([boolean]), default true; |
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
380908
0.23%62
5.08%1588
-0.19%