Add new comment


You note that this will return either JPEG or RGB. Why not leave this in PPM format like dcraw_thumb_writer?

Additionally there's a typo in the documentation as it states that the type will be LIBRAW_IMAGE_JPEG, regardless. I checked the code and it appears to correctly type LIBRAW_IMAGE_BITMAP for RGB output.