[digiKam-users] digiKam 6.4 git with HEIC

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[digiKam-users] digiKam 6.4 git with HEIC

AndriusWild

Hello,

I have been playing with digiKam 6.4.0-git this morning and noticed that thumbnails for HEIC images are wrong orientation while the actual image is being shown correct.

Looks like it can’t read GPS coordinates from HEIC either.

Here is a screenshot:

https://ibb.co/KGMfsGs

 

Just thought I would send you my feedback.

 

Thanks,

Andrey

Reply | Threaded
Open this post in threaded view
|

Re: digiKam 6.4 git with HEIC

AndriusWild

Looks like exiftool is capable of reading metadata embedded in HEIC:

 

[ExifTool]      ExifToolVersion                 : 11.23

[System]        FileName                        : IMG_0022.heic

[System]        FileSize                        : 4.6 MB

[System]        FileModifyDate                  : 2019:10:07 07:59:41-06:00

[System]        FileAccessDate                  : 2019:10:06 17:28:16-06:00

[System]        FileCreateDate                  : 2019:10:06 17:28:16-06:00

[System]        FilePermissions                 : rw-rw-rw-

[File]          FileType                        : HEIC

[File]          FileTypeExtension               : heic

[File]          MIMEType                        : image/heic

[File]          ExifByteOrder                   : Big-endian (Motorola, MM)

[File]          ImageWidth                      : 4032

[File]          ImageHeight                     : 3024

[QuickTime]     MajorBrand                      : High Efficiency Image Format HEVC still image (.HEIC)

[QuickTime]     MinorVersion                    : 0.0.0

[QuickTime]     CompatibleBrands                : mif1, miaf, MiHB, heic

[QuickTime]     HandlerType                     : Picture

[QuickTime]     PrimaryItemReference            : 49

[QuickTime]     ImageSpatialExtent              : 512x512

[QuickTime]     ImageSpatialExtent              : 4032x3024

[QuickTime]     Rotation                        : 270

[QuickTime]     ImagePixelDepth                 : 8 8 8

[QuickTime]     ImageSpatialExtent              : 320x240

[QuickTime]     MovieDataSize                   : 4847843

[QuickTime]     MovieDataOffset                 : 3428

[IFD0]          Make                            : Apple

[IFD0]          Model                           : iPhone 11 Pro

[IFD0]          Orientation                     : Rotate 90 CW

[IFD0]          XResolution                     : 72

[IFD0]          YResolution                     : 72

[IFD0]          ResolutionUnit                  : inches

[IFD0]          Software                        : 13.0

[IFD0]          ModifyDate                      : 2019:10:06 11:28:16

[IFD0]          YCbCrPositioning                : Centered

[ExifIFD]       ExposureTime                    : 1/1364

[ExifIFD]       FNumber                         : 1.8

[ExifIFD]       ExposureProgram                 : Program AE

[ExifIFD]       ISO                             : 32

[ExifIFD]       ExifVersion                     : 0231

[ExifIFD]       DateTimeOriginal                : 2019:10:06 11:28:16

[ExifIFD]       CreateDate                      : 2019:10:06 11:28:16

[ExifIFD]       OffsetTime                      : -06:00

[ExifIFD]       OffsetTimeOriginal              : -06:00

[ExifIFD]       OffsetTimeDigitized             : -06:00

[ExifIFD]       ComponentsConfiguration         : Y, Cb, Cr, -

[ExifIFD]       ShutterSpeedValue               : 1/1364

[ExifIFD]       ApertureValue                   : 1.8

[ExifIFD]       BrightnessValue                 : 9.56066651

[ExifIFD]       ExposureCompensation            : 0

[ExifIFD]       MeteringMode                    : Multi-segment

[ExifIFD]       Flash                           : Off, Did not fire

[ExifIFD]       FocalLength                     : 4.3 mm

[ExifIFD]       SubjectArea                     : 2002 1505 2213 1324

[ExifIFD]       SubSecTimeOriginal              : 603

[ExifIFD]       SubSecTimeDigitized             : 603

