Recent comments

Reply to: Compiling Libraw with RawSpeed   1 year 6 months ago

once I "make -f makefile.dist", how am I supposed to use the libraw/rawspeed compiled code with my code?

Reply to: Compiling Libraw with RawSpeed   1 year 6 months ago

Makefile.dist does not contain any reference to CMake/CMakeLists.txt so I do not know what the problem source is, sorry.

Reply to: Comb distribution after PhaseOne image debayering   1 year 6 months ago

Hi Alex,

Thank you for your reply. After further analysis, it seems that this kind of histogram is to be expected. I think part of the confusion for me was because I initially assumed that the values coming from the camera will occupy the first 14 bits of the 16-bit range. They are instead spread over 16 bits. I recreated an histogram but this time without any debayering, so directly on the sensor data. In this case we can see that the values are always even numbers (at least most of them) and are spaced evenly on 16-bit range (between 0 and 65533). The gap between each value is 4 which is logical since only 16384 values are possible with 14-bit. I also went back to the histogram that I produced using the PhaseOne SDK and gaps were present too (but less obvious). In this case, they seems to use some kind of contrast correction which I don't have control over. So that's it, I suppose I just need now to divide the pixel values by 4 so all the data will be concentrated on the first 16384 values. Thanks again.

Reply to: Comb distribution after PhaseOne image debayering   1 year 6 months ago

Could you please provide RAW file sample for analysis?

BTW, 'minimum processing done' is no processing at al. Consider use LibRaw's unprocessed_raw sample or RawDigger.

Reply to: 3FR from Hasselblad X2D 100C seems incorrect   1 year 7 months ago

Do you see Hasselblad X2D 100C in LibRaw 0.21 supported camera list?

Reply to: Request for software names   1 year 7 months ago

Thanks guys for this great library!

I have added it to my Photo Management application Tonfotos: https://tonfotos.com

By the way, is there any progress with this "Used by" initiative? I think that is a great tool to promote LibRaw.

Just in case, Tonfotos logo can be found here: https://tonfotos.com/img/logo/icon-ui.webp

Regards,
Andrey

Reply to: LibRaw 0.20 supported cameras   1 year 7 months ago

It is supported in LibRaq 0.21-beta available at github (we plan to release it in a month or so)

Reply to: LibRaw 0.20 supported cameras   1 year 7 months ago

Any estimated timeline when Canon EOS R7 raw will be supported?

Reply to: Phase One IIQ decoding   1 year 7 months ago

I'm in the same situation too. Did you find any solution to your problem?

Reply to: Just curious   1 year 7 months ago

Oh, I see. Thanks for the information.

Reply to: Just curious   1 year 7 months ago

Yes, dt (again) uses LibRaw but (AFAIK) for Canon CR3 files only.

Please contact dt team for details.

Reply to: Compilation issues under Linux   1 year 8 months ago

Сheck that the toolchain (autotools, libtool) isn't broken.
When the log suggests to run autoupdate, it may make sense to try it (after being sure toolchain is OK, and if the message re autoupdate still appears).

Reply to: LibRaw 0.20 supported cameras   1 year 8 months ago

OM-1 is supported by this commit: https://github.com/LibRaw/LibRaw/commit/adcb898a00746c8aa886eb06cc9f5a1c... (dated Mar 13, 2022)

Reply to: How to using the sample 4channels.cpp to get full size image of each channel   1 year 8 months ago

Suppose the image is N by M pixels, and you are dealing with Bayer sensor. How many pixels there are in each of four channels? Approx. 1/4 of the total number of pixels, N/2 by M/2.

Reply to: Converting ARW’s on Mac OS Leopard   1 year 8 months ago

You can run dcraw_emu from the command line to convert raw to bitmaps, please have a look at https://www.libraw.org/docs/Samples-LibRaw.html

Reply to: Libraw slowdown when updating 19.2 to 20.2   1 year 8 months ago

>what you mean with more detailed measurements?

Something like detailed performance profiling (with any avail. tool). The question is: what function is slower in v 0.20 compared to 0.19

Reply to: Libraw slowdown when updating 19.2 to 20.2   1 year 8 months ago

Thanks for your response,

But I would like to know what you mean with more detailed measurements?

So the behavior is quite ok-ish ? And depends on image 19.2 or 20.2 can win the race?

Thanks in advance.

Reply to: Compilation issues under Linux   1 year 8 months ago

I also tried autoreconf --install and then running configure.

I got:

$ autoreconf --install

