Nevertheless I am asking which native libs must I package with the shared lib (libraw.dll / libraw.20.so / ...) so that libraw is working as expected and the user does not have on a standard system (libjasper ?, libjpeg ?).
I am not an C expert and therefore I do not know if the libs are only compile dependend libs or if those libs are needed for runtime as well ?
Hi,
I'm trying to code a very simple raw developing tool. First I want to read and understand the data libraw provides.
But the data I get does not represent the colors in PhotoShop by any means. They are not off by a some digits, they seem to be completely different. The data I get is in the xls and the coresponding first 10x10 pixels from Photoshop. Unfortuantely the cr2 is too big to upload.
What am I missing here or where is the "useable" image data stored?
I am under way to build libraw support for another media management system called Photoslide (github.com/lanthale/photoslide) and wanted to add libraw support.
Using java and the foreign memory api I can access libraw without any issues.
Nevertheless I am facing the issue how I can access the rgb (rgba) values of the in memory image because I do not want to write first a tiff file and then read the pixels again from the temp file.
I am developing an interface between javafx and libraw. Generally it is now working but only if I write directly to a TIFF or PPM file. I do not want writing first into a temp file and reading again from that file. Instat I want to use the memory image from libraw.
The problem actually I am facing with it is accessing the data from the call "libraw_dcraw_make_mem_image". From the documentation it should be an array of rgb pixels but all I am getting is one character back from an memorysegment.
My app is written with JavaFX and therefore I want to use libraw via the newly ability of JDK16 to access native libs (C Libs) without writing any glue code.
It looks like there is a subset of Lumix DMC-LX100 II images that are coming out magenta. I intercepted the Bayer pattern outside of LibRaw and it is coming out as:
12
01
if I manually change it to
21
10
then the image is demosaiced correctly. It looks like the pattern is off by one.
I should mention FastRawViewer is also showing the incorrect color.
Is this a known issue? Is there a patch or could you point me to where in LibRaw it could be fixed?
Recent comments