cin / stdin

Hello,

I'm not much of a c++ programmer but want to play around with libraw. I was wondering if any here could give some advice on getting dcraw_emu to read from stdin / cin. In the workflow I'm testing I would like to pass the image data this way rather than reading from a file.

Thanks,
dh

Forums: 

LibRaw need to seek to

LibRaw need to seek to arbitrary position in input stream. So, there is no way to read from stdin.

You may implement you own LibRaw_datastreeam class with full buffering.

-- Alex Tutubalin @LibRaw LLC