Add new comment

I've modified mem-image,

I've modified mem-image sample, added line:

printf("Type=%d\n",thumb->type);

after the line

libraw_processed_image_t *thumb = RawProcessor.dcraw_make_mem_thumb(&ret);

And, yes, mem-image -e writes thumbnail as expected (in PPM format because it it bitmap).

Also, our FastRawViewer (that uses LibRaw::unpack_thumb to extract thumbnails) works fine with these files.

-- Alex Tutubalin @LibRaw LLC