photo-data-viewer
exiftool-vendored.js
photo-data-viewer | exiftool-vendored.js | |
---|---|---|
2 | 4 | |
2 | 398 | |
- | 3.0% | |
6.4 | 9.2 | |
9 months ago | 26 days ago | |
TypeScript | TypeScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
photo-data-viewer
-
Replacing <img> with <div> when img.onerror is called
As an actual example, I'm developing Photo Data Viewer. This is an app to check Exif data of a photo. When the file other than photos are specified (i.e. files cannot be displayed with ), it displays "Unsupported File Format" using
-
Creating multiple Vercel deployments with different configurations from a single GitHub repo
The motivation is that I want to deploy photo-data-viewer repo as 1) a standalone web app called Photo Data Viewer and 2) a feature in an Electron app called Photo Location Map.
exiftool-vendored.js
-
Exploring EXIF
Know that although ExifTool is written in perl, you can run it in "batch mode" which makes it quite fast--only a couple of ms to parse a file. I've written an open source library to manage the subprocesses for you if you're using node.js (and I also wrote the ruby variant ages ago):
https://github.com/photostructure/exiftool-vendored.js
-
Lychee – Self-hosted photo-management done right
The frontend is in Vue. Both the FE and BE are in TypeScript.
Parallelism is provided by https://github.com/photostructure/batch-cluster.js/
Metadata reads and writes are via https://github.com/photostructure/exiftool-vendored.js/
My more nerdier blog posts are tagged here: https://photostructure.com/tags/coding/
-
FS-Viewer 1.2.0 - Now stable on Windows
if you're looking into doing stuff with EXIF, there's a really good library that's also typed: https://github.com/photostructure/exiftool-vendored.js
-
Ask HN: What are some tools / libraries you built yourself?
I needed a good Node wrapper for ExifTool and wrote https://github.com/photostructure/exiftool-vendored.js
When I saw how slow it is to fork child processes in Windows, I then realized I wanted to run ExifTool in "stay-open" mode, which meant I needed to manage 1 or more long-lived child processes that communicate via stdin/stdout, so I wrote https://github.com/photostructure/batch-cluster.js
I also really missed scala's `lazy` operator, so I built that (and several other small, helpful functions/classes) that I documented here: https://photostructure.com/coding/uncertain-lazy-forgetful-a...
What are some alternatives?
photoview - Photo gallery for self-hosted personal servers
qrcode - qr code generator
gm - GraphicsMagick for node
ImageScript - zero-dependency JavaScript image manipulation
is-progressive - Check if JPEG images are progressive
jimp - An image processing library written entirely in JavaScript for Node, with zero external or native dependencies.
image-type - Detect the image type of a Buffer/Uint8Array
sharp - High performance Node.js image processing, the fastest module to resize JPEG, PNG, WebP, AVIF and TIFF images. Uses the libvips library.
pica - Resize image in browser with high quality and high speed
Korkut - Quick and simple image processing at the command line. :hammer:
FFCreator - A fast video processing library based on node.js (一个基于node.js的高速视频制作库)
lwip - Light Weight Image Processor for NodeJS