Add new comment

Out of order call of libraw fucntion

I'm seeing this error upon trying to extract a thumbnail from a sigma (.x3f) image:

10-18 17:06:37.936: I/JNI(6492): No error
10-18 17:06:37.936: I/JNI2(6492): No error
10-18 17:06:37.936: I/JNI3(6492): Out of order call of libraw function

when executing:

	int result = rawProcessor->open_file(str);
	result = rawProcessor->unpack_thumb();
        libraw_processed_image_t *image = rawProcessor->dcraw_make_mem_thumb(&result);

Each log corresponds to its respective line of code. The image can be processed in LightRoom. So far the same code works for just about every image I've thrown at it, but I don't understand why I would have the order error if the open was successful? Thanks!

(I can submit the image somewhere if needed)

Forums: