This does not work for me. I get an all-black image.
Code: Select all
convert cats.mac cats.tif
Code: Select all
convert cats.mac cats.png
[Version: ImageMagick 6.8.9-1 Q16 x86_64 2014-05-17, Features: DPC OpenMP]
Code: Select all
convert cats.mac cats.tif
Code: Select all
convert cats.mac cats.png
Code: Select all
Image: cats.mac
Format: MAC (MAC Paint)
Class: PseudoClass
Geometry: 576x720+0+0
Units: Undefined
Type: Bilevel
Base type: Bilevel
Endianess: Undefined
Colorspace: Gray
Depth: 1-bit
Channel depth:
gray: 1-bit
Channel statistics:
Gray:
min: 0 (0)
max: 0 (0)
mean: 0 (0)
standard deviation: 0 (0)
kurtosis: 0
skewness: 0
Colors: 1
Histogram:
414720: ( 0, 0, 0) #000000 gray(0)
Colormap entries: 2
Colormap:
0: ( 0, 0, 0) #000000 gray(0)
1: (255,255,255) #FFFFFF gray(255)
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)
Background color: gray(255)
Border color: gray(223)
Matte color: gray(189)
Transparent color: gray(0)
Interlace: None
Intensity: Undefined
Compose: Over
Page geometry: 576x720+0+0
Dispose: Undefined
Iterations: 0
Compression: Undefined
Orientation: Undefined
Properties:
date:create: 2014-05-17T20:32:31+01:00
date:modify: 2014-05-17T20:32:17+01:00
signature: 19892baa96112082ecc7fc436c1259ffea83303327ee04eda98c966ee302815b
Artifacts:
filename: cats.mac
verbose: true
Tainted: True
Filesize: 5.76KB
Number pixels: 415K
Pixels per second: 9.223372EB
User time: 0.000u
Elapsed time: 0:01.000
Version: ImageMagick 6.8.9-0 Q16 x64 2014-04-06 http://www.imagemagick.org
Show the list of delegates. You may be missing libtiff, libjpeg,etc. Did you install from source or from binary? If from source, you must successfully install all needed delegates before installing IM.[Version: ImageMagick 6.8.9-1 Q16 x86_64 2014-05-17, Features: DPC OpenMP]
Code: Select all
--- a/ImageMagick-6.8.9-1/coders/mac.c 2013-12-01 14:47:50.000000000 +0000
+++ b/ImageMagick-6.8.9-1/coders/mac.c 2014-05-21 17:59:00.393848099 +0000
@@ -244,6 +244,7 @@
}
}
pixels=(unsigned char *) RelinquishMagickMemory(pixels);
+ (void) SyncImage(image);
(void) CloseBlob(image);
return(GetFirstImageInList(image));
}