Skip to content
Incomplete image metadata parsers that I wrote to learn how metadata is stored in image files
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
gif.js
index.js
jpeg.js
png.js
webp.js

README.md

Incomplete Image Metadata Parsers

Incomplete image metadata parsers that I wrote to learn how metadata is stored in image files

Formats

  • JPEG
  • PNG
  • GIF
  • WebP
  • JPEG 2000

Note that implementations are incomplete even if they have checkmarks here!

Usage

Via HTTP(S) - Image format is chosen by the Content-Type header:

node index.js https://foo.com/bar.jpg

Via file system - Image format is chosen by the file extension:

node index.js ./foo.webp
You can’t perform that action at this time.