Running
Code: Select all
magick convert input.pict output.tif
Again in the Hex editor I can see that the input files contain a 512 byte empty header as referenced here https://github.com/ImageMagick/ImageMagick/issues/970.
Here's the output of `identify -verbose`:
Code: Select all
Image: /path/input.pict
Format: PICT (Apple Macintosh QuickDraw/PICT)
Class: DirectClass
Geometry: 3072x2048+0+0
Resolution: 72x72
Print size: 42.6667x28.4444
Units: Undefined
Colorspace: sRGB
Type: Bilevel
Base type: Undefined
Endianess: Undefined
Depth: 8/1-bit
Channel depth:
Red: 1-bit
Green: 1-bit
Blue: 1-bit
Channel statistics:
Pixels: 6291456
Red:
min: 0 (0)
max: 0 (0)
mean: 0 (0)
standard deviation: 0 (0)
kurtosis: -3
skewness: 0
entropy: 0
Green:
min: 0 (0)
max: 0 (0)
mean: 0 (0)
standard deviation: 0 (0)
kurtosis: -3
skewness: 0
entropy: 0
Blue:
min: 0 (0)
max: 0 (0)
mean: 0 (0)
standard deviation: 0 (0)
kurtosis: -3
skewness: 0
entropy: 0
Image statistics:
Overall:
min: 0 (0)
max: 0 (0)
mean: 0 (0)
standard deviation: 0 (0)
kurtosis: -3
skewness: 0
entropy: 0
Colors: 1
Histogram:
6291456: ( 0, 0, 0) #000000 black
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: 3072x2048+0+0
Dispose: Undefined
Iterations: 0
Compression: Undefined
Orientation: Undefined
Properties:
date:create: 2018-12-17T15:15:12-08:00
date:modify: 1997-03-10T09:30:08-08:00
signature: 2ca8f698096c926a0ed939656eb5e7a81f2635b99b6889bd815a84ab811eb4f5
Artifacts:
verbose: true
Tainted: False
Filesize: 4.43681MiB
Number pixels: 6.29146M
Pixels per second: 125.829MP
User time: 0.040u
Elapsed time: 0:01.049
Version: ImageMagick 7.0.8-16 Q16 x86_64 2018-12-17 https://imagemagick.org
Code: Select all
ExifTool Version Number : 11.11
File Name : input.pict
Directory : /my/path/
File Size : 4.4 MB
Resource Fork Size : 39 kB
File Modification Date/Time : 1997:03:10 09:30:08-08:00
File Access Date/Time : 2018:12:18 12:19:35-08:00
File Inode Change Date/Time : 2018:12:17 15:15:12-08:00
File Permissions : rwxrwxrwx
File Type : PICT
File Type Extension : pict
MIME Type : image/pict
Image Width : 12288
Image Height : 8192
X Resolution : 288
Y Resolution : 288
Image Size : 12288x8192
Megapixels : 100.7
Also, I tried various flags like turning off/removing alpha, tried `-compress none`, and some other flags.
Any ideas? Thanks!
UPDATE: looking at the output of identify, I can see that it registers as 1-bit depth... and Histogram registers as #000000. This seems... incorrect? I can see the image using Preview and clearly there is color information in there beyond 1-bit (black and white). :/