LibRaw technical support

Stable LibRaw versions: technical support, errors, API questions

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: 

Limit on number of images in file?

First, thanks very much for LibRaw, it is really helping me.

I'm pulling images out of files with many (many!) images,
and I've reached a strange limit. After exactly 486 frames (images),
I get a corrupted data exception. I've tried starting at the 400th
frame and I still get stopped at frame 486. The source file is
a cine file with frames of 2048 * 1080 16bit * RBG images in it.
I don't think that this creates any problem with an lseek, but I could be
wrong.
I've tried to see where the corrupted data exception is thrown,
but the code is err, somewhat opaque :-).

Forums: 

Out of order call to libraw function

While attempting to get more than one image from a file which contains several, using

OUT.shot_select, I'm getting the error

'Out of order call to libraw function'.

I assume that I have to release some resource or reset the image processor in
some way, but I can't see how to from the documentation. Perhaps you could
englighten me...

Thanks in advance

Mike

Forums: 

OS X version -- Issues

I've been working on getting the libraw library going with OS X and have hit several issues. If I build a simple test app and use the pre-built library, I can get things working just fine. The samples run as well. The issue comes when I try to build on Tiger and yet have support for Leopard.

The pre-built library appears to have been built on Leopard and wasn't built with support for 10.4. I modified the Makefile to add the required flags and build as a Universal Binary:

Forums: 

Pages

Subscribe to RSS - LibRaw technical support