Add new comment

half_size and dcraw_make_mem_image()

Hi.

Thanks for LibRaw; it's a very convenient way to process raw images. However, I've run into a problem.

I'm using half_size = 1 to get small images without color interpolation fast,
and dcraw_make_mem_image() to get a copy in memory.

If I run this several times on the same image, the first image is different from the following images.

I've added a small test program, and sample images.

regards,

koen

AttachmentSize
Plain text icon dcraw.txt3.21 KB
Image icon first_image.jpg21.67 KB
Image icon next_images.jpg26.2 KB

Forums: