<div dir="ltr">Dear all, <div><br></div><div>I was wondering if there is a way to load an image file that was streamed to a c++ program by cin.</div><div><br></div><div>To be more specific I would like to retrieve an image via cURL and input the content to a c++ program using ITK filters and so on. </div><div><br></div><div>Is there a way to hack ImageIOFactory or ImageIO to use the input content instead of loading the data from disk?</div><div><br></div><div>Please let me know if you have any ideas or suggestions. </div><div><br></div><div>I understand that the simple solution will be to write the file to disk and then execute the program but I would like to try it out this way. </div><div><br></div><div><br></div><div>Best, </div><div><br></div><div>Juan</div><div><br></div><div> </div></div>