[ExifIFD]       FlashpixVersion                 : 0100

[ExifIFD]       ColorSpace                      : Uncalibrated

[ExifIFD]       ExifImageWidth                  : 4032

[ExifIFD]       ExifImageHeight                 : 3024

[ExifIFD]       SensingMethod                   : One-chip color area

[ExifIFD]       SceneType                       : Directly photographed

[ExifIFD]       ExposureMode                    : Auto

[ExifIFD]       WhiteBalance                    : Auto

[ExifIFD]       FocalLengthIn35mmFormat         : 26 mm

[ExifIFD]       SceneCaptureType                : Standard

[ExifIFD]       LensInfo                        : 1.539999962-6mm f/1.8-2.4

[ExifIFD]       LensMake                        : Apple

[ExifIFD]       LensModel                       : iPhone 11 Pro back triple camera 4.25mm f/1.8

[Apple]         RunTimeFlags                    : Valid

[Apple]         RunTimeValue                    : 6734064865875

[Apple]         RunTimeScale                    : 1000000000

[Apple]         RunTimeEpoch                    : 0

[Apple]         AccelerationVector              : -0.0290235579 -0.9396830204 -0.3464866879

[Apple]         ContentIdentifier               : 45C0A04B-8685-4448-9CA5-BDF9C6B0FE26

[GPS]           GPSLatitudeRef                  : North

[GPS]           GPSLatitude                     : 50 deg 53' 38.02"

[GPS]           GPSLongitudeRef                 : West

[GPS]           GPSLongitude                    : 113 deg 50' 14.37"

[GPS]           GPSAltitudeRef                  : Above Sea Level

[GPS]           GPSAltitude                     : 1019.461934 m

[GPS]           GPSSpeedRef                     : km/h

[GPS]           GPSSpeed                        : 0.8181610107

[GPS]           GPSImgDirectionRef              : True North

[GPS]           GPSImgDirection                 : 81.89785769

[GPS]           GPSDestBearingRef               : True North

[GPS]           GPSDestBearing                  : 81.89785769

[GPS]           GPSDateStamp                    : 2019:10:06

[GPS]           GPSHPositioningError            : 88.97638583 m

[ICC-header]    ProfileCMMType                  : Apple Computer Inc.

[ICC-header]    ProfileVersion                  : 4.0.0

[ICC-header]    ProfileClass                    : Display Device Profile

[ICC-header]    ColorSpaceData                  : RGB

[ICC-header]    ProfileConnectionSpace          : XYZ

[ICC-header]    ProfileDateTime                 : 2017:07:07 13:22:32

[ICC-header]    ProfileFileSignature            : acsp

[ICC-header]    PrimaryPlatform                 : Apple Computer Inc.

[ICC-header]    CMMFlags                        : Not Embedded, Independent

[ICC-header]    DeviceManufacturer              : Apple Computer Inc.

[ICC-header]    DeviceModel                     :

[ICC-header]    DeviceAttributes                : Reflective, Glossy, Positive, Color

[ICC-header]    RenderingIntent                 : Perceptual

[ICC-header]    ConnectionSpaceIlluminant       : 0.9642 1 0.82491

[ICC-header]    ProfileCreator                  : Apple Computer Inc.

[ICC-header]    ProfileID                       : ca1a9582257f104d389913d5d1ea1582

[ICC_Profile]   ProfileDescription              : Display P3

[ICC_Profile]   ProfileCopyright                : Copyright Apple Inc., 2017

[ICC_Profile]   MediaWhitePoint                 : 0.95045 1 1.08905

[ICC_Profile]   RedMatrixColumn                 : 0.51512 0.2412 -0.00105

[ICC_Profile]   GreenMatrixColumn               : 0.29198 0.69225 0.04189

[ICC_Profile]   BlueMatrixColumn                : 0.1571 0.06657 0.78407

[ICC_Profile]   RedTRC                          : (Binary data 32 bytes, use -b option to extract)

[ICC_Profile]   ChromaticAdaptation             : 1.04788 0.02292 -0.0502 0.02959 0.99048 -0.01706 -0.00923 0.01508 0.75168

