It states that the output is either JPEG or RGB bitmap. What is it in the case of a PPM thumb model? The output does not appear to be either a JPEG, bitmap, or PPM.
I've checked the header and it's certainly not PPM.
I've tried loading the buffer into a bitmap in Java and it fails.
I can however dump the PPM thumbnail via dcraw_thumb_writer, so it can be processed.
When i load a raw file (dng, converted via Lightroom from canon cr2), process it and try to save it into jpg, every like 175-200 lines are skipped, so the overall image has less height and the rest is filled with black.
I trying to get correct color after iProcessor.unpack(), but was puzzled by contents of libraw_colordata_t structure. Suppose that I have already done demosaicing but still have color in camera color space. What formulas do I need to use to convert (R,G,B) -> (X,Y,Z)? I tried these without success:
Hi,
I'm trying out Libraw 14.6 and many images seem to work fine, but an old Nikon D70 NEF is causing crashes that seem to occur in scale_colors.
Can someone please test this file with the latest version and let me know if the crash is real or I am doing something wrong when using the library? http://saar.se/temp/_DSC0178.NEF
Recent comments