Recent comments

Reply to: libraw 0.20.0 returns incorrect D65 multipliers and rgb_cam for ERBG file   3 months 1 week ago

Alex,
I understand there is no "right" answer when rendering an RGB image from CFA data. The images in 0.20.0 and 0.20.2 look quite similar (no opinion on which is better, they both look good).

I wanted to confirm that the changed value in 0.20.2 was expected and not accidental because it matched the values from an older behaviour.

Regards,
Dinesh

Reply to: libraw 0.20.0 returns incorrect D65 multipliers and rgb_cam for ERBG file   3 months 1 week ago

I cannot understand your question. You complained 0.20.0/raw-identify displays incorrect data for some color matrices. We fixed that in 0.20.1/0.20.2. What exactly is the problem?

Reply to: libraw 0.20.0 returns incorrect D65 multipliers and rgb_cam for ERBG file   3 months 1 week ago

Alex,
I am upgrading to 0.20.2 and I noticed for this file, the rgb_cam value matches that of 0.19.5 instead of 0.20.0.

The raw-identify output on 0.20.2 has the following:
Camera2RGB matrix (mode: 1):
1.6374 -0.2528 -0.0035 -0.3811
0.0672 0.8224 -0.5306 0.6410
-0.0009 -0.3551 1.4153 -0.0593

which matches 0.19.5 (see comments above). Is this intentional?

Regards,
Dinesh

Reply to: Using libraw_dcraw_make_mem_image   3 months 1 week ago

Sorry, know nothing about C# (both generally and specific wrapper you use)

Reply to: Using libraw_dcraw_make_mem_image   3 months 1 week ago

Ok, so reducing quality is with libraw_set_demosaic(handler, LibRaw_interpolation_quality.LINEAR); ?
I tried it and its speeding up the process already a little bit.

Unfortunate I can't access the params-scruct from SharpLibRaw, its not implemented, so I'm not able to play with  params.user_qual and/or use half-size.

Just to remember, I'm using c#

Reply to: Using libraw_dcraw_make_mem_image   3 months 1 week ago

If so, you need raw to rgb interpolation that is performed by dcraw_process(). Reducing quality (or using half_mode) will speed-up things.

Reply to: Using libraw_dcraw_make_mem_image   3 months 1 week ago

I need a rgb-pixmap.

Reply to: Using libraw_dcraw_make_mem_image   3 months 1 week ago

And followup: what 'pixels' do you need? Original raw values, or processed RGB pixmap?

Reply to: Using libraw_dcraw_make_mem_image   3 months 1 week ago

dcraw_process() parameters are adjusted via imgdata.params: https://www.libraw.org/docs/API-datastruct.html#libraw_output_params_t

Reply to: Using libraw_dcraw_make_mem_image   3 months 1 week ago

Sorry, how? With what function?
All I need is the pixels, but for 100.000 photos, which takes ages now since libraw_dcraw_process() needs 5-7sec per photo.

Reply to: Using libraw_dcraw_make_mem_image   3 months 1 week ago

One may adjust params.user_qual and/or use half-size interpolation.

Reply to: Using libraw_dcraw_make_mem_image   3 months 1 week ago

Thanks Alex,

I found the pixels now in data[]. Its an c#-marshaling issue, wish needs a few more steps.

I also realized, that libraw_dcraw_process(handler); takes quiet a lot of time, several seconds, depending on the image-size. Is is really necessary for libraw_dcraw_make_mem_image()? Or is there a faster way to get the image?

Reply to: unexpected token `ZLIB,zlib,'   3 months 1 week ago

This happens when pkg-config has not been installed when running autoreconf prior to executing configure script.

Reply to: Using libraw_dcraw_make_mem_image   3 months 1 week ago

Followup: look into samples/mem_image_sample.cpp

Reply to: Using libraw_dcraw_make_mem_image   3 months 1 week ago

Data is not empty,

your pixels are in data[0].....data[data_size-1]

Reply to: Using libraw on Mac with c#   3 months 2 weeks ago

glad to hear that my assistance helped.

Reply to: Using libraw on Mac with c#   3 months 2 weeks ago

Thanks Alex, with your detailed description I was able to compile the libraw.dylib and its working now with Xamarin.Mac,
Tom

Reply to: Using libraw on Mac with c#   3 months 2 weeks ago

The easiest way to create libraw.dylib is to run

./configure
make

Note: on fresh enough macOS this command sequence may end with ...blabla...aclocal-1.15 missing
In that case you need to recreate ./configure script by using

autoreconf --install

To run that you'll need these software packages: autoconf, automake, libtool, pkg-config. You may install it using macports or homebrew, or just download source code and install (please note: autoconf 2.70 is not working for unknown reason, use version 2.69)

Reply to: Canon R5 .CR3 files open with incorrect colors   3 months 2 weeks ago

Yes!

Reply to: Canon R5 .CR3 files open with incorrect colors   3 months 2 weeks ago

Will this be supported in the near future?

Thorsten

Reply to: Canon R5 .CR3 files open with incorrect colors   3 months 2 weeks ago

R5 uses new metadata format which is not supported by LibRaw 0.20.

Reply to: LibRaw 0.20 supported cameras   3 months 2 weeks ago

We plan to support it in next public snapshot.

Reply to: LibRaw 0.20 supported cameras   3 months 2 weeks ago

Do you have any plan to support brand new Sony A7C?
Thanks in advance.

/Yangsoo

Reply to: std::map with LibRaw   3 months 2 weeks ago

It seems like a lot of time has passed, but is there any solution?

Reply to: Extension RAW CR3 only works on system disk   3 months 2 weeks ago

If you're talking about 'Microsoft RAW image extension', please contact vendor (Microsoft).

We're not involved in this product development in any way and not responsible for it.

Pages