Comparing version 0.1.6 to 0.1.7
{ | ||
"name": "piexifjs", | ||
"version": "0.1.6", | ||
"version": "0.1.7", | ||
"description": "Read and write exif.", | ||
@@ -5,0 +5,0 @@ "main": "piexif.js", |
@@ -5,7 +5,7 @@ # Piexifjs | ||
Read and modify exif. Library to modify exif in JS(both client-side and Node.js). | ||
http://piexifjs.readthedocs.org/en/latest/index.html | ||
[http://piexifjs.readthedocs.org/en/latest/index.html] | ||
## How to Use | ||
- *var exifObj = load(jpegData)* - Get exif data as *object*. *jpegData* must be a *string* that starts with "\data:image/jpeg;base64,"(DataURL), "\\xff\\xd8", or "Exif". | ||
- *var exifObj = load(jpegData)* - Get exif data as *object*. *jpegData* must be a *string* that starts with "data:image/jpeg;base64,"(DataURL), "\\xff\\xd8", or "Exif". | ||
- *var exifStr = dump(exifObj)* - Get exif as *string* to insert into JPEG. | ||
@@ -17,3 +17,3 @@ - *insert(exifStr, jpegData)* - Insert exif into JPEG. If *jpegData* is DataURL, returns JPEG as DataURL. Else if *jpegData* is binary as *string*, returns JPEG as binary as *string*. | ||
var piexif = require("piexif.js"); | ||
var piexif = require("piexifjs"); | ||
var fs = require("fs"); | ||
@@ -20,0 +20,0 @@ |
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