I would like to know if it's possible to use libraw to edit exif related metadata, by passing data structure to some other library like libexif or similar.
I'm interested in changing Lens related information (name, id, type...), aperture and focal length inside a CR2 file.
.
I had a look to the documentation and found that libraw parse metadata and save the above info in libraw_lensinfo_t and libraw_makernotes_lens_t; if I understand right they are read-only but is possible to install hook for EXIF data when parsing file.
I am starting to use LibRaw for my own software package (Astro Pixel Processor). I have already written full metadata extraction of TIFF IFDs, EXIF & Makernote tags and Raw conversion of both Canon CR2 and Nikon NEF files.
I have now started with building LibRaw support into my software using Java JNI and I am testing this now on Sony ARW files.
I am able to retreive the Sony arw raw data and I am also able to get certain important metadata values like exposure time, time of exposure, iso etc...
Hello.
I've tried FastRawViewer and an python libraw(rawpy) parser for reading some CMYK raw image data.
However, none of them was able to read my file.
Until now the only way i've found to read this file is by using Photoshop (opening it there renamed as .raw).
I uploaded a sample of the file i mentioned to google drive:
It is a GrayScale 1-Channel file. Dimensions 305wx374h.
I implemented the simple generic decode using the dcraw model. I see that the resulting image quality is sometimes fine, sometimes problematic (brightness and color conversion incorrect). What am I missing? Am I expected to understand each camera's characteristics and add post-processing to correct the image?
I got the latest master branch, and when I decode the thumbnail for newer cameras such as Sony A73 and Fuji X-H1, thumbnail.tformat still returns LIBRAW_THUMBNAIL_UNKNOWN.
rawProcessor->unpack_thumb() does return LIBRAW_SUCCESS.
Despite getting LIBRAW_THUMBNAIL_UNKNOWN, I go ahead and treat it as LIBRAW_THUMBNAIL_JPEG and I was able to get the thumbnail (preview image) successfully.
I thought those newer cameras are supported in the master branch, so why am I still get LIBRAW_THUMBNAIL_UNKNOWN return code?
Is there a page where someone without compilation skills like me can download compiled current alpha/beta snapshots without having to wait for major releases?
The documentation for unprocessed_raw says that it supports a -B switch to optionally subtract blacks but the .exe implementation does not include it. I am not good at compiling stuff, could you include -B in the next .exe release? It would be very useful.
I have a file from "fswebcam --dumpfile" that is just a stream of 8 bit pixel values. There is no other data in the file. Is it possible to read this into LibRaw and demosaic it into a file such as a TIFF or JPEG file? When I try to read the file in with imread(), it says that the file has an unsupported format.
Basically I want to be able to specify the XY size of the file and the pixel format so that LibRaw can read the file.
Recent comments