esimov / caire

Content aware image resize library
MIT License
10.36k stars 384 forks source link

add support for piping with stdin and stdout (#43) #56

Closed calebdoxsey closed 4 years ago

calebdoxsey commented 4 years ago

Hi. This adds support for using stdin/stdout when the file name is -. This should fix #43.

esimov commented 4 years ago

Hey @calebdoxsey thanks for this amazing work. I will review it and if everything is ok I will merge it back to the master. I will let you know.

esimov commented 4 years ago

@calebdoxsey could you update the readme file with a few examples of how the library can be used with stdin/stdout pipes?

calebdoxsey commented 4 years ago

Thanks @esimov for the quick review. I've updated the readme with an example.

calebdoxsey commented 4 years ago

@esimov that makes sense. I updated the code to only show the message when not using stdout.

esimov commented 4 years ago

@calebdoxsey i've accepted your PR and merged it back to the master branch. A huge thanks for the work you have done.