REDROOM
PHP 8.2.30
Path:
Logout
Edit File
Size: 1.66 KB
Close
/home/byroehnu/.trash/node_modules11/jpeg-exif/README.md
Text
Base64
# jpeg-exif Get exif information from jpeg format file. Works with TIFF too! [][npm-url] [](http://inch-ci.org/github/zhso/jpeg-exif) [](https://travis-ci.org/zhso/jpeg-exif) [](https://coveralls.io/github/zhso/jpeg-exif?branch=master) [npm-url]: https://npmjs.org/package/jpeg-exif ### Async ```js import exif from "jpeg-exif"; const filePath = "~/Photo/IMG_0001.JPG"; exif.parse(filePath, (err, data) => { if (err) { console.log(err); } else { console.log(data); } }); ``` ### Sync ```js import exif from "jpeg-exif"; const filePath = "~/Photo/IMG_0001.JPG"; const data = exif.parseSync(filePath); console.log(data); ``` ## From Buffer ```js import fs from "fs"; import exif from "jpeg-exif"; const filePath = "~/Documents/DOC_0001.TIFF"; const buffer = fs.readFileSync(filePath); const data = exif.fromBuffer(buffer); console.log(data); ``` ## Features * Support All CP3451 Standard Tags (Include GPS & SubExif Tags) * Support Sync, Async * Support pass Buffer Type ## Installation ```bash $ npm i jpeg-exif ``` ## Callback Data Format ```js { "Make": "Apple", "Model": "Apple", //... "SubExif": [ "DateTimeOriginal": "2015:10:06 17:19:36", "CreateDate": "2015:10:06 17:19:36", //... ], "GPSInfo":[ "GPSLatitudeRef": "N", "GPSLatitude": [ 35, 39, 40.08 ], //... ] } ```
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 3 × Files: 6
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
lib
DIR
-
drwxr-xr-x
2026-02-14 19:20:16
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
src
DIR
-
drwxr-xr-x
2026-02-14 19:20:16
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
test
DIR
-
drwxr-xr-x
2026-02-14 19:20:16
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
.babelrc
32 B
lrw-r--r--
2026-02-14 19:19:12
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
.eslintrc.json
32 B
lrw-r--r--
2026-02-14 19:20:14
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
.travis.yml
171 B
lrw-r--r--
2026-02-14 19:20:16
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
LICENSE.txt
1.05 KB
lrw-r--r--
2026-02-14 19:20:16
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
package.json
1.17 KB
lrw-r--r--
2026-02-14 19:20:16
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
README.md
1.66 KB
lrw-r--r--
2026-02-14 19:20:16
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).