Write image data to standard output

Hi Team,

I'm just starting to learn about libraw and playing around the dcraw_emu. In the old dcraw, there is an option to write image data to standard output, "-c".

I wonder if there's a same functionality in dcraw_emu (based on libraw) or if none, is there a way to achieve the same functionality?

Forums: 

dcraw_emu w/o args displays:

dcraw_emu w/o args displays:

-Z Output filename generation rules
.suf => append .suf to input name, keeping existing suffix too
suf => replace input filename last extension
- => output to stdout
filename.suf => output to filename.suf

is that what you were asking about?

-- Alex Tutubalin @LibRaw LLC

I have tried to add some

I have tried to add some options like "-t 5 -Z -" (flip 90 CCW and output to stdout), but it seems like it doesn't apply the flip on the output. am i missing something?

Works for me: dcraw_emu.exe

Works for me: dcraw_emu.exe -t 5 -Z - filename >0.ppm
(-T ... > 0.tif works too)

-- Alex Tutubalin @LibRaw LLC

tried the 64-bit version and

tried the 64-bit version and it worked fine, but using the compiled 32-bit version had issue. don't know why. i'll try to investigate on this more (maybe some configuration issues on my side). are there difference between 64 and 32?

Generally, there shouldn't be

Generally, there shouldn't be a difference between 32- and 64-bit versions.
In practice, 32-bit builds have not been tested for a long time.

Could you please provide the RAW file you're testing with: for analysis

-- Alex Tutubalin @LibRaw LLC