identify returns different results for HTTPS than for local source

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
yasokuuhl
Posts: 8
Joined: 2019-08-22T07:42:59-07:00
Authentication code: 1152

identify returns different results for HTTPS than for local source

Post by yasokuuhl »

Hi!

I'm trying to extract metadata from DNG files via HTTPS.
When I run identify on a file on my local harddisc everything works as expected. But things get weird when I use identify on the exact same file via HTTPS.
Via HTTPS the file is not recognized as a DNG but as a TIFF. (this also changes the outcome of convert a lot)
With "-debug all" I tracked the problem and found out that for HTTPS ufraw-batch is never called. And also the intermediate .ufraw file that is usually created is not created in the case of a HTTPS source.

Also I'm having the same problem with Adobe Illustrator files - they are recognized as PDFs when the file is accessed via HTTPS. But for simplicity let's only talk about DNG for now.

Has anyone got an idea how to fix this?
thanks
Daniel

Imagemagick version (installed on Mac with Homebrew):

Code: Select all

Version: ImageMagick 7.0.8-59 Q16 x86_64 2019-08-05 https://imagemagick.org
Copyright: © 1999-2019 ImageMagick Studio LLC
License: https://imagemagick.org/script/license.php
Features: Cipher DPC HDRI Modules OpenMP(3.1)
Delegates (built-in): bzlib freetype heic jng jp2 jpeg lcms ltdl lzma openexr png tiff webp xml zlib
Sample call for local DNG source (recognized as DNG):

Code: Select all

identify /Users/xxxx/Documents/WORKDIR/RAW_CANON_1DM2.dng
/Users/xxxx/Documents/WORKDIR/RAW_CANON_1DM2.dng=>/var/folders/wm/m3m6tf1s5sx8bw52dhk7c4nxkkhfhv/T/magick-51085927JNGxK8mxA.png DNG 3522x2348 3522x2348+0+0 16-bit sRGB 35.6984MiB 0.000u 0:00.005
Sample call for HTTPS DNG source with working sample URL (recognized as TIFF):

Code: Select all

identify https://bitmovin-poc-input.s3-eu-west-1.amazonaws.com/xx_images/RAW_CANON_1DM2.dng
https://bitmovin-poc-input.s3-eu-west-1.amazonaws.com/xx_images/RAW_CANON_1DM2.dng=>//bitmovin-poc-input.s3-eu-west-1.amazonaws.com/xx_images/RAW_CANON_1DM2.dng TIFF 256x171 256x171+0+0 8-bit sRGB 5.18213MiB 0.000u 0:00.004
DEBUG output for HTTPS DNG source:

Code: Select all

