c++ - Is it possible to output a file? (note, not "to" a file) -


i'm thinking write script uses 1 program make image files, , program analyse these files.

the simplest way use piping, these image files, not text files, instead of outputting text wondering possible have image file output of program?

if not, suppose write image files directory, process them, delete them, i'd still know possibility of program's output.

edit: sorry should have mentioned, free change/add first program (that makes images) second program not code, , takes .jpg input.

there nothing wrong piping binary data across pipe! need add bit of control protocol if want pipe multiple files, e.g., indicate different files. example, might want send size followed bytes making image.


Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -