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

--- Comment #17 from kfut10y...@protonmail.com ---
(In reply to Maik Qualmann from comment #15)
> If I look at other camera makes, Nikon, Canon, Sony then Pixel X/Y Dimension
> contains the raw image size.
> 
> Maik

To be clear, I'm not saying Fuji is right to do it that way. I'm just saying
that it† appears to be what they are doing. († "it" being "using the embedded
JPG image dimensions for their PixelXDimension and PixelYDimension fields")

That being said, upon further investigation I think Fuji's handling may
actually be consistent with Canon's handling.

The CR2 files I have here pull the size of the embedded JPG preview rather than
the RAW size for their PixelXDimension and PixelYDimension (or rather
ExifImageWidth and ExifImageHeight by ExifTool’s naming). The difference is
that Canon’s embedded JPG preview is the same as the slightly shrunken RAW
Cropped Size (or “CroppedImageHeight” in Canon’s case), rather than using a
substantially reduced size embed like Fuji does.

So, I downloaded some Nikon, Sony, Pentax, Panasonic, Olympus, Sigma,
Hasselblad, and Phase One RAW files to see if it was consistent. Findings are
as follows:


Fuji: Uses embedded JPG size. Embedded JPG is shrunken in size (1920x1080).

Canon 80D: Uses embedded JPG size. Embedded JPG is slightly shrunken in size
(equivalent to the cropped RAW size).

Nikon Z6 II: Field left empty. digiKam Image Length and Image Width uses
120x160 on the image I was testing with, and lists the RAW image size under
SubImage2.

Sony A7C: Uses cropped RAW size. Embedded JPG is (1616x1080).

Pentax K-1 II: Field left empty. digiKam Image Length and Image Width uses
120x160 on the image I was testing with, and splits the RAW image size and
embedded TIF image size into SubImage1 and SubImage2 respectively.

Panasonic DC-S5 and DC-GH5 II: Uses embedded JPG size. Embedded JPG is shrunken
in size (1920x1280 and 1920x1440 respectively).

Olympus M10 IV: Field left empty. digiKam pulls ImageHeight and ImageWidth
which are the uncropped RAW size. Embedded jpg is 3200x2400.

Sigma fp L: Uses embedded JPG size. Embedded JPG is slightly shrunken in size
(equivalent to the cropped RAW size).

Hasselblad X1D: Field left empty. digiKam Image Length and Image Width uses
embedded TIF size. Embedded TIF shrunken in size (1440x1080).

Phase One IQ4 150MP: Equivalent to cropped RAW size (but looks like digiKam
can’t read it yet).

Not seeing the same issue in testing for the other ones however (with the
possible exception of the DC-GH5 II, for which so far it is failing to generate
face thumbnails for the samples I have downloaded).



Looking at the spec, I think we may not be able to rely on PixelXDimension and
PixelYDimension existing (columns MV and MW when exported to CSV via ExifTool,
which renames them as ExifImageHeight and ExifImageWidth), as the spec
indicates that they should be omitted for uncompressed RAWs. The EXIF 2.32 spec
indicates on page 30 that the ImageWidth and ImageLength tags should be used
instead (columns UX and UM when exported to CSV via ExifTool). All of the above
mentioned files list their cropped or uncropped raw sizes in those columns,
except for Fuji (which instead lists them in RawImageFullWidth,
RawImageFullHeight, RawImageWidth, and RawImageHeight which can be found in
columns AIF, AID, AII, and AIG). They also all list their cropped or uncropped
raw sizes in ImageSize, including Fuji (column UR when exported to CSV via
ExifTool).

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

Reply via email to