Image Size

Version 0.1.1

Image Size

Intro

Very simple command line tool for macOS.
In theory, should run on silicon macs. Don't have one to test on. Email me if it does.

Prints the image file size to standard output in the form of {XXX,XXX}.
If it is not an image file or size cannot be determined, {-1,-1} will be outputted.
Tool run without any arguments will print help.
Only JPG, GIF & PNG are supported at the moment.

Download

Disk Image 52KiB
Deployment target is macOS 12.3. First time I have distributed a file with code signing. Let me know if it works.

Versions

v0.1.1

Bug Fix: large jpeg files may return {-1,-1}