[ICC_Profile]   BlueTRC                         : (Binary data 32 bytes, use -b option to extract)

[ICC_Profile]   GreenTRC                        : (Binary data 32 bytes, use -b option to extract)

[Composite]     Aperture                        : 1.8

[Composite]     GPSAltitude                     : 1019.4 m Above Sea Level

[Composite]     GPSLatitude                     : 50 deg 53' 38.02" N

[Composite]     GPSLongitude                    : 113 deg 50' 14.37" W

[Composite]     GPSPosition                     : 50 deg 53' 38.02" N, 113 deg 50' 14.37" W

[Composite]     ImageSize                       : 4032x3024

[Composite]     Megapixels                      : 12.2

[Composite]     RunTimeSincePowerUp             : 1:52:14

[Composite]     ScaleFactor35efl                : 6.1

[Composite]     ShutterSpeed                    : 1/1364

[Composite]     SubSecCreateDate                : 2019:10:06 11:28:16.603-06:00

[Composite]     SubSecDateTimeOriginal          : 2019:10:06 11:28:16.603-06:00

[Composite]     SubSecModifyDate                : 2019:10:06 11:28:16-06:00

[Composite]     CircleOfConfusion               : 0.005 mm

[Composite]     FOV                             : 69.4 deg

[Composite]     FocalLength35efl                : 4.3 mm (35 mm equivalent: 26.0 mm)

[Composite]     HyperfocalDistance              : 2.04 m

[Composite]     LightValue                      : 13.8

 

From: Andrey Goreev <[hidden email]>
Sent: Tuesday, October 29, 2019 8:56 AM
To: 'digiKam - Home Manage your photographs as a professional with the power of open source' <[hidden email]>
Subject: digiKam 6.4 git with HEIC

 

Hello,

I have been playing with digiKam 6.4.0-git this morning and noticed that thumbnails for HEIC images are wrong orientation while the actual image is being shown correct.

Looks like it can’t read GPS coordinates from HEIC either.

Here is a screenshot:

https://ibb.co/KGMfsGs

 

Just thought I would send you my feedback.

 

Thanks,

Andrey

Reply | Threaded
Open this post in threaded view
|

Re: digiKam 6.4 git with HEIC

Gilles Caulier-4
HEIF support metadata is not yet done. Exiv2 do not support this format. I proposed a first PR to Exiv2, which still in review :


Gilles Caulier

Gilles Caulier

Le mar. 29 oct. 2019 à 11:02, Andrey Goreev <[hidden email]> a écrit :

Looks like exiftool is capable of reading metadata embedded in HEIC:

 

[ExifTool]      ExifToolVersion                 : 11.23

[System]        FileName                        : IMG_0022.heic

[System]        FileSize                        : 4.6 MB

[System]        FileModifyDate                  : 2019:10:07 07:59:41-06:00

[System]        FileAccessDate                  : 2019:10:06 17:28:16-06:00

[System]        FileCreateDate                  : 2019:10:06 17:28:16-06:00

[System]        FilePermissions                 : rw-rw-rw-

[File]          FileType                        : HEIC

[File]          FileTypeExtension               : heic

[File]          MIMEType                        : image/heic

[File]          ExifByteOrder                   : Big-endian (Motorola, MM)

[File]          ImageWidth                      : 4032

[File]          ImageHeight                     : 3024

[QuickTime]     MajorBrand                      : High Efficiency Image Format HEVC still image (.HEIC)

[QuickTime]     MinorVersion                    : 0.0.0

[QuickTime]     CompatibleBrands                : mif1, miaf, MiHB, heic

[QuickTime]     HandlerType                     : Picture

[QuickTime]     PrimaryItemReference            : 49

[QuickTime]     ImageSpatialExtent              : 512x512

[QuickTime]     ImageSpatialExtent              : 4032x3024

[QuickTime]     Rotation                        : 270

[QuickTime]     ImagePixelDepth                 : 8 8 8

[QuickTime]     ImageSpatialExtent              : 320x240

[QuickTime]     MovieDataSize                   : 4847843

