Please add support for piping like
pngoutput.exe | optipng - out.png
None of the png optimizers support this
For what it's worth, actually pngout uses stdin/out if you give "-" as the relevant filename, e.g.
pngout - - < file1.png > file2.png
Thanks for the tip!
Thanks for the suggestion. I will put this on the to-do list. It will probably not be done by the next release, and, if done, it will incur an overhead due to an extra image read/write operation (that is not done during processing of regular files); I cannot guarantee it, but I will at least look at it.
Any updates on this?
We need this for https://github.com/kevva/image-min so we can make it fully streaming.
In OptiPNG-Hg there is currently the option -stdout, but no support for stdin yet.
Log in to post a comment.