This does not occur, when I make the free-function defined in the libraw class public and use it to free the memory. What is the cause and solution to this problem?
Hi,
when building kdegraphics 4.4.3 on OpenSolaris with the Sun Studio 12U1 compiler, the code inherited from LibRaw fails to build saying:
...
"/.../srcdir/libs/libkdcraw/libraw/libraw/libraw_types.h", line 109: Error: "}" expected instead of "start of omp pragma".
"/.../srcdir/libs/libkdcraw/libraw/libraw/libraw_types.h", line 109: Error: A declaration does not specify a tag or an identifier.
"/.../srcdir/libs/libkdcraw/libraw/libraw/libraw_types.h", line 109: Error: Use ";" to terminate declarations.
On Linux, why does the makefile install everything to /usr/local? It would be better to install to /usr. Can you add a proper configure script, or just change all the /usr/local to /user?
The reason for this, is that various programs that use libraw (such as shotwell: http://yorba.org/shotwell/) would be much easier to install if all we had to do was make, sudo make install.
As the title says I am working on implementing a custom demosaic algorithm. I am having some trouble writing intermediate results to file. I have been trying to use dcraw_ppm_tiff_writer() but I seem to be missing G2 in the output. I have the same problem trying to write the raw (opened and unpacked file) to a TIFF. Does anyone have a suitable example?
I'm not much of a c++ programmer but want to play around with libraw. I was wondering if any here could give some advice on getting dcraw_emu to read from stdin / cin. In the workflow I'm testing I would like to pass the image data this way rather than reading from a file.
First, thanks very much for LibRaw, it is really helping me.
I'm pulling images out of files with many (many!) images,
and I've reached a strange limit. After exactly 486 frames (images),
I get a corrupted data exception. I've tried starting at the 400th
frame and I still get stopped at frame 486. The source file is
a cine file with frames of 2048 * 1080 16bit * RBG images in it.
I don't think that this creates any problem with an lseek, but I could be
wrong.
I've tried to see where the corrupted data exception is thrown,
but the code is err, somewhat opaque :-).
While attempting to get more than one image from a file which contains several, using
OUT.shot_select, I'm getting the error
'Out of order call to libraw function'.
I assume that I have to release some resource or reset the image processor in
some way, but I can't see how to from the documentation. Perhaps you could
englighten me...
Is it possible to develop a region of the image. For example the image is 1000x1000 pixels in size but I want a rectangle of pixels 100x100 at the position x = 200, y = 300.
Sorry in advance, if I missed the answer in the documentation.
Recent comments