[QuickTime]     MovieDataOffset                 : 3428

[IFD0]          Make                            : Apple

[IFD0]          Model                           : iPhone 11 Pro

[IFD0]          Orientation                     : Rotate 90 CW

[IFD0]          XResolution                     : 72

[IFD0]          YResolution                     : 72

[IFD0]          ResolutionUnit                  : inches

[IFD0]          Software                        : 13.0

[IFD0]          ModifyDate                      : 2019:10:06 11:28:16

[IFD0]          YCbCrPositioning                : Centered

[ExifIFD]       ExposureTime                    : 1/1364

[ExifIFD]       FNumber                         : 1.8

[ExifIFD]       ExposureProgram                 : Program AE

[ExifIFD]       ISO                             : 32

[ExifIFD]       ExifVersion                     : 0231

[ExifIFD]       DateTimeOriginal                : 2019:10:06 11:28:16

[ExifIFD]       CreateDate                      : 2019:10:06 11:28:16

[ExifIFD]       OffsetTime                      : -06:00

[ExifIFD]       OffsetTimeOriginal              : -06:00

[ExifIFD]       OffsetTimeDigitized             : -06:00

[ExifIFD]       ComponentsConfiguration         : Y, Cb, Cr, -

[ExifIFD]       ShutterSpeedValue               : 1/1364

[ExifIFD]       ApertureValue                   : 1.8

[ExifIFD]       BrightnessValue                 : 9.56066651

[ExifIFD]       ExposureCompensation            : 0

[ExifIFD]       MeteringMode                    : Multi-segment

[ExifIFD]       Flash                           : Off, Did not fire

[ExifIFD]       FocalLength                     : 4.3 mm

[ExifIFD]       SubjectArea                     : 2002 1505 2213 1324

[ExifIFD]       SubSecTimeOriginal              : 603

[ExifIFD]       SubSecTimeDigitized             : 603

[ExifIFD]       FlashpixVersion                 : 0100

[ExifIFD]       ColorSpace                      : Uncalibrated

[ExifIFD]       ExifImageWidth                  : 4032

[ExifIFD]       ExifImageHeight                 : 3024

[ExifIFD]       SensingMethod                   : One-chip color area

[ExifIFD]       SceneType                       : Directly photographed

[ExifIFD]       ExposureMode                    : Auto

[ExifIFD]       WhiteBalance                    : Auto

[ExifIFD]       FocalLengthIn35mmFormat         : 26 mm

[ExifIFD]       SceneCaptureType                : Standard

[ExifIFD]       LensInfo                        : 1.539999962-6mm f/1.8-2.4

[ExifIFD]       LensMake                        : Apple

[ExifIFD]       LensModel                       : iPhone 11 Pro back triple camera 4.25mm f/1.8

[Apple]         RunTimeFlags                    : Valid

[Apple]         RunTimeValue                    : 6734064865875

[Apple]         RunTimeScale                    : 1000000000

[Apple]         RunTimeEpoch                    : 0

[Apple]         AccelerationVector              : -0.0290235579 -0.9396830204 -0.3464866879

[Apple]         ContentIdentifier               : 45C0A04B-8685-4448-9CA5-BDF9C6B0FE26

[GPS]           GPSLatitudeRef                  : North

[GPS]           GPSLatitude                     : 50 deg 53' 38.02"

[GPS]           GPSLongitudeRef                 : West

[GPS]           GPSLongitude                    : 113 deg 50' 14.37"

[GPS]           GPSAltitudeRef                  : Above Sea Level

[GPS]           GPSAltitude                     : 1019.461934 m

[GPS]           GPSSpeedRef                     : km/h

[GPS]           GPSSpeed                        : 0.8181610107

[GPS]           GPSImgDirectionRef              : True North

[GPS]           GPSImgDirection                 : 81.89785769

[GPS]           GPSDestBearingRef               : True North

[GPS]           GPSDestBearing                  : 81.89785769

[GPS]           GPSDateStamp                    : 2019:10:06

[GPS]           GPSHPositioningError            : 88.97638583 m

