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

Comments

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.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.