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.
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?
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)
LibRaw I/O layer (LibRaw*datastream) has changed (simplified) in LibRaw 0.20, so if FreeImage uses own LibRaw I/O implementation (subclass of LibRaw_abstract_datastream) it should be changed too.
Thanks. Hopefully that will support the compression option of these cameras also? How long does it then typically take MS to incorporate them into the add-ons for Windows Explorer?
dcraw_process() parameters are adjusted via imgdata.params: https://www.libraw.org/docs/API-datastruct.html#libraw_output_params_t
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.
One may adjust params.user_qual and/or use half-size interpolation.
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?
This happens when pkg-config has not been installed when running autoreconf prior to executing configure script.
Followup: look into samples/mem_image_sample.cpp
Data is not empty,
your pixels are in data[0].....data[data_size-1]
glad to hear that my assistance helped.
Thanks Alex, with your detailed description I was able to compile the libraw.dylib and its working now with Xamarin.Mac,
Tom
The easiest way to create libraw.dylib is to run
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
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)
Yes!
Will this be supported in the near future?
Thorsten
R5 uses new metadata format which is not supported by LibRaw 0.20.
We plan to support it in next public snapshot.
Do you have any plan to support brand new Sony A7C?
Thanks in advance.
/Yangsoo
It seems like a lot of time has passed, but is there any solution?
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.
Hello Alex,
thanks for your answer!
So I will have to wait for a new FreeImage version or try to fix the FreeImage environment myself - good to know that :-)
Thanks again and merry Christmas,
Michael
Sorry, know nothing about FreeImage.
LibRaw I/O layer (LibRaw*datastream) has changed (simplified) in LibRaw 0.20, so if FreeImage uses own LibRaw I/O implementation (subclass of LibRaw_abstract_datastream) it should be changed too.
We're completely unaware of MS schedule
Thanks. Hopefully that will support the compression option of these cameras also? How long does it then typically take MS to incorporate them into the add-ons for Windows Explorer?
Thanks.
EOS R5/R6 support is expected in next 'public snapshot'
Hi, when will it be compatible with the canon eos R5 camera?
std::map test; ->
std::map<std::string, LibRaw> test;
Pages