https://bugs.kde.org/show_bug.cgi?id=444442

            Bug ID: 444442
           Summary: Conversion from Sony ARW to DNG loses pixels on the
                    right side of the image
           Product: digikam
           Version: 7.3.0
          Platform: Archlinux Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Plugin-Bqm-DngConverter
          Assignee: digikam-bugs-n...@kde.org
          Reporter: l.jirkov...@gmail.com
  Target Milestone: ---

SUMMARY
The converted DNG files are missing the rightmost 32 pixels (grid lines?). This
happens with ARW files from Sony A7RM3. I don't know whether other cameras are
affected.

The good folk at
https://discuss.pixls.us/t/dng-output-slightly-cropped/27582/10 helped
tremendously to identify the problem where I noticed that RawTherapee output is
slightly cropped when using digiKam DNG compared to ARW.

STEPS TO REPRODUCE
1. Convert Sony ARW file to DNG using digiKam's batch queue
2. Examine both files using rawpy[1]

OBSERVED RESULT
DNG output is missing 32 rightmost pixels.

EXPECTED RESULT
DNG contains the same data

SOFTWARE/OS VERSIONS
Arch Linux
KDE Frameworks 5.87.0
Qt 5.15.2

ADDITIONAL INFORMATION

I uploaded example DNG and ARW to my google drive (warning, large files):
https://drive.google.com/file/d/14JYTnuSHCix3FEEzNrMugY1fRlwLyDPW/view?usp=sharing
https://drive.google.com/file/d/1RHYFqE8gj0gXjG6SP539WfZVs1MlSvi1/view?usp=sharing

[1] I used the following script to obtain the RAW data:
```
import rawpy
import imageio
import sys
import os.path

path = sys.argv[1]

with rawpy.imread(path) as raw:
    imageio.imsave(os.path.basename(path)+'.tiff', raw.raw_image)
```

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to