I wanna make a bunch of little utils to process photos. I think I will make it so I can do:

jpg -9t img.jpg | crop 0 0 640 480 | resize 0.5 0.5 | balance 0.9 1 1.1 > export.jpg

@neauoire I'm not sure that the pipes offer a lot over one program with flags (say convert from Image Magick, for all its flaws).

The shell would spawn N processes here, even if they share libs, you may waste memory loading a picture N times, right?

Also, how will crop or resize know the format from its stdin?


@neauoire as if I needed more reasons to try plan9. :)

Sign in to participate in the conversation

Server run by the main developers of the project 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!