Open kardecom opened 3 years ago
Hi @dshorthouse. When we convert CR2 to tiff with ImageMagick, do we use any -profile? If we do, could you please let me know where I can take a look at it Thank you
Adding @cgendreau as well
I checked the Preview001.jpg and the Thumb001.jpg in a folder that also contained a CR2 hoping that these contained a color profile, embedded by cannon when these were created, but do not see any icc profile through Imagick's identify
utility. For what it's worth, this is what I get:
Preview001.jpg
Image:
Filename: Preview001.jpg
Format: JPEG (Joint Photographic Experts Group JFIF format)
Mime type: image/jpeg
Class: DirectClass
Geometry: 5792x8688+0+0
Resolution: 72x72
Print size: 80.4444x120.667
Units: PixelsPerInch
Colorspace: sRGB
Type: TrueColor
Base type: Undefined
Endianness: Undefined
Depth: 8-bit
Channel depth:
Red: 8-bit
Green: 8-bit
Blue: 8-bit
Channel statistics:
Pixels: 50320896
Red:
min: 6 (0.0235294)
max: 255 (1)
mean: 217.232 (0.851888)
median: 136 (0.533333)
standard deviation: 35.7326 (0.140128)
kurtosis: 10.9287
skewness: -3.19972
entropy: 0.673683
Green:
min: 0 (0)
max: 255 (1)
mean: 198.36 (0.777881)
median: 103 (0.403922)
standard deviation: 35.3035 (0.138445)
kurtosis: 9.49006
skewness: -3.01482
entropy: 0.68855
Blue:
min: 0 (0)
max: 255 (1)
mean: 185.659 (0.728073)
median: 92 (0.360784)
standard deviation: 31.7537 (0.124524)
kurtosis: 9.78797
skewness: -2.99052
entropy: 0.708624
Image statistics:
Overall:
min: 0 (0)
max: 255 (1)
mean: 200.417 (0.785948)
median: 110.333 (0.43268)
standard deviation: 34.2633 (0.134366)
kurtosis: 7.25301
skewness: -2.43689
entropy: 0.690286
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)
Matte color: grey74
Background color: white
Border color: srgb(223,223,223)
Transparent color: none
Interlace: None
Intensity: Undefined
Compose: Over
Page geometry: 5792x8688+0+0
Dispose: Undefined
Iterations: 0
Compression: JPEG
Quality: 75
Orientation: Undefined
Properties:
date:create: 2021-03-30T14:21:02+00:00
date:modify: 2021-02-22T17:26:08+00:00
jpeg:colorspace: 2
jpeg:sampling-factor: 2x2,1x1,1x1
signature: b45b6e50e7b9c8cb5a38b5f7e11d355cf58a4d3a90d94fb700f6000790624d66
Artifacts:
verbose: true
Tainted: False
Filesize: 1.45232MiB
Number pixels: 50.3209M
Pixels per second: 79.6987MP
User time: 0.630u
Elapsed time: 0:01.631
Version: ImageMagick 7.0.11-6 Q16 x86_64 2021-04-03 https://imagemagick.org
Thumb001.jpg
Image:
Filename: Thumb001.jpg
Format: JPEG (Joint Photographic Experts Group JFIF format)
Mime type: image/jpeg
Class: DirectClass
Geometry: 173x260+0+0
Resolution: 72x72
Print size: 2.40278x3.61111
Units: Undefined
Colorspace: sRGB
Type: TrueColor
Base type: Undefined
Endianness: Undefined
Depth: 8-bit
Channel depth:
Red: 8-bit
Green: 8-bit
Blue: 8-bit
Channel statistics:
Pixels: 44980
Red:
min: 10 (0.0392157)
max: 255 (1)
mean: 217.163 (0.851621)
median: 150 (0.588235)
standard deviation: 34.7129 (0.136129)
kurtosis: 10.6166
skewness: -3.12295
entropy: 0.678108
Green:
min: 0 (0)
max: 253 (0.992157)
mean: 198.494 (0.778409)
median: 122 (0.478431)
standard deviation: 34.421 (0.134984)
kurtosis: 9.58429
skewness: -2.98088
entropy: 0.695312
Blue:
min: 6 (0.0235294)
max: 255 (1)
mean: 186.072 (0.729696)
median: 109 (0.427451)
standard deviation: 30.5488 (0.119799)
kurtosis: 10.0664
skewness: -3.01141
entropy: 0.701939
Image statistics:
Overall:
min: 0 (0)
max: 255 (1)
mean: 200.577 (0.786575)
median: 127 (0.498039)
standard deviation: 33.2276 (0.130304)
kurtosis: 7.20687
skewness: -2.388
entropy: 0.691786
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)
Matte color: grey74
Background color: white
Border color: srgb(223,223,223)
Transparent color: none
Interlace: None
Intensity: Undefined
Compose: Over
Page geometry: 173x260+0+0
Dispose: Undefined
Iterations: 0
Compression: JPEG
Quality: 75
Orientation: TopLeft
Profiles:
Profile-8bim: 40 bytes
Profile-exif: 86 bytes
Profile-iptc: 0 bytes
Properties:
date:create: 2021-03-30T13:38:07+00:00
date:modify: 2021-03-30T13:38:05+00:00
exif:ColorSpace: 1
exif:ExifOffset: 38
exif:PixelXDimension: 173
exif:PixelYDimension: 260
jpeg:colorspace: 2
jpeg:sampling-factor: 2x2,1x1,1x1
signature: 88bb34052e82056eb4b6f64399d66bb52a6b7cb5055f51f6bbd5c4b583be2c12
Artifacts:
verbose: true
Tainted: False
Filesize: 5237B
Number pixels: 44980
Pixels per second: 39.3172MP
User time: 0.000u
Elapsed time: 0:01.001
Version: ImageMagick 7.0.11-6 Q16 x86_64 2021-04-03 https://imagemagick.org
it's ok if we don't have any. I just need to know if we have one. Thank you
We need to explore a possibility on the cluster to create a functionality for authorized users to generate tiff file from original CR2. There is an idea to use ImageMagick invocation via golang app and send an email to the authorized user with the link where it can be downloaded. This is POC only