configure.ac:11: warning: The macro `AC_PROG_LIBTOOL' is obsolete.
configure.ac:11: You should run autoupdate.
m4/libtool.m4:99: AC_PROG_LIBTOOL is expanded from...
configure.ac:11: the top level
configure.ac:14: warning: The macro `AC_LIBTOOL_WIN32_DLL' is obsolete.
configure.ac:14: You should run autoupdate.
m4/ltoptions.m4:148: AC_LIBTOOL_WIN32_DLL is expanded from...
configure.ac:14: the top level
configure.ac:14: warning: AC_LIBTOOL_WIN32_DLL: Remove this warning and the call to _LT_SET_OPTION when you
configure.ac:14: put the 'win32-dll' option into LT_INIT's first parameter.
./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from...
m4/ltoptions.m4:148: AC_LIBTOOL_WIN32_DLL is expanded from...
configure.ac:14: the top level
configure.ac:11: warning: The macro `AC_PROG_LIBTOOL' is obsolete.
configure.ac:11: You should run autoupdate.
m4/libtool.m4:99: AC_PROG_LIBTOOL is expanded from...
configure.ac:11: the top level
configure.ac:14: warning: The macro `AC_LIBTOOL_WIN32_DLL' is obsolete.
configure.ac:14: You should run autoupdate.
m4/ltoptions.m4:148: AC_LIBTOOL_WIN32_DLL is expanded from...
configure.ac:14: the top level
configure.ac:14: warning: AC_LIBTOOL_WIN32_DLL: Remove this warning and the call to _LT_SET_OPTION when you
configure.ac:14: put the 'win32-dll' option into LT_INIT's first parameter.
./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from...
m4/ltoptions.m4:148: AC_LIBTOOL_WIN32_DLL is expanded from...
configure.ac:14: the top level
libtoolize: `./ltmain.sh' is newer: use `--force' to overwrite
libtoolize: `m4/libtool.m4' is newer: use `--force' to overwrite
libtoolize: `m4/ltoptions.m4' is newer: use `--force' to overwrite
libtoolize: `m4/ltversion.m4' is newer: use `--force' to overwrite
configure.ac:11: warning: The macro `AC_PROG_LIBTOOL' is obsolete.
configure.ac:11: You should run autoupdate.
m4/libtool.m4:99: AC_PROG_LIBTOOL is expanded from...
configure.ac:11: the top level
configure.ac:14: warning: The macro `AC_LIBTOOL_WIN32_DLL' is obsolete.
configure.ac:14: You should run autoupdate.
m4/ltoptions.m4:148: AC_LIBTOOL_WIN32_DLL is expanded from...
configure.ac:14: the top level
configure.ac:14: warning: AC_LIBTOOL_WIN32_DLL: Remove this warning and the call to _LT_SET_OPTION when you
configure.ac:14: put the 'win32-dll' option into LT_INIT's first parameter.
./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from...
m4/ltoptions.m4:148: AC_LIBTOOL_WIN32_DLL is expanded from...
configure.ac:14: the top level
configure.ac:11: warning: The macro `AC_PROG_LIBTOOL' is obsolete.
configure.ac:11: You should run autoupdate.
m4/libtool.m4:99: AC_PROG_LIBTOOL is expanded from...
configure.ac:11: the top level
configure.ac:14: warning: The macro `AC_LIBTOOL_WIN32_DLL' is obsolete.
configure.ac:14: You should run autoupdate.
m4/ltoptions.m4:148: AC_LIBTOOL_WIN32_DLL is expanded from...
configure.ac:14: the top level
configure.ac:14: warning: AC_LIBTOOL_WIN32_DLL: Remove this warning and the call to _LT_SET_OPTION when you
configure.ac:14: put the 'win32-dll' option into LT_INIT's first parameter.
./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from...
m4/ltoptions.m4:148: AC_LIBTOOL_WIN32_DLL is expanded from...
configure.ac:14: the top level
configure.ac:11: warning: The macro `AC_PROG_LIBTOOL' is obsolete.
configure.ac:11: You should run autoupdate.
m4/libtool.m4:99: AC_PROG_LIBTOOL is expanded from...
configure.ac:11: the top level
configure.ac:14: warning: The macro `AC_LIBTOOL_WIN32_DLL' is obsolete.
configure.ac:14: You should run autoupdate.
m4/ltoptions.m4:148: AC_LIBTOOL_WIN32_DLL is expanded from...
configure.ac:14: the top level
configure.ac:14: warning: AC_LIBTOOL_WIN32_DLL: Remove this warning and the call to _LT_SET_OPTION when you
configure.ac:14: put the 'win32-dll' option into LT_INIT's first parameter.
./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from...
m4/ltoptions.m4:148: AC_LIBTOOL_WIN32_DLL is expanded from...
configure.ac:14: the top level
configure.ac:11: warning: The macro `AC_PROG_LIBTOOL' is obsolete.
configure.ac:11: You should run autoupdate.
m4/libtool.m4:99: AC_PROG_LIBTOOL is expanded from...
configure.ac:11: the top level
configure.ac:14: warning: The macro `AC_LIBTOOL_WIN32_DLL' is obsolete.
configure.ac:14: You should run autoupdate.
m4/ltoptions.m4:148: AC_LIBTOOL_WIN32_DLL is expanded from...
configure.ac:14: the top level
configure.ac:14: warning: AC_LIBTOOL_WIN32_DLL: Remove this warning and the call to _LT_SET_OPTION when you
configure.ac:14: put the 'win32-dll' option into LT_INIT's first parameter.
./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from...
m4/ltoptions.m4:148: AC_LIBTOOL_WIN32_DLL is expanded from...
configure.ac:14: the top level

$ configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C++... yes
checking whether g++ accepts -g... yes
checking for g++ option to enable C++11 features... none needed
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for gcc... gcc
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... -std=gnu11
checking whether gcc -std=gnu11 understands -c and -o together... yes
checking dependency style of gcc -std=gnu11... gcc3
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc -std=gnu11... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc -std=gnu11 object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc -std=gnu11 supports -fno-rtti -fno-exceptions... no
checking for gcc -std=gnu11 option to produce PIC... -fPIC -DPIC
checking if gcc -std=gnu11 PIC flag -fPIC -DPIC works... yes
checking if gcc -std=gnu11 static flag -static works... no
checking if gcc -std=gnu11 supports -c -o file.o... yes
checking if gcc -std=gnu11 supports -c -o file.o... (cached) yes
checking whether the gcc -std=gnu11 linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... no
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for OpenMP flag of C compiler... -fopenmp
checking for jpeg_mem_src in -ljpeg... no
configure: WARNING: libjpeg not found
checking for jas_init in -ljasper... no
configure: WARNING: libjasper not found
./configure: line 17242: syntax error near unexpected token `ZLIB,zlib,'
./configure: line 17242: ` PKG_CHECK_MODULES(ZLIB,zlib,'

Reply to: Understanding highlight modes   1 year 9 months ago

So bad that none has replied so far... I've tried to find any answer around the internet but couldn't much.
Anyone?

Reply to: LibRaw 0.20 supported cameras   1 year 9 months ago

L.S.,

Would you please be so kind as to add support for RAW files (.ORF) files of the OM-systems OM-1 camera?
Thank you in advance,
Jan.

Reply to: Strange 14bit output with libraw.dll + unprocessed_raw.exe   1 year 9 months ago

I do not see a question here, so just a general remark.

Sony ARW 2.3 (lossy compressed) format is:
- 11-bit values (11 bit base + 7 bit deltas)
- expanded by expansion curve w/ ~0..16383 range (really slightly more)

dcraw converts it to ~0...4095 range, this is OK for old cameras but not for A7 series. LibRaw uses 'natural' camera range.

Reply to: EOS R series camera support   1 year 9 months ago

Please make sure EOS R3 and R10 are listed as supported in the snapshot you use.....

Reply to: EOS R series camera support   1 year 9 months ago

Hi Alex,

Sorry for the late reply. I have since figured out my mistake. (basically I built the wrong checkout on my computer)

After I corrected my build mistake. the latest checkout works with R5 raw (both compressed and non compressed cr3).

It still have problem with cr3 files that are came from EOS R3 and R10.
https://www.dpreview.com/sample-galleries/3816867543/canon-eos-r10-sampl...
https://www.dpreview.com/sample-galleries/3141499184/canon-eos-r3-sample...

I also seem to have another issue with FUJI XT4 raw RAF file. When decoded to HALF and FULL, both works fine. However when I enabled FBDD denoise, the decoded image came out incorrect.

https://www.dpreview.com/sample-galleries/1969063349/fujifilm-x-t4-sampl...

Cheers
Fred

Reply to: integer overflow and some other bugs   1 year 10 months ago

Thank you for your effort.

Both bugs are 'garbage in/garbage out', so no plans to fix these bugs

Reply to: EOS R series camera support   1 year 10 months ago

Could you please specify EOS R5 files that are not processed right with 202110 snapshot?

Pages