I have been using dcraw a lot and now trying LibRaw because I have a camer that uses cr3 files. In LibRaw I am missing two main featerus that used to be pasrt of DcRaw.
1. The possibility to keep original capture date when converting to tiff (-z in DcRaw)
2. The option to assign a camera icc profile after linear conversion ( -p )
Have those options been removed for a specifif reason?
I'm unsure how and where to access processed image data after calling libraw_dcraw_process. I noticed that imgdata.image now has a valid pointer, but looking at the 4channels samples that suggests that this is just raw data (which I can and do currently access via imgdata.rawdata.raw_image). I've also looked at calling libraw_dcraw_make_mem_image which seems to create reasonable values in libraw_processed_image_t (width, height, etc., ) but just has data as a byte array (despite 16bit processed data) length=1 (libraw_types.h has ''unsigned char data[1]" declaration).
I try to extract the right and left images of the CR3 RAW files. Can anyone help me? At this point I dont even know if its possible^^ CR2 seems to work fine.
I reproduced it using dcraw_emu.exe directly using LibRaw-0.21.2-Win64 (downloaded today, Mar 28, 2024).
To view the source and destination images, I use FastImage Viewer, and Adobe Photoshop.
I am working on converting camera-RGB to sRGB space. What I did is to first multiply the inverse of the adobe-coeff matrix with camera-RGB image (normalized to : [0,1]) (convert from camera-rgb to XYZ), then convert it to sRGB space. However, what I found is that the XYZ space has negative values. And after conversion, the minimum value of sRGB space can be lower than 0, and the maximum value can be higher than 1.
Recent comments