[digikam] [Bug 444442] Conversion from Sony ARW to DNG loses pixels on the right side of the image
https://bugs.kde.org/show_bug.cgi?id=42 caulier.gil...@gmail.com changed: What|Removed |Added Version|8.1.0 |8.3.0 -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 444442] Conversion from Sony ARW to DNG loses pixels on the right side of the image
https://bugs.kde.org/show_bug.cgi?id=42 --- Comment #9 from Lukas Jirkovsky --- Sorry it took me so long to test it. I'm afraid the behavior is the same, dng width is still 32 pixels less than ARW -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 444442] Conversion from Sony ARW to DNG loses pixels on the right side of the image
https://bugs.kde.org/show_bug.cgi?id=42 --- Comment #8 from caulier.gil...@gmail.com --- @Lukas Jirkovsky, digiKam 8.4.0 pre-release now include last DNG SDK 1.7.1 from Adobe. Can you reproduce the dysfunction using AppImage bundle available here : https://files.kde.org/digikam/ Gilles Caulier -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 444442] Conversion from Sony ARW to DNG loses pixels on the right side of the image
https://bugs.kde.org/show_bug.cgi?id=42 --- Comment #7 from caulier.gil...@gmail.com --- Git commit 1b911bc46a1631f9d00ef2866f9987f3a04fbdde by Gilles Caulier. Committed on 31/03/2024 at 20:28. Pushed by cgilles into branch 'master'. Update Adobe DNG SDK from 1.5.1 to 1.7.1 to support JPEG-XL compression formats. Related: bug 390700, bug 418941, bug 451917, bug 479728, bug 257737, bug 477631, bug 285610, bug 374655 M +1-0Mainpage.dox M +2-0NEWS M +3-1core/CMakeLists.txt M +1-0core/app/DigikamCoreTarget.cmake A +109 -0core/cmake/modules/FindLibjxl.cmake M +3-0core/cmake/rules/RulesDNGSdk.cmake M +17 -1core/libs/dngwriter/CMakeLists.txt M +1-1core/libs/dngwriter/dngwriter.cpp M +1-1core/libs/dngwriter/dngwriter_export.cpp M +242 -52 core/libs/dngwriter/extra/dng_sdk/dng_1d_function.cpp M +99 -36 core/libs/dngwriter/extra/dng_sdk/dng_1d_function.h M +69 -67 core/libs/dngwriter/extra/dng_sdk/dng_1d_table.cpp M +57 -26 core/libs/dngwriter/extra/dng_sdk/dng_1d_table.h M +54 -52 core/libs/dngwriter/extra/dng_sdk/dng_abort_sniffer.cpp M +57 -47 core/libs/dngwriter/extra/dng_sdk/dng_abort_sniffer.h M +444 -88 core/libs/dngwriter/extra/dng_sdk/dng_area_task.cpp M +230 -33 core/libs/dngwriter/extra/dng_sdk/dng_area_task.h M +27 -4core/libs/dngwriter/extra/dng_sdk/dng_assertions.h M +67 -53 core/libs/dngwriter/extra/dng_sdk/dng_auto_ptr.h M +486 -474 core/libs/dngwriter/extra/dng_sdk/dng_bad_pixels.cpp M +53 -48 core/libs/dngwriter/extra/dng_sdk/dng_bad_pixels.h M +4976 -1140 core/libs/dngwriter/extra/dng_sdk/dng_big_table.cpp M +1290 -389 core/libs/dngwriter/extra/dng_sdk/dng_big_table.h A +397 -0core/libs/dngwriter/extra/dng_sdk/dng_bmff.cpp * A +113 -0core/libs/dngwriter/extra/dng_sdk/dng_bmff.h * M +9-2core/libs/dngwriter/extra/dng_sdk/dng_bottlenecks.cpp M +491 -252 core/libs/dngwriter/extra/dng_sdk/dng_bottlenecks.h M +1371 -386 core/libs/dngwriter/extra/dng_sdk/dng_camera_profile.cpp M +513 -166 core/libs/dngwriter/extra/dng_sdk/dng_camera_profile.h M +48 -3core/libs/dngwriter/extra/dng_sdk/dng_classes.h M +1323 -585 core/libs/dngwriter/extra/dng_sdk/dng_color_space.cpp M +299 -66 core/libs/dngwriter/extra/dng_sdk/dng_color_space.h M +363 -191 core/libs/dngwriter/extra/dng_sdk/dng_color_spec.cpp M +52 -24 core/libs/dngwriter/extra/dng_sdk/dng_color_spec.h M +444 -430 core/libs/dngwriter/extra/dng_sdk/dng_date_time.cpp M +100 -105 core/libs/dngwriter/extra/dng_sdk/dng_date_time.h A +60 -0core/libs/dngwriter/extra/dng_sdk/dng_deprecated_flags.h * M +11 -5core/libs/dngwriter/extra/dng_sdk/dng_errors.h M +62 -62 core/libs/dngwriter/extra/dng_sdk/dng_exceptions.cpp M +56 -56 core/libs/dngwriter/extra/dng_sdk/dng_exceptions.h M +1984 -1960 core/libs/dngwriter/extra/dng_sdk/dng_exif.cpp M +144 -128 core/libs/dngwriter/extra/dng_sdk/dng_exif.h M +5-3core/libs/dngwriter/extra/dng_sdk/dng_fast_module.h M +148 -37 core/libs/dngwriter/extra/dng_sdk/dng_file_stream.cpp M +41 -16 core/libs/dngwriter/extra/dng_sdk/dng_file_stream.h M +58 -58 core/libs/dngwriter/extra/dng_sdk/dng_filter_task.cpp M +15 -15 core/libs/dngwriter/extra/dng_sdk/dng_filter_task.h M +173 -146 core/libs/dngwriter/extra/dng_sdk/dng_fingerprint.cpp M +98 -72 core/libs/dngwriter/extra/dng_sdk/dng_fingerprint.h M +127 -57 core/libs/dngwriter/extra/dng_sdk/dng_flags.h M +1014 -256 core/libs/dngwriter/extra/dng_sdk/dng_gain_map.cpp M +343 -45 core/libs/dngwriter/extra/dng_sdk/dng_gain_map.h M +10 -4core/libs/dngwriter/extra/dng_sdk/dng_globals.cpp M +3-3core/libs/dngwriter/extra/dng_sdk/dng_globals.h M +365 -154 core/libs/dngwriter/extra/dng_sdk/dng_host.cpp M +216 -96 core/libs/dngwriter/extra/dng_sdk/dng_host.h M +227 -90 core/libs/dngwriter/extra/dng_sdk/dng_hue_sat_map.cpp M +26 -16 core/libs/dngwriter/extra/dng_sdk/dng_hue_sat_map.h M +2514 -1712 core/libs/dngwriter/extra/dng_sdk/dng_ifd.cpp M +140 -108 core/libs/dngwriter/extra/dng_sdk/dng_ifd.h M +631 -315 core/libs/dngwriter/extra/dng_sdk/dng_image.cpp M +117 -92 core/libs/dngwriter/extra/dng_sdk/dng_image.h M +5843 -3135 core/libs/dngwriter/extra/dng_sdk/dng_image_writer.cpp M +733 -471 core/libs/dngwriter/extra/dng_sdk/dng_image_writer.h M +1382 -1126 core/libs/dngwriter/extra/dng_sdk/dng_info.cpp M +99 -69 core/libs/dngwriter/extra/dng_sdk/dng_info.h M +325 -325 core/libs/dngwriter/extra/dng_sdk/dng_iptc.cpp M +32 -32 core/libs/dngwriter/extra/dng_sdk/dng_iptc.h M +544 -210 core/libs/dngwriter/extra/dng_sdk/dng_jpeg_image.cpp M +139 -18 core/libs/dngwriter/extra/dng_sdk/dng_jpeg_image.h A +90 -0core/libs/dngwriter/extra/dng_sdk/dng_jpeg_memory_source.cpp * A +19 -0core/libs/dngwriter/extra/dng_sdk/dng_jpeg_memory_source.h * A +18 -0
[digikam] [Bug 444442] Conversion from Sony ARW to DNG loses pixels on the right side of the image
https://bugs.kde.org/show_bug.cgi?id=42 caulier.gil...@gmail.com changed: What|Removed |Added Version|7.3.0 |8.1.0 -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 444442] Conversion from Sony ARW to DNG loses pixels on the right side of the image
https://bugs.kde.org/show_bug.cgi?id=42 --- Comment #6 from Lukas Jirkovsky --- (In reply to caulier.gilles from comment #5) > @lukas, > > digiKam 8.0.0 is out. This entry still valid with this release ? > > Best regards > > Gilles Caulier It's the same with 8.0.0 -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 444442] Conversion from Sony ARW to DNG loses pixels on the right side of the image
https://bugs.kde.org/show_bug.cgi?id=42 caulier.gil...@gmail.com changed: What|Removed |Added CC||caulier.gil...@gmail.com --- Comment #5 from caulier.gil...@gmail.com --- @lukas, digiKam 8.0.0 is out. This entry still valid with this release ? Best regards Gilles Caulier -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 444442] Conversion from Sony ARW to DNG loses pixels on the right side of the image
https://bugs.kde.org/show_bug.cgi?id=42 --- Comment #4 from Maik Qualmann --- This thread is quite interesting even if it's from 2015: https://www.libraw.org/node/2117 Maik -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 444442] Conversion from Sony ARW to DNG loses pixels on the right side of the image
https://bugs.kde.org/show_bug.cgi?id=42 --- Comment #3 from Lukas Jirkovsky --- I'm not saying RawTherapee is not doing some funky business – I don't have good enough understanding of the format. However looking at the embedded raw data using rawpy I see that there are some usable data which are missing in DNG. The only explanation I can think of (with my zero knowledge of the format) is that these data are outside of region of interest defined in EXIF so digiKam throws them away assuming they are not usable. That's what I'm seeing with the Canon CR2 – with CR2 a different crop is present but the cropped area is empty, ie. no Bayer filter. So no data lost. To show the difference – this is how the raw data extracted from ARW look like: https://drive.google.com/file/d/1fivJ0q8Lc-ZDZbZLkRUKmg5lrJ0ljOyh/view?usp=sharing And this is how the raw data from DNG look like: https://drive.google.com/file/d/1rHQ6GQ5dls1xmIV8ZfCqIPC8Ks0aOrQj/view?usp=sharing I just bumped the exposure on both files so that they are not pitch black, no other changes. If you examine the right border you will see that there are more usable data in the ARW file. It seems a shame to throw useful data away. If my theory of these data being outside of the crop defined in EXIF, maybe digiKam could have an option to preserve these data? -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 444442] Conversion from Sony ARW to DNG loses pixels on the right side of the image
https://bugs.kde.org/show_bug.cgi?id=42 Maik Qualmann changed: What|Removed |Added CC||metzping...@gmail.com --- Comment #2 from Maik Qualmann --- At the moment I've only managed to get a brief overview. Nothing is missing in digiKam's DNG, because both digiKam and Darktable load it correctly. The problem is not entirely unknown. According to Exif, the ARW files should be 7952px. In digiKam we get 7968px from the RAW decoder, with Darktable even 7980px, with RawTherapee it is only 7956px. With the DNG file, RawTherapee only loads 7924px image, why such a small value? Perhaps RawTherapee is only loading the image according to the Exif information. Since it is partly a copy of the RAW Exif data, the DNG also contains 7952px information, we may have to adapt it ... Maik -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 444442] Conversion from Sony ARW to DNG loses pixels on the right side of the image
https://bugs.kde.org/show_bug.cgi?id=42 --- Comment #1 from Lukas Jirkovsky --- I checked the conversion with old Canon EOS 400D CR2 files and the problem is not present. After comparing CR2 data and the DNG file, DNG is cropped to exclude left and top part of the RAW data that doesn't contain any image data. No useful data are excluded when converting Canon CR2. -- You are receiving this mail because: You are watching all bug changes.