[ICC-header]    ProfileCMMType                  : Apple Computer Inc.

[ICC-header]    ProfileVersion                  : 4.0.0

[ICC-header]    ProfileClass                    : Display Device Profile

[ICC-header]    ColorSpaceData                  : RGB

[ICC-header]    ProfileConnectionSpace          : XYZ

[ICC-header]    ProfileDateTime                 : 2017:07:07 13:22:32

[ICC-header]    ProfileFileSignature            : acsp

[ICC-header]    PrimaryPlatform                 : Apple Computer Inc.

[ICC-header]    CMMFlags                        : Not Embedded, Independent

[ICC-header]    DeviceManufacturer              : Apple Computer Inc.

[ICC-header]    DeviceModel                     :

[ICC-header]    DeviceAttributes                : Reflective, Glossy, Positive, Color

[ICC-header]    RenderingIntent                 : Perceptual

[ICC-header]    ConnectionSpaceIlluminant       : 0.9642 1 0.82491

[ICC-header]    ProfileCreator                  : Apple Computer Inc.

[ICC-header]    ProfileID                       : ca1a9582257f104d389913d5d1ea1582

[ICC_Profile]   ProfileDescription              : Display P3

[ICC_Profile]   ProfileCopyright                : Copyright Apple Inc., 2017

[ICC_Profile]   MediaWhitePoint                 : 0.95045 1 1.08905

[ICC_Profile]   RedMatrixColumn                 : 0.51512 0.2412 -0.00105

[ICC_Profile]   GreenMatrixColumn               : 0.29198 0.69225 0.04189

[ICC_Profile]   BlueMatrixColumn                : 0.1571 0.06657 0.78407

[ICC_Profile]   RedTRC                          : (Binary data 32 bytes, use -b option to extract)

[ICC_Profile]   ChromaticAdaptation             : 1.04788 0.02292 -0.0502 0.02959 0.99048 -0.01706 -0.00923 0.01508 0.75168

[ICC_Profile]   BlueTRC                         : (Binary data 32 bytes, use -b option to extract)

[ICC_Profile]   GreenTRC                        : (Binary data 32 bytes, use -b option to extract)

[Composite]     Aperture                        : 1.8

[Composite]     GPSAltitude                     : 1019.4 m Above Sea Level

[Composite]     GPSLatitude                     : 50 deg 53' 38.02" N

[Composite]     GPSLongitude                    : 113 deg 50' 14.37" W

[Composite]     GPSPosition                     : 50 deg 53' 38.02" N, 113 deg 50' 14.37" W

[Composite]     ImageSize                       : 4032x3024

[Composite]     Megapixels                      : 12.2

[Composite]     RunTimeSincePowerUp             : 1:52:14

[Composite]     ScaleFactor35efl                : 6.1

[Composite]     ShutterSpeed                    : 1/1364

[Composite]     SubSecCreateDate                : 2019:10:06 11:28:16.603-06:00

[Composite]     SubSecDateTimeOriginal          : 2019:10:06 11:28:16.603-06:00

[Composite]     SubSecModifyDate                : 2019:10:06 11:28:16-06:00

[Composite]     CircleOfConfusion               : 0.005 mm

[Composite]     FOV                             : 69.4 deg

[Composite]     FocalLength35efl                : 4.3 mm (35 mm equivalent: 26.0 mm)

[Composite]     HyperfocalDistance              : 2.04 m

[Composite]     LightValue                      : 13.8

 

From: Andrey Goreev <[hidden email]>
Sent: Tuesday, October 29, 2019 8:56 AM
To: 'digiKam - Home Manage your photographs as a professional with the power of open source' <[hidden email]>
Subject: digiKam 6.4 git with HEIC

 

Hello,

I have been playing with digiKam 6.4.0-git this morning and noticed that thumbnails for HEIC images are wrong orientation while the actual image is being shown correct.

Looks like it can’t read GPS coordinates from HEIC either.

Here is a screenshot:

https://ibb.co/KGMfsGs

 

Just thought I would send you my feedback.

 

Thanks,

Andrey