Skip to content

Show HN: Photu – a shell pipe CLI for batch image processing, built on libvips

github.com/u84u
3 pointsu84u4 comments
On HN

Comments

u84uOP

author here, i built this so resize/crop/write could just be normal shell pipes, running as one libvips pass instead of bouncing images between processes.

pretty good use of libvips, I am amazed by the response time!!

u84uOP

this is because, instead of images/media being decoded and encoded per operation, only on the last `photu write` call, until then it is only creating a JSON plan, which is also checked for bad args. no need to touch a pixel until you know all the operations that will be taking place!

amazing!!

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.