identify -verbose https://bitmovin-poc-input.s3-eu-west-1.amazonaws.com/xx_images/RAW_CANON_1DM2.dng -debug all
2019-08-22T15:14:16+00:00 0:00.001 0.000u 7.0.8 Configure identify[51207]: utility.c/ExpandFilenames/959/Configure
  Command line: identify {-verbose} {https://bitmovin-poc-input.s3-eu-west-1.amazonaws.com/xx_images/RAW_CANON_1DM2.dng} {-debug} {all}
2019-08-22T15:14:16+00:00 0:00.002 0.000u 7.0.8 Policy identify[51207]: policy.c/IsRightsAuthorized/610/Policy
  Domain: Module; rights=Read; pattern="DNG" ...
2019-08-22T15:14:16+00:00 0:00.002 0.000u 7.0.8 Module identify[51207]: module.c/OpenModule/1274/Module
  Searching for module "DNG" using filename "dng.la"
2019-08-22T15:14:16+00:00 0:00.002 0.000u 7.0.8 Module identify[51207]: module.c/GetMagickModulePath/546/Module
  Searching for coder module file "dng.la" ...
2019-08-22T15:14:16+00:00 0:00.002 0.000u 7.0.8 Module identify[51207]: module.c/OpenModule/1283/Module
  Opening module at path "/usr/local/Cellar/imagemagick/7.0.8-59/lib/ImageMagick/modules-Q16HDRI/coders/dng.la"
2019-08-22T15:14:16+00:00 0:00.003 0.000u 7.0.8 Module identify[51207]: module.c/OpenModule/1310/Module
  Method "RegisterDNGImage" in module "DNG" at address 0x101977fa4
2019-08-22T15:14:16+00:00 0:00.003 0.000u 7.0.8 Module identify[51207]: module.c/OpenModule/1324/Module
  Method "UnregisterDNGImage" in module "DNG" at address 0x1019788d7
2019-08-22T15:14:16+00:00 0:00.003 0.000u 7.0.8 Policy identify[51207]: policy.c/IsRightsAuthorized/610/Policy
  Domain: Module; rights=Read; pattern="HTTPS" ...
2019-08-22T15:14:16+00:00 0:00.003 0.000u 7.0.8 Module identify[51207]: module.c/OpenModule/1274/Module
  Searching for module "URL" using filename "url.la"
2019-08-22T15:14:16+00:00 0:00.003 0.000u 7.0.8 Module identify[51207]: module.c/GetMagickModulePath/546/Module
  Searching for coder module file "url.la" ...
2019-08-22T15:14:16+00:00 0:00.003 0.000u 7.0.8 Module identify[51207]: module.c/OpenModule/1283/Module
  Opening module at path "/usr/local/Cellar/imagemagick/7.0.8-59/lib/ImageMagick/modules-Q16HDRI/coders/url.la"
2019-08-22T15:14:16+00:00 0:00.003 0.000u 7.0.8 Module identify[51207]: module.c/OpenModule/1310/Module
  Method "RegisterURLImage" in module "URL" at address 0x101ae8801
2019-08-22T15:14:16+00:00 0:00.003 0.000u 7.0.8 Module identify[51207]: module.c/OpenModule/1324/Module
  Method "UnregisterURLImage" in module "URL" at address 0x101ae8c3a
2019-08-22T15:14:16+00:00 0:00.004 0.000u 7.0.8 Configure identify[51207]: configure.c/GetConfigureOptions/672/Configure
  Searching for configure file: "/usr/local/Cellar/imagemagick/7.0.8-59/share/ImageMagick-7/delegates.xml"
2019-08-22T15:14:16+00:00 0:00.004 0.000u 7.0.8 Configure identify[51207]: configure.c/GetConfigureOptions/672/Configure
  Searching for configure file: "/usr/local/Cellar/imagemagick/7.0.8-59/lib/ImageMagick//config-Q16HDRI/delegates.xml"
2019-08-22T15:14:16+00:00 0:00.004 0.000u 7.0.8 Configure identify[51207]: configure.c/GetConfigureOptions/672/Configure
  Searching for configure file: "/usr/local/Cellar/imagemagick/7.0.8-59/etc/ImageMagick-7/delegates.xml"
2019-08-22T15:14:16+00:00 0:00.004 0.000u 7.0.8 Configure identify[51207]: configure.c/GetConfigureOptions/672/Configure
  Searching for configure file: "/usr/local/Cellar/imagemagick/7.0.8-59/share/doc/ImageMagick-7/delegates.xml"
2019-08-22T15:14:16+00:00 0:00.004 0.000u 7.0.8 Configure identify[51207]: configure.c/GetConfigureOptions/672/Configure
  Searching for configure file: "/Users/xxxxxx/.config/ImageMagick/delegates.xml"
2019-08-22T15:14:16+00:00 0:00.004 0.000u 7.0.8 Configure identify[51207]: delegate.c/LoadDelegateCache/2037/Configure
  Loading delegate configuration file "/usr/local/Cellar/imagemagick/7.0.8-59/etc/ImageMagick-7/delegates.xml" ...
2019-08-22T15:14:16+00:00 0:00.004 0.000u 7.0.8 Policy identify[51207]: policy.c/IsRightsAuthorized/610/Policy
  Domain: Delegate; rights=Execute; pattern="HTTPS" ...
2019-08-22T15:14:16+00:00 0:00.004 0.000u 7.0.8 Policy identify[51207]: policy.c/IsRightsAuthorized/610/Policy
  Domain: Delegate; rights=Execute; pattern="(null)" ...
2019-08-22T15:14:16+00:00 0:00.004 0.000u 7.0.8 Resource identify[51207]: resource.c/AcquireUniqueFileResource/578/Resource
  ...
2019-08-22T15:14:16+00:00 0:00.005 0.000u 7.0.8 Resource identify[51207]: resource.c/AcquireUniqueFileResource/634/Resource
  /var/folders/wm/m3m6tf1s5sx8bw52dhk7c4nxkkhfhv/T/magick-512079bKGVtduEQdw
2019-08-22T15:14:16+00:00 0:00.005 0.000u 7.0.8 Resource identify[51207]: resource.c/AcquireUniqueFileResource/578/Resource
  ...
2019-08-22T15:14:16+00:00 0:00.005 0.000u 7.0.8 Resource identify[51207]: resource.c/AcquireUniqueFileResource/634/Resource
  /var/folders/wm/m3m6tf1s5sx8bw52dhk7c4nxkkhfhv/T/magick-51207Z-tm_wlg2hG8
2019-08-22T15:14:16+00:00 0:00.005 0.000u 7.0.8 Resource identify[51207]: resource.c/RelinquishUniqueFileResource/1105/Resource
  /var/folders/wm/m3m6tf1s5sx8bw52dhk7c4nxkkhfhv/T/magick-51207Z-tm_wlg2hG8
2019-08-22T15:14:16+00:00 0:00.006 0.000u 7.0.8 Resource identify[51207]: resource.c/AcquireUniqueFileResource/578/Resource
  ...
2019-08-22T15:14:16+00:00 0:00.006 0.000u 7.0.8 Resource identify[51207]: resource.c/AcquireUniqueFileResource/634/Resource
  /var/folders/wm/m3m6tf1s5sx8bw52dhk7c4nxkkhfhv/T/magick-51207H6NeipuBABVE
2019-08-22T15:14:16+00:00 0:00.006 0.000u 7.0.8 Resource identify[51207]: resource.c/AcquireUniqueFileResource/578/Resource
  ...
2019-08-22T15:14:16+00:00 0:00.006 0.000u 7.0.8 Resource identify[51207]: resource.c/AcquireUniqueFileResource/634/Resource
  /var/folders/wm/m3m6tf1s5sx8bw52dhk7c4nxkkhfhv/T/magick-51207xI5EkB7Tv6Aa
2019-08-22T15:14:16+00:00 0:00.006 0.000u 7.0.8 Resource identify[51207]: resource.c/RelinquishUniqueFileResource/1105/Resource
  /var/folders/wm/m3m6tf1s5sx8bw52dhk7c4nxkkhfhv/T/magick-51207xI5EkB7Tv6Aa
2019-08-22T15:14:16+00:00 0:00.006 0.000u 7.0.8 Policy identify[51207]: policy.c/IsRightsAuthorized/610/Policy
  Domain: Delegate; rights=Execute; pattern="curl" ...
2019-08-22T15:14:20+00:00 0:03.804 0.010u 7.0.8 Resource identify[51207]: resource.c/RelinquishUniqueFileResource/1105/Resource
  //bitmovin-poc-input.s3-eu-west-1.amazonaws.com/xx_images/RAW_CANON_1DM2.dng
2019-08-22T15:14:20+00:00 0:03.804 0.010u 7.0.8 Exception identify[51207]: utility.c/ShredFile/1845/Exception
  Failed to remove: //bitmovin-poc-input.s3-eu-west-1.amazonaws.com/xx_images/RAW_CANON_1DM2.dng
2019-08-22T15:14:20+00:00 0:03.807 0.010u 7.0.8 Resource identify[51207]: resource.c/RelinquishUniqueFileResource/1105/Resource
  /var/folders/wm/m3m6tf1s5sx8bw52dhk7c4nxkkhfhv/T/magick-51207Z-tm_wlg2hG8
2019-08-22T15:14:20+00:00 0:03.807 0.010u 7.0.8 Resource identify[51207]: resource.c/RelinquishUniqueFileResource/1105/Resource
  /var/folders/wm/m3m6tf1s5sx8bw52dhk7c4nxkkhfhv/T/magick-51207H6NeipuBABVE
2019-08-22T15:14:20+00:00 0:03.807 0.010u 7.0.8 Resource identify[51207]: resource.c/RelinquishUniqueFileResource/1105/Resource
  /var/folders/wm/m3m6tf1s5sx8bw52dhk7c4nxkkhfhv/T/magick-51207Z-tm_wlg2hG8
2019-08-22T15:14:20+00:00 0:03.807 0.010u 7.0.8 Exception identify[51207]: utility.c/ShredFile/1845/Exception
  Failed to remove: /var/folders/wm/m3m6tf1s5sx8bw52dhk7c4nxkkhfhv/T/magick-51207Z-tm_wlg2hG8
2019-08-22T15:14:20+00:00 0:03.808 0.010u 7.0.8 Resource identify[51207]: resource.c/RelinquishUniqueFileResource/1105/Resource
  /var/folders/wm/m3m6tf1s5sx8bw52dhk7c4nxkkhfhv/T/magick-51207xI5EkB7Tv6Aa
2019-08-22T15:14:20+00:00 0:03.808 0.010u 7.0.8 Cache identify[51207]: cache.c/DestroyPixelCache/1041/Cache
  destroy
2019-08-22T15:14:20+00:00 0:03.808 0.010u 7.0.8 Policy identify[51207]: policy.c/IsRightsAuthorized/610/Policy
  Domain: Path; rights=Read; pattern="/var/folders/wm/m3m6tf1s5sx8bw52dhk7c4nxkkhfhv/T/magick-512079bKGVtduEQdw" ...
2019-08-22T15:14:20+00:00 0:03.808 0.010u 7.0.8 Blob identify[51207]: blob.c/OpenBlob/3391/Blob
    read 3 magic header bytes
2019-08-22T15:14:20+00:00 0:03.808 0.010u 7.0.8 Resource identify[51207]: resource.c/AcquireMagickResource/385/Resource
  Map: 5.18213MiB/5.18213MiB/32GiB
2019-08-22T15:14:20+00:00 0:03.809 0.010u 7.0.8 Resource identify[51207]: resource.c/RelinquishMagickResource/1067/Resource
  Map: 5.18213MiB/0B/32GiB
2019-08-22T15:14:20+00:00 0:03.809 0.010u 7.0.8 Cache identify[51207]: cache.c/DestroyPixelCache/1041/Cache
  destroy
2019-08-22T15:14:20+00:00 0:03.810 0.010u 7.0.8 Policy identify[51207]: policy.c/IsRightsAuthorized/610/Policy
  Domain: Module; rights=Read; pattern="TIFF" ...
2019-08-22T15:14:20+00:00 0:03.810 0.010u 7.0.8 Module identify[51207]: module.c/OpenModule/1274/Module
  Searching for module "TIFF" using filename "tiff.la"
2019-08-22T15:14:20+00:00 0:03.810 0.010u 7.0.8 Module identify[51207]: module.c/GetMagickModulePath/546/Module
  Searching for coder module file "tiff.la" ...
2019-08-22T15:14:20+00:00 0:03.810 0.010u 7.0.8 Module identify[51207]: module.c/OpenModule/1283/Module
  Opening module at path "/usr/local/Cellar/imagemagick/7.0.8-59/lib/ImageMagick/modules-Q16HDRI/coders/tiff.la"
2019-08-22T15:14:20+00:00 0:03.812 0.010u 7.0.8 Module identify[51207]: module.c/OpenModule/1310/Module
  Method "RegisterTIFFImage" in module "TIFF" at address 0x101b9e568
2019-08-22T15:14:20+00:00 0:03.812 0.010u 7.0.8 Module identify[51207]: module.c/OpenModule/1324/Module
  Method "UnregisterTIFFImage" in module "TIFF" at address 0x101ba6031
2019-08-22T15:14:20+00:00 0:03.812 0.010u 7.0.8 Policy identify[51207]: policy.c/IsRightsAuthorized/610/Policy
  Domain: Coder; rights=Read; pattern="TIFF" ...
2019-08-22T15:14:20+00:00 0:03.812 0.010u 7.0.8 Policy identify[51207]: policy.c/IsRightsAuthorized/610/Policy
  Domain: Path; rights=Read; pattern="/var/folders/wm/m3m6tf1s5sx8bw52dhk7c4nxkkhfhv/T/magick-512079bKGVtduEQdw" ...
2019-08-22T15:14:20+00:00 0:03.812 0.010u 7.0.8 Blob identify[51207]: blob.c/OpenBlob/3391/Blob
    read 3 magic header bytes
2019-08-22T15:14:20+00:00 0:03.812 0.010u 7.0.8 Resource identify[51207]: resource.c/AcquireMagickResource/385/Resource
  Map: 5.18213MiB/5.18213MiB/32GiB
2019-08-22T15:14:20+00:00 0:03.813 0.010u 7.0.8 Locale identify[51207]: locale.c/GetLocaleOptions/854/Locale
  Searching for locale file: "/usr/local/Cellar/imagemagick/7.0.8-59/share/ImageMagick-7/locale.xml"
2019-08-22T15:14:20+00:00 0:03.813 0.010u 7.0.8 Locale identify[51207]: locale.c/GetLocaleOptions/854/Locale
  Searching for locale file: "/usr/local/Cellar/imagemagick/7.0.8-59/lib/ImageMagick//config-Q16HDRI/locale.xml"
2019-08-22T15:14:20+00:00 0:03.813 0.010u 7.0.8 Locale identify[51207]: locale.c/GetLocaleOptions/854/Locale
  Searching for locale file: "/usr/local/Cellar/imagemagick/7.0.8-59/etc/ImageMagick-7/locale.xml"
2019-08-22T15:14:20+00:00 0:03.813 0.010u 7.0.8 Locale identify[51207]: locale.c/GetLocaleOptions/854/Locale
  Searching for locale file: "/usr/local/Cellar/imagemagick/7.0.8-59/share/doc/ImageMagick-7/locale.xml"
2019-08-22T15:14:20+00:00 0:03.813 0.010u 7.0.8 Locale identify[51207]: locale.c/GetLocaleOptions/854/Locale
  Searching for locale file: "/Users/xxxxxx/.config/ImageMagick/locale.xml"
2019-08-22T15:14:20+00:00 0:03.813 0.010u 7.0.8 Configure identify[51207]: locale.c/LoadLocaleCache/1206/Configure
  Loading locale configure file "/usr/local/Cellar/imagemagick/7.0.8-59/share/ImageMagick-7/locale.xml" ...
2019-08-22T15:14:20+00:00 0:03.813 0.010u 7.0.8 Locale identify[51207]: locale.c/GetLocaleOptions/854/Locale
  Searching for locale file: "/usr/local/Cellar/imagemagick/7.0.8-59/share/ImageMagick-7/english.xml"
2019-08-22T15:14:20+00:00 0:03.813 0.010u 7.0.8 Locale identify[51207]: locale.c/GetLocaleOptions/854/Locale
  Searching for locale file: "/usr/local/Cellar/imagemagick/7.0.8-59/lib/ImageMagick//config-Q16HDRI/english.xml"
2019-08-22T15:14:20+00:00 0:03.813 0.010u 7.0.8 Locale identify[51207]: locale.c/GetLocaleOptions/854/Locale
  Searching for locale file: "/usr/local/Cellar/imagemagick/7.0.8-59/etc/ImageMagick-7/english.xml"
2019-08-22T15:14:20+00:00 0:03.813 0.010u 7.0.8 Locale identify[51207]: locale.c/GetLocaleOptions/854/Locale
  Searching for locale file: "/usr/local/Cellar/imagemagick/7.0.8-59/share/doc/ImageMagick-7/english.xml"
2019-08-22T15:14:20+00:00 0:03.813 0.010u 7.0.8 Locale identify[51207]: locale.c/GetLocaleOptions/854/Locale
  Searching for locale file: "/Users/xxxxxx/.config/ImageMagick/english.xml"
2019-08-22T15:14:20+00:00 0:03.813 0.010u 7.0.8 Configure identify[51207]: locale.c/LoadLocaleCache/1206/Configure
  Loading locale configure file "/usr/local/Cellar/imagemagick/7.0.8-59/share/ImageMagick-7/english.xml" ...
2019-08-22T15:14:20+00:00 0:03.815 0.010u 7.0.8 Exception identify[51207]: tiff.c/TIFFWarnings/1012/Exception
  Unknown field with tag 37393 (0x9211) encountered. `TIFFReadDirectory'
2019-08-22T15:14:20+00:00 0:03.815 0.010u 7.0.8 Exception identify[51207]: tiff.c/TIFFWarnings/1012/Exception
  Unknown field with tag 50931 (0xc6f3) encountered. `TIFFReadDirectory'
2019-08-22T15:14:20+00:00 0:03.815 0.010u 7.0.8 Exception identify[51207]: tiff.c/TIFFWarnings/1012/Exception
  Unknown field with tag 50932 (0xc6f4) encountered. `TIFFReadDirectory'
2019-08-22T15:14:20+00:00 0:03.815 0.010u 7.0.8 Exception identify[51207]: tiff.c/TIFFWarnings/1012/Exception
  Unknown field with tag 50936 (0xc6f8) encountered. `TIFFReadDirectory'
2019-08-22T15:14:20+00:00 0:03.815 0.010u 7.0.8 Exception identify[51207]: tiff.c/TIFFWarnings/1012/Exception
  Unknown field with tag 50941 (0xc6fd) encountered. `TIFFReadDirectory'
2019-08-22T15:14:20+00:00 0:03.815 0.010u 7.0.8 Exception identify[51207]: tiff.c/TIFFWarnings/1012/Exception
  Unknown field with tag 50942 (0xc6fe) encountered. `TIFFReadDirectory'
2019-08-22T15:14:20+00:00 0:03.815 0.010u 7.0.8 Exception identify[51207]: tiff.c/TIFFWarnings/1012/Exception
  Unknown field with tag 50964 (0xc714) encountered. `TIFFReadDirectory'
2019-08-22T15:14:20+00:00 0:03.815 0.010u 7.0.8 Exception identify[51207]: tiff.c/TIFFWarnings/1012/Exception
  Unknown field with tag 50965 (0xc715) encountered. `TIFFReadDirectory'
2019-08-22T15:14:20+00:00 0:03.815 0.010u 7.0.8 Exception identify[51207]: tiff.c/TIFFWarnings/1012/Exception
  Unknown field with tag 50966 (0xc716) encountered. `TIFFReadDirectory'
2019-08-22T15:14:20+00:00 0:03.815 0.010u 7.0.8 Exception identify[51207]: tiff.c/TIFFWarnings/1012/Exception
  Unknown field with tag 50967 (0xc717) encountered. `TIFFReadDirectory'
2019-08-22T15:14:20+00:00 0:03.815 0.010u 7.0.8 Exception identify[51207]: tiff.c/TIFFWarnings/1012/Exception
  Unknown field with tag 50969 (0xc719) encountered. `TIFFReadDirectory'
2019-08-22T15:14:20+00:00 0:03.815 0.010u 7.0.8 Exception identify[51207]: tiff.c/TIFFWarnings/1012/Exception
  Unknown field with tag 50970 (0xc71a) encountered. `TIFFReadDirectory'
2019-08-22T15:14:20+00:00 0:03.815 0.010u 7.0.8 Exception identify[51207]: tiff.c/TIFFWarnings/1012/Exception
  Unknown field with tag 50971 (0xc71b) encountered. `TIFFReadDirectory'
2019-08-22T15:14:20+00:00 0:03.815 0.010u 7.0.8 Exception identify[51207]: tiff.c/TIFFWarnings/1012/Exception
  Unknown field with tag 50981 (0xc725) encountered. `TIFFReadDirectory'
2019-08-22T15:14:20+00:00 0:03.815 0.010u 7.0.8 Exception identify[51207]: tiff.c/TIFFWarnings/1012/Exception
  Unknown field with tag 50982 (0xc726) encountered. `TIFFReadDirectory'
2019-08-22T15:14:20+00:00 0:03.815 0.010u 7.0.8 Exception identify[51207]: tiff.c/TIFFWarnings/1012/Exception
  Unknown field with tag 51041 (0xc761) encountered. `TIFFReadDirectory'
2019-08-22T15:14:20+00:00 0:03.815 0.010u 7.0.8 Exception identify[51207]: tiff.c/TIFFWarnings/1012/Exception
  Unknown field with tag 51111 (0xc7a7) encountered. `TIFFReadDirectory'
2019-08-22T15:14:20+00:00 0:03.815 0.010u 7.0.8 Coder identify[51207]: tiff.c/ReadTIFFImage/1484/Coder
  Geometry: 256x171
2019-08-22T15:14:20+00:00 0:03.815 0.010u 7.0.8 Coder identify[51207]: tiff.c/ReadTIFFImage/1486/Coder
  Interlace: 1
2019-08-22T15:14:20+00:00 0:03.815 0.010u 7.0.8 Coder identify[51207]: tiff.c/ReadTIFFImage/1488/Coder
  Bits per sample: 8
2019-08-22T15:14:20+00:00 0:03.815 0.010u 7.0.8 Coder identify[51207]: tiff.c/ReadTIFFImage/1490/Coder
  Min sample value: 0
2019-08-22T15:14:20+00:00 0:03.815 0.010u 7.0.8 Coder identify[51207]: tiff.c/ReadTIFFImage/1492/Coder
  Max sample value: 255
2019-08-22T15:14:20+00:00 0:03.815 0.010u 7.0.8 Coder identify[51207]: tiff.c/ReadTIFFImage/1494/Coder
  Photometric interpretation: RGB
2019-08-22T15:14:20+00:00 0:03.815 0.010u 7.0.8 Coder identify[51207]: tiff.c/ReadTIFFImage/1502/Coder
  Image depth: 8
2019-08-22T15:14:20+00:00 0:03.816 0.020u 7.0.8 Exception identify[51207]: xml-tree.c/NewXMLTree/2139/Exception
  ParseError missing >
2019-08-22T15:14:20+00:00 0:03.816 0.020u 7.0.8 Exception identify[51207]: tiff.c/TIFFWarnings/1012/Exception
  Unknown field with tag 42032 (0xa430) encountered. `TIFFReadCustomDirectory'
2019-08-22T15:14:20+00:00 0:03.816 0.020u 7.0.8 Exception identify[51207]: tiff.c/TIFFWarnings/1012/Exception
  Unknown field with tag 42033 (0xa431) encountered. `TIFFReadCustomDirectory'
2019-08-22T15:14:20+00:00 0:03.816 0.020u 7.0.8 Exception identify[51207]: tiff.c/TIFFWarnings/1012/Exception
  Unknown field with tag 42034 (0xa432) encountered. `TIFFReadCustomDirectory'
2019-08-22T15:14:20+00:00 0:03.816 0.020u 7.0.8 Exception identify[51207]: tiff.c/TIFFWarnings/1012/Exception
  Unknown field with tag 42036 (0xa434) encountered. `TIFFReadCustomDirectory'
2019-08-22T15:14:20+00:00 0:03.816 0.020u 7.0.8 Exception identify[51207]: tiff.c/TIFFWarnings/1012/Exception
  Unknown field with tag 37393 (0x9211) encountered. `TIFFReadDirectory'
2019-08-22T15:14:20+00:00 0:03.816 0.020u 7.0.8 Exception identify[51207]: tiff.c/TIFFWarnings/1012/Exception
  Unknown field with tag 50931 (0xc6f3) encountered. `TIFFReadDirectory'
2019-08-22T15:14:20+00:00 0:03.816 0.020u 7.0.8 Exception identify[51207]: tiff.c/TIFFWarnings/1012/Exception
  Unknown field with tag 50932 (0xc6f4) encountered. `TIFFReadDirectory'
2019-08-22T15:14:20+00:00 0:03.816 0.020u 7.0.8 Exception identify[51207]: tiff.c/TIFFWarnings/1012/Exception
  Unknown field with tag 50936 (0xc6f8) encountered. `TIFFReadDirectory'
2019-08-22T15:14:20+00:00 0:03.816 0.020u 7.0.8 Exception identify[51207]: tiff.c/TIFFWarnings/1012/Exception
  Unknown field with tag 50941 (0xc6fd) encountered. `TIFFReadDirectory'
2019-08-22T15:14:20+00:00 0:03.816 0.020u 7.0.8 Exception identify[51207]: tiff.c/TIFFWarnings/1012/Exception
  Unknown field with tag 50942 (0xc6fe) encountered. `TIFFReadDirectory'
2019-08-22T15:14:20+00:00 0:03.817 0.020u 7.0.8 Exception identify[51207]: tiff.c/TIFFWarnings/1012/Exception
  Unknown field with tag 50964 (0xc714) encountered. `TIFFReadDirectory'
2019-08-22T15:14:20+00:00 0:03.817 0.020u 7.0.8 Exception identify[51207]: tiff.c/TIFFWarnings/1012/Exception
  Unknown field with tag 50965 (0xc715) encountered. `TIFFReadDirectory'
2019-08-22T15:14:20+00:00 0:03.817 0.020u 7.0.8 Exception identify[51207]: tiff.c/TIFFWarnings/1012/Exception
  Unknown field with tag 50966 (0xc716) encountered. `TIFFReadDirectory'
2019-08-22T15:14:20+00:00 0:03.817 0.020u 7.0.8 Exception identify[51207]: tiff.c/TIFFWarnings/1012/Exception
  Unknown field with tag 50967 (0xc717) encountered. `TIFFReadDirectory'
2019-08-22T15:14:20+00:00 0:03.817 0.020u 7.0.8 Exception identify[51207]: tiff.c/TIFFWarnings/1012/Exception
  Unknown field with tag 50969 (0xc719) encountered. `TIFFReadDirectory'
2019-08-22T15:14:20+00:00 0:03.817 0.020u 7.0.8 Exception identify[51207]: tiff.c/TIFFWarnings/1012/Exception
  Unknown field with tag 50970 (0xc71a) encountered. `TIFFReadDirectory'
2019-08-22T15:14:20+00:00 0:03.817 0.020u 7.0.8 Exception identify[51207]: tiff.c/TIFFWarnings/1012/Exception
  Unknown field with tag 50971 (0xc71b) encountered. `TIFFReadDirectory'
2019-08-22T15:14:20+00:00 0:03.817 0.020u 7.0.8 Exception identify[51207]: tiff.c/TIFFWarnings/1012/Exception
  Unknown field with tag 50981 (0xc725) encountered. `TIFFReadDirectory'
2019-08-22T15:14:20+00:00 0:03.817 0.020u 7.0.8 Exception identify[51207]: tiff.c/TIFFWarnings/1012/Exception
  Unknown field with tag 50982 (0xc726) encountered. `TIFFReadDirectory'
2019-08-22T15:14:20+00:00 0:03.817 0.020u 7.0.8 Exception identify[51207]: tiff.c/TIFFWarnings/1012/Exception
  Unknown field with tag 51041 (0xc761) encountered. `TIFFReadDirectory'
2019-08-22T15:14:20+00:00 0:03.817 0.020u 7.0.8 Exception identify[51207]: tiff.c/TIFFWarnings/1012/Exception
  Unknown field with tag 51111 (0xc7a7) encountered. `TIFFReadDirectory'
2019-08-22T15:14:20+00:00 0:03.817 0.020u 7.0.8 Resource identify[51207]: resource.c/AcquireMagickResource/385/Resource
  ListLength: 1/0/9.22337E
2019-08-22T15:14:20+00:00 0:03.817 0.020u 7.0.8 Pixel identify[51207]: pixel.c/SetPixelChannelMask/6291/Pixel
  /var/folders/wm/m3m6tf1s5sx8bw52dhk7c4nxkkhfhv/T/magick-512079bKGVtduEQdw[07ffffff]
2019-08-22T15:14:20+00:00 0:03.817 0.020u 7.0.8 Pixel identify[51207]: pixel.c/LogPixelChannels/6175/Pixel
  /var/folders/wm/m3m6tf1s5sx8bw52dhk7c4nxkkhfhv/T/magick-512079bKGVtduEQdw[07ffffff]
2019-08-22T15:14:20+00:00 0:03.817 0.020u 7.0.8 Pixel identify[51207]: pixel.c/LogPixelChannels/6272/Pixel
    0: red (update)
2019-08-22T15:14:20+00:00 0:03.817 0.020u 7.0.8 Pixel identify[51207]: pixel.c/LogPixelChannels/6272/Pixel
    1: green (update)
2019-08-22T15:14:20+00:00 0:03.817 0.020u 7.0.8 Pixel identify[51207]: pixel.c/LogPixelChannels/6272/Pixel
    2: blue (update)
2019-08-22T15:14:20+00:00 0:03.817 0.020u 7.0.8 Resource identify[51207]: resource.c/AcquireMagickResource/385/Resource
  Area: 43776B/0B/32GiB
2019-08-22T15:14:20+00:00 0:03.817 0.020u 7.0.8 Resource identify[51207]: resource.c/AcquireMagickResource/385/Resource
  Memory: 525312B/525312B/16GiB
2019-08-22T15:14:20+00:00 0:03.817 0.020u 7.0.8 Cache identify[51207]: cache.c/OpenPixelCache/3775/Cache
  open /var/folders/wm/m3m6tf1s5sx8bw52dhk7c4nxkkhfhv/T/magick-512079bKGVtduEQdw[0] (Heap Memory, 256x171x3 525312B)
2019-08-22T15:14:20+00:00 0:03.819 0.020u 7.0.8 Resource identify[51207]: resource.c/RelinquishMagickResource/1067/Resource
  Map: 5.18213MiB/0B/32GiB
2019-08-22T15:14:20+00:00 0:03.819 0.020u 7.0.8 Resource identify[51207]: resource.c/RelinquishUniqueFileResource/1105/Resource
  /var/folders/wm/m3m6tf1s5sx8bw52dhk7c4nxkkhfhv/T/magick-512079bKGVtduEQdw
Image: //bitmovin-poc-input.s3-eu-west-1.amazonaws.com/xx_images/RAW_CANON_1DM2.dng
  Base filename: RAW_CANON_1DM2.dng
  Format: TIFF (Tagged Image File Format)
  Mime type: image/tiff
  Class: DirectClass
  Geometry: 256x171+0+0
  Units: PixelsPerInch
  Colorspace: sRGB
  Type: TrueColor
  Endianess: LSB
  Depth: 8-bit
  Channel depth:
    Red: 8-bit
    Green: 8-bit
    Blue: 8-bit
  Channel statistics:
    Pixels: 43776
    Red:
      min: 0  (0)
      max: 254 (0.996078)
      mean: 93.7652 (0.367707)
      standard deviation: 61.551 (0.241376)
      kurtosis: 1.20761
      skewness: 1.43492
      entropy: 0.854389
    Green:
      min: 0  (0)
      max: 250 (0.980392)
      mean: 89.9847 (0.352881)
      standard deviation: 56.8347 (0.222881)
      kurtosis: 1.60134
      skewness: 1.5319
      entropy: 0.813792
    Blue:
      min: 0  (0)
      max: 246 (0.964706)
      mean: 52.748 (0.206855)
      standard deviation: 66.9617 (0.262595)
      kurtosis: 1.39761
      skewness: 1.65781
      entropy: 0.832744
  Image statistics:
    Overall:
      min: 0  (0)
      max: 254 (0.996078)
      mean: 78.8326 (0.309148)
      standard deviation: 61.7825 (0.242284)
      kurtosis: 0.892702
      skewness: 1.2688
      entropy: 0.833642
  Rendering intent: Perceptual
  Gamma: 0.454545
  Chromaticity:
    red primary: (0.64,0.33)
    green primary: (0.3,0.6)
    blue primary: (0.15,0.06)
    white point: (0.3127,0.329)
2019-08-22T15:14:20+00:00 0:03.833 0.040u 7.0.8 Configure identify[51207]: configure.c/GetConfigureOptions/672/Configure
  Searching for configure file: "/usr/local/Cellar/imagemagick/7.0.8-59/share/ImageMagick-7/colors.xml"
2019-08-22T15:14:20+00:00 0:03.833 0.040u 7.0.8 Configure identify[51207]: configure.c/GetConfigureOptions/672/Configure
  Searching for configure file: "/usr/local/Cellar/imagemagick/7.0.8-59/lib/ImageMagick//config-Q16HDRI/colors.xml"
2019-08-22T15:14:20+00:00 0:03.833 0.040u 7.0.8 Configure identify[51207]: configure.c/GetConfigureOptions/672/Configure
  Searching for configure file: "/usr/local/Cellar/imagemagick/7.0.8-59/etc/ImageMagick-7/colors.xml"
2019-08-22T15:14:20+00:00 0:03.833 0.040u 7.0.8 Configure identify[51207]: configure.c/GetConfigureOptions/672/Configure
  Searching for configure file: "/usr/local/Cellar/imagemagick/7.0.8-59/share/doc/ImageMagick-7/colors.xml"
2019-08-22T15:14:20+00:00 0:03.840 0.050u 7.0.8 Configure identify[51207]: configure.c/GetConfigureOptions/672/Configure
  Searching for configure file: "/Users/xxxxxx/.config/ImageMagick/colors.xml"
2019-08-22T15:14:20+00:00 0:03.840 0.050u 7.0.8 Configure identify[51207]: color.c/LoadColorCache/2020/Configure
  Loading color file "/usr/local/Cellar/imagemagick/7.0.8-59/etc/ImageMagick-7/colors.xml" ...
  Matte color: grey74
  Background color: white
  Border color: srgb(223,223,223)
  Transparent color: none
  Interlace: None
  Intensity: Undefined
  Compose: Over
  Page geometry: 256x171+0+0
  Dispose: Undefined
  Iterations: 0
  Compression: None
  Orientation: TopLeft
2019-08-22T15:14:20+00:00 0:03.840 0.050u 7.0.8 Exception identify[51207]: xml-tree.c/NewXMLTree/2139/Exception
  ParseError missing >
  Properties:
    date:create: 2019-08-22T15:14:20+00:00
    date:modify: 2019-08-22T15:14:20+00:00
    exif:ApertureValue: 6.33985
    exif:CustomRendered: 0
    exif:DateTimeDigitized: 2005:10:29 16:14:44
    exif:DateTimeOriginal: 2005:10:29 16:14:44
    exif:ExposureBiasValue: 0
    exif:ExposureMode: 0
    exif:ExposureProgram: 2
    exif:ExposureTime: 0.00125
    exif:Flash: 16
    exif:FNumber: 9
    exif:FocalLength: 252
    exif:FocalPlaneResolutionUnit: 2
    exif:FocalPlaneXResolution: 3098.59
    exif:FocalPlaneYResolution: 3097.88
    exif:ISOSpeedRatings: 100
    exif:MaxApertureValue: 4.625
    exif:MeteringMode: 3
    exif:SceneCaptureType: 0
    exif:ShutterSpeedValue: 9.64386
    exif:WhiteBalance: 0
    signature: d4a0a2df411529b1951e1815c57fbc7883565f9b5e1acb0ded0683ab12abed2d
    tiff:alpha: unspecified
    tiff:artist: Jakob K. Rohrbach - Switzerland
    tiff:endian: lsb
    tiff:make: Canon
    tiff:model: Canon EOS-1D Mark II
    tiff:photometric: RGB
    tiff:rows-per-strip: 10
    tiff:software: Adobe Photoshop Camera Raw 11.1 (Macintosh)
    tiff:subfiletype: REDUCEDIMAGE
    tiff:timestamp: 2019:08:21 15:18:26
  Profiles:
    Profile-xmp: 12302 bytes
xmp(12302):
<?xpacket begin="" id="W5M0MpCehiHzreSzNTczkc9d"?>
<x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="Adobe XMP Core 5.6-c140 79.160451, 2017/05/06-01:08:21        ">
 <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
  <rdf:Description rdf:about=""
    xmlns:dc="http://purl.org/dc/elements/1.1/"
    xmlns:aux="http://ns.adobe.com/exif/1.0/aux/"
    xmlns:xmp="http://ns.adobe.com/xap/1.0/"
    xmlns:photoshop="http://ns.adobe.com/photoshop/1.0/"
    xmlns:xmpMM="http://ns.adobe.com/xap/1.0/mm/"
    xmlns:stEvt="http://ns.adobe.com/xap/1.0/sType/ResourceEvent#"
    xmlns:stRef="http://ns.adobe.com/xap/1.0/sType/ResourceRef#"
    xmlns:crs="http://ns.adobe.com/camera-raw-settings/1.0/"
   dc:format="image/dng"
   aux:SerialNumber="222104"
   aux:LensInfo="180/1 180/1 0/0 0/0"
   aux:Lens="180.0 mm"
   aux:LensID="173"
   aux:ImageNumber="14070"
   aux:FlashCompensation="0/1"
   aux:OwnerName="Jakob K. Rohrbach - Switzerland"
   aux:Firmware="1.2.2"
   xmp:ModifyDate="2019-08-21T15:18:26+02:00"
   xmp:CreateDate="2005-10-29T16:14:44"
   xmp:CreatorTool="Adobe Photoshop Camera Raw 11.1 (Macintosh)"
   xmp:MetadataDate="2019-08-21T15:18:26+02:00"
   photoshop:DateCreated="2005-10-29T16:14:44"
   xmpMM:DocumentID="xmp.did:0402510b-b265-4151-a207-13b19036bf06"
   xmpMM:OriginalDocumentID="0314E14D3ABB618EE4AF5115DEE9BEE2"
   xmpMM:InstanceID="xmp.iid:0402510b-b265-4151-a207-13b19036bf06"
   crs:Version="11.1"
   crs:ProcessVersion="11.0"
   crs:WhiteBalance="Custom"
   crs:Temperature="5450"
   crs:Tint="+5"
   crs:Saturation="0"
   crs:Sharpness="40"
   crs:LuminanceSmoothing="0"
   crs:ColorNoiseReduction="25"
   crs:VignetteAmount="0"
   crs:ShadowTint="0"
   crs:RedHue="0"
   crs:RedSaturation="0"
   crs:GreenHue="0"
   crs:GreenSaturation="0"
   crs:BlueHue="0"
   crs:BlueSaturation="0"
   crs:Vibrance="0"
   crs:HueAdjustmentRed="0"
   crs:HueAdjustmentOrange="0"
   crs:HueAdjustmentYellow="0"
   crs:HueAdjustmentGreen="0"
   crs:HueAdjustmentAqua="0"
   crs:HueAdjustmentBlue="0"
   crs:HueAdjustmentPurple="0"
   crs:HueAdjustmentMagenta="0"
   crs:SaturationAdjustmentRed="0"
   crs:SaturationAdjustmentOrange="0"
   crs:SaturationAdjustmentYellow="0"
   crs:SaturationAdjustmentGreen="0"
   crs:SaturationAdjustmentAqua="0"
   crs:SaturationAdjustmentBlue="0"
   crs:SaturationAdjustmentPurple="0"
   crs:SaturationAdjustmentMagenta="0"
   crs:LuminanceAdjustmentRed="0"
   crs:LuminanceAdjustmentOrange="0"
   crs:LuminanceAdjustmentYellow="0"
   crs:LuminanceAdjustmentGreen="0"
   crs:LuminanceAdjustmentAqua="0"
   crs:LuminanceAdjustmentBlue="0"
   crs:LuminanceAdjustmentPurple="0"
   crs:LuminanceAdjustmentMagenta="0"
   crs:SplitToningShadowHue="0"
   crs:SplitToningShadowSaturation="0"
   crs:SplitToningHighlightHue="0"
   crs:SplitToningHighlightSaturation="0"
   crs:SplitToningBalance="0"
   crs:ParametricShadows="0"
   crs:ParametricDarks="0"
   crs:ParametricLights="0"
   crs:ParametricHighlights="0"
   crs:ParametricShadowSplit="25"
   crs:ParametricMidtoneSplit="50"
   crs:ParametricHighlightSplit="75"
   crs:SharpenRadius="+1.0"
   crs:SharpenDetail="25"
   crs:SharpenEdgeMasking="0"
   crs:PostCropVignetteAmount="0"
   crs:GrainAmount="0"
   crs:ColorNoiseReductionDetail="50"
   crs:ColorNoiseReductionSmoothness="50"
   crs:LensProfileEnable="0"
   crs:LensManualDistortionAmount="0"
   crs:PerspectiveVertical="0"
   crs:PerspectiveHorizontal="0"
   crs:PerspectiveRotate="0.0"
   crs:PerspectiveScale="100"
   crs:PerspectiveAspect="0"
   crs:PerspectiveUpright="0"
   crs:PerspectiveX="0.00"
   crs:PerspectiveY="0.00"
   crs:AutoLateralCA="0"
   crs:Exposure2012="+1.10"
   crs:Contrast2012="-7"
   crs:Highlights2012="0"
   crs:Shadows2012="0"
   crs:Whites2012="0"
   crs:Blacks2012="0"
   crs:Clarity2012="0"
   crs:DefringePurpleAmount="0"
   crs:DefringePurpleHueLo="30"
   crs:DefringePurpleHueHi="70"
   crs:DefringeGreenAmount="0"
   crs:DefringeGreenHueLo="40"
   crs:DefringeGreenHueHi="60"
   crs:Dehaze="0"
   crs:ToneMapStrength="0"
   crs:ConvertToGrayscale="False"
   crs:OverrideLookVignette="False"
   crs:ToneCurveName="Medium Contrast"
   crs:ToneCurveName2012="Linear"
   crs:CameraProfile="Adobe Standard"
   crs:CameraProfileDigest="B0393704628CAFDD09F0DE7684972186"
   crs:LensProfileSetup="LensDefaults"
   crs:UprightVersion="151388160"
   crs:UprightCenterMode="0"
   crs:UprightCenterNormX="0.5"
   crs:UprightCenterNormY="0.5"
   crs:UprightFocalMode="0"
   crs:UprightFocalLength35mm="35"
   crs:UprightPreview="False"
   crs:UprightTransformCount="6"
   crs:UprightFourSegmentsCount="0"
   crs:HasSettings="True"
   crs:HasCrop="False"
   crs:AlreadyApplied="False">
   <dc:creator>
    <rdf:Seq>
     <rdf:li>Jakob K. Rohrbach - Switzerland</rdf:li>
    </rdf:Seq>
   </dc:creator>
   <xmpMM:History>
    <rdf:Seq>
     <rdf:li
      stEvt:action="derived"
      stEvt:parameters="converted from image/x-canon-cr2 to image/dng, saved to new location"/>
     <rdf:li
      stEvt:action="saved"
      stEvt:instanceID="xmp.iid:0402510b-b265-4151-a207-13b19036bf06"
      stEvt:when="2019-08-21T15:18:26+02:00"
      stEvt:softwareAgent="Adobe Photoshop Camera Raw 11.1 (Macintosh)"
      stEvt:changed="/"/>
    </rdf:Seq>
   </xmpMM:History>
   <xmpMM:DerivedFrom
    stRef:documentID="0314E14D3ABB618EE4AF5115DEE9BEE2"
    stRef:originalDocumentID="0314E14D3ABB618EE4AF5115DEE9BEE2"/>
   <crs:ToneCurve>
    <rdf:Seq>
     <rdf:li>0, 0</rdf:li>
     <rdf:li>32, 22</rdf:li>
     <rdf:li>64, 56</rdf:li>
     <rdf:li>128, 128</rdf:li>
     <rdf:li>192, 196</rdf:li>
     <rdf:li>255, 255</rdf:li>
    </rdf:Seq>
   </crs:ToneCurve>
   <crs:ToneCurveRed>
    <rdf:Seq>
     <rdf:li>0, 0</rdf:li>
     <rdf:li>255, 255</rdf:li>
    </rdf:Seq>
   </crs:ToneCurveRed>
   <crs:ToneCurveGreen>
    <rdf:Seq>
     <rdf:li>0, 0</rdf:li>
     <rdf:li>255, 255</rdf:li>
    </rdf:Seq>
   </crs:ToneCurveGreen>
   <crs:ToneCurveBlue>
    <rdf:Seq>
     <rdf:li>0, 0</rdf:li>
     <rdf:li>255, 255</rdf:li>
    </rdf:Seq>
   </crs:ToneCurveBlue>
   <crs:ToneCurvePV2012>
    <rdf:Seq>
     <rdf:li>0, 0</rdf:li>
     <rdf:li>255, 255</rdf:li>
    </rdf:Seq>
   </crs:ToneCurvePV2012>
   <crs:ToneCurvePV2012Red>
    <rdf:Seq>
     <rdf:li>0, 0</rdf:li>
     <rdf:li>255, 255</rdf:li>
    </rdf:Seq>
   </crs:ToneCurvePV2012Red>
   <crs:ToneCurvePV2012Green>
    <rdf:Seq>
     <rdf:li>0, 0</rdf:li>
     <rdf:li>255, 255</rdf:li>
    </rdf:Seq>
   </crs:ToneCurvePV2012Green>
   <crs:ToneCurvePV2012Blue>
    <rdf:Seq>
     <rdf:li>0, 0</rdf:li>
     <rdf:li>255, 255</rdf:li>
    </rdf:Seq>
   </crs:ToneCurvePV2012Blue>
   <crs:Look>
    <rdf:Description
     crs:Name="Adobe Color"
     crs:Amount="1.000000"
     crs:UUID="B952C231111CD8E0ECCF14B86BAA7077"
     crs:SupportsAmount="false"
     crs:SupportsMonochrome="false"
     crs:SupportsOutputReferred="false"
     crs:Copyright="© 2018 Adobe Systems, Inc.">
    <crs:Group>
     <rdf:Alt>
      <rdf:li xml:lang="x-default">Profiles</rdf:li>
     </rdf:Alt>
    </crs:Group>
    <crs:Parameters>
     <rdf:Description
      crs:Version="11.1"
      crs:ProcessVersion="11.0"
      crs:ConvertToGrayscale="False"
      crs:CameraProfile="Adobe Standard"
      crs:LookTable="E1095149FDB39D7A057BAB208837E2E1">
     <crs:ToneCurvePV2012>
      <rdf:Seq>
       <rdf:li>0, 0</rdf:li>
       <rdf:li>22, 16</rdf:li>
       <rdf:li>40, 35</rdf:li>
       <rdf:li>127, 127</rdf:li>
       <rdf:li>224, 230</rdf:li>
       <rdf:li>240, 246</rdf:li>
       <rdf:li>255, 255</rdf:li>
      </rdf:Seq>
     </crs:ToneCurvePV2012>
     <crs:ToneCurvePV2012Red>
      <rdf:Seq>
       <rdf:li>0, 0</rdf:li>
       <rdf:li>255, 255</rdf:li>
      </rdf:Seq>
     </crs:ToneCurvePV2012Red>
     <crs:ToneCurvePV2012Green>
      <rdf:Seq>
       <rdf:li>0, 0</rdf:li>
       <rdf:li>255, 255</rdf:li>
      </rdf:Seq>
     </crs:ToneCurvePV2012Green>
     <crs:ToneCurvePV2012Blue>
      <rdf:Seq>
       <rdf:li>0, 0</rdf:li>
       <rdf:li>255, 255</rdf:li>
      </rdf:Seq>
     </crs:ToneCurvePV2012Blue>
     </rdf:Description>
    </crs:Parameters>
    </rdf:Description>
   </crs:Look>
  </rdf:Description>
 </rdf:RDF>
</x:xmpmeta>









































<?xpacket end="w"?>
  Artifacts:
    verbose: true
  Tainted: False
  Filesize: 5.18213MiB
  Number pixels: 43776
  Pixels per second: 5.58997MP
  User time: 0.020u
  Elapsed time: 0:01.007
  Version: ImageMagick 7.0.8-59 Q16 x86_64 2019-08-05 https://imagemagick.org
2019-08-22T15:14:20+00:00 0:03.842 0.050u 7.0.8 Cache identify[51207]: cache.c/DestroyPixelCache/1041/Cache
  destroy /var/folders/wm/m3m6tf1s5sx8bw52dhk7c4nxkkhfhv/T/magick-512079bKGVtduEQdw[0]
2019-08-22T15:14:20+00:00 0:03.842 0.050u 7.0.8 Resource identify[51207]: resource.c/RelinquishMagickResource/1067/Resource
  Memory: 525312B/0B/16GiB
identify: Unknown field with tag 37393 (0x9211) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/1012.
identify: Unknown field with tag 50931 (0xc6f3) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/1012.
identify: Unknown field with tag 50932 (0xc6f4) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/1012.
identify: Unknown field with tag 50936 (0xc6f8) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/1012.
identify: Unknown field with tag 50941 (0xc6fd) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/1012.
identify: Unknown field with tag 50942 (0xc6fe) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/1012.
identify: Unknown field with tag 50964 (0xc714) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/1012.
identify: Unknown field with tag 50965 (0xc715) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/1012.
identify: Unknown field with tag 50966 (0xc716) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/1012.
identify: Unknown field with tag 50967 (0xc717) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/1012.
identify: Unknown field with tag 50969 (0xc719) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/1012.
identify: Unknown field with tag 50970 (0xc71a) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/1012.
identify: Unknown field with tag 50971 (0xc71b) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/1012.
identify: Unknown field with tag 50981 (0xc725) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/1012.
identify: Unknown field with tag 50982 (0xc726) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/1012.
identify: Unknown field with tag 51041 (0xc761) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/1012.
identify: Unknown field with tag 51111 (0xc7a7) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/1012.
identify: Unknown field with tag 42032 (0xa430) encountered. `TIFFReadCustomDirectory' @ warning/tiff.c/TIFFWarnings/1012.
identify: Unknown field with tag 42033 (0xa431) encountered. `TIFFReadCustomDirectory' @ warning/tiff.c/TIFFWarnings/1012.
identify: Unknown field with tag 42034 (0xa432) encountered. `TIFFReadCustomDirectory' @ warning/tiff.c/TIFFWarnings/1012.
identify: Unknown field with tag 42036 (0xa434) encountered. `TIFFReadCustomDirectory' @ warning/tiff.c/TIFFWarnings/1012.
identify: Unknown field with tag 50931 (0xc6f3) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/1012.
identify: Unknown field with tag 50932 (0xc6f4) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/1012.
identify: Unknown field with tag 50936 (0xc6f8) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/1012.
identify: Unknown field with tag 50941 (0xc6fd) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/1012.
identify: Unknown field with tag 50942 (0xc6fe) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/1012.
identify: Unknown field with tag 50964 (0xc714) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/1012.
identify: Unknown field with tag 50965 (0xc715) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/1012.
identify: Unknown field with tag 50966 (0xc716) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/1012.
identify: Unknown field with tag 50967 (0xc717) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/1012.
identify: Unknown field with tag 50969 (0xc719) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/1012.
identify: Unknown field with tag 50970 (0xc71a) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/1012.
identify: Unknown field with tag 50971 (0xc71b) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/1012.
identify: Unknown field with tag 50981 (0xc725) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/1012.
identify: Unknown field with tag 50982 (0xc726) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/1012.
identify: Unknown field with tag 51041 (0xc761) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/1012.
identify: Unknown field with tag 51111 (0xc7a7) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/1012.
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: identify returns different results for HTTPS than for local source

Post by snibgo »

With IM v6.9.9-50 and 7.0.7-28 I get the same result as you: if I wget the file and identify it locally, IM processes it correctly as a DNG, but when IM accesses over the net it processes it as a TIFF and reads a thumbnail from it.

I don't know why IM gets that wrong. A developer would need to take a look.

Prefixing the remote filename with "DNG:" doesn't help because IM throws an error, possibly because of the two colons:

Code: Select all

magick identify -verbose  DNG:https://bitmovin-poc-input.s3-eu-west-1.amazonaws.com/xx_images/RAW_CANON_1DM2.dng

identify: unable to open image 'https://bitmovin-poc-input.s3-eu-west-1.amazonaws.com/xx_images/RAW_CANON_1DM2.dng': Invalid argument @ error/blob.c/OpenBlob/33
75.
snibgo's IM pages: im.snibgo.com
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: identify returns different results for HTTPS than for local source

Post by fmw42 »

Mostly identify will show tiff if you do not preface the file with DNG:. See https://imagemagick.org/script/formats.php
DNG R Digital Negative Requires an explicit image format otherwise the image is interpreted as a TIFF image (e.g. dng:image.dng).
But I am not sure you can do that with http:// or https://. I have not tried. But I suspect the two colons may be an issue. But it is worth trying.
yasokuuhl
Posts: 8
Joined: 2019-08-22T07:42:59-07:00
Authentication code: 1152

Re: identify returns different results for HTTPS than for local source

Post by yasokuuhl »

DNG R Digital Negative Requires an explicit image format otherwise the image is interpreted as a TIFF image (e.g. dng:image.dng).
When the file is available locally it works without explicitly specifying the input format though... (see sample call for local dng source in my initial post)

Of course I still gave it a try aswell. For simplicity I used a jpg input file this time to see if I got the syntax right:

Code: Select all

identify -verbose jpg:https://bitmovin-poc-input.s3-eu-west-1.amazonaws.com/xx_images/ingest/jpegadobergb.jpg
identify: unable to open image 'https://bitmovin-poc-input.s3-eu-west-1.amazonaws.com/xx_images/ingest/jpegadobergb.jpg': No such file or directory @ error/blob.c/OpenBlob/3497.
So, same result as you had, snibgo. Then I thought maybe the placement of the "jpg:" in front of the URL is wrong and maybe it must be within the URL in front of the filename:

Code: Select all

identify -verbose https://bitmovin-poc-input.s3-eu-west-1.amazonaws.com/xx_images/ingest/jpg:jpegadobergb.jpg
identify: must specify image size `/var/folders/wm/m3m6tf1s5sx8bw52dhk7c4nxkkhfhv/T/magick-53833Z6yD6gIQ3r1E' @ error/mvg.c/ReadMVGImage/186.
This seems to work better - at least the file can be found now. Removing -verbose from the equation results in this:

Code: Select all

identify  https://bitmovin-poc-input.s3-eu-west-1.amazonaws.com/xx_images/ingest/jpg:jpegadobergb.jpg
https://bitmovin-poc-input.s3-eu-west-1.amazonaws.com/xx_images/ingest/jpg:jpegadobergb.jpg=>//bitmovin-poc-input.s3-eu-west-1.amazonaws.com/xx_images/ingest/jpg:jpegadobergb.jpg SVG 0x0 16-bit sRGB 243B 0.010u 0:00.010
So now with explicit image format declaration the jpg is interpreted as an SVG...
I also ran the tests again with DNG and the behaviour was exactly the same as with JPG. Same error messages all the way and same SVG mis-recognition.

Does anyone think this warrants a bug report?
Last edited by yasokuuhl on 2019-08-23T08:52:07-07:00, edited 1 time in total.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: identify returns different results for HTTPS than for local source

Post by fmw42 »

Try simply downloading the https webp file and save to webp. Then do identify on that. You can even pipe it

Code: Select all

magick https://...../image.webp WEBP:- | magick identify WEBP:-
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: identify returns different results for HTTPS than for local source

Post by snibgo »

yasokuuhl wrote:Does anyone think this warrants a bug report?
Yes.

I think putting the format within the URL eg "https://somewhere/jpg:myfile.jpg" is wrong, and I think IM should complain. I'm not surprised IM gets confused.

But "http://somewhere/myfile.dng" should be read as a dng, not a simple tiff, and that seems like a clear bug to me.

(Personally, I prefer to "wget" the file, then process the local copy.)
snibgo's IM pages: im.snibgo.com
yasokuuhl
Posts: 8
Joined: 2019-08-22T07:42:59-07:00
Authentication code: 1152

Re: identify returns different results for HTTPS than for local source

Post by yasokuuhl »

Thanks for both your help! The download + piping method sounds like a workaround.
I would still like to see it work with HTTP directly - so I'll also make a bug report.

Where would be the best place to file that bug report in order for it to actually get developer attention? Here in the forum or on the Imagemagick github tracker?
Also: would you phrase it as "DNG not recognized properly via HTTP" or more as "Explicit file format not working for HTTP input"
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: identify returns different results for HTTPS than for local source

Post by snibgo »

I suggest you post in the bugs forum https://www.imagemagick.org/discourse-s ... um.php?f=3

I would go with your first title, to report that bug.

If you also wish to report that "dng:https://somewhere..." doesn't work, I suggest you report that as a separate bug. Each report can contain links to this thread and each other.
snibgo's IM pages: im.snibgo.com
yasokuuhl
Posts: 8
Joined: 2019-08-22T07:42:59-07:00
Authentication code: 1152

Re: identify returns different results for HTTPS than for local source

Post by yasokuuhl »

Thanks for all the help again!

As you recommended, I created two bugs for this issue:
https://www.imagemagick.org/discourse-s ... =3&t=36581
https://www.imagemagick.org/discourse-s ... =3&t=36582
Post Reply