Code: Select all
convert -size 400x400 xc:"gray(255,0)" -type grayscalealpha im_transparent.psd
Code: Select all
convert -size 400x400 xc:"gray(255,0)" -type grayscalealpha im_transparent.psd
Code: Select all
convert -size 400x400 xc:"gray(255,0)" -depth 16 -type grayscalealpha im_transparent.psd
Code: Select all
identify -verbose template.psd
Image: template.psd
Format: PSD (Adobe Photoshop bitmap)
Class: DirectClass
Geometry: 100x100+0+0
Resolution: 72x72
Print size: 1.38889x1.38889
Units: PixelsPerInch
Colorspace: sRGB
Type: Bilevel
Base type: Undefined
Endianess: MSB
Depth: 16/1-bit
Channel depth:
red: 1-bit
green: 1-bit
blue: 1-bit
alpha: 1-bit
Channel statistics:
Pixels: 10000
Red:
min: 65535 (1)
max: 65535 (1)
mean: 65535 (1)
standard deviation: 0 (0)
kurtosis: 8.192e+63
skewness: 1e+45
entropy: nan
Green:
min: 65535 (1)
max: 65535 (1)
mean: 65535 (1)
standard deviation: 0 (0)
kurtosis: 8.192e+63
skewness: 1e+45
entropy: nan
Blue:
min: 65535 (1)
max: 65535 (1)
mean: 65535 (1)
standard deviation: 0 (0)
kurtosis: 8.192e+63
skewness: 1e+45
entropy: nan
Alpha:
min: 0 (0)
max: 0 (0)
mean: 0 (0)
standard deviation: 0 (0)
kurtosis: -3
skewness: 0
entropy: nan
Image statistics:
Overall:
min: 0 (0)
max: 65535 (1)
mean: 49151.2 (0.75)
standard deviation: 0 (0)
kurtosis: -0.666783
skewness: -1.15466
entropy: nan
Alpha: srgba(255,255,255,0) #FFFFFFFFFFFF0000
Colors: 1
Histogram:
10000: (65535,65535,65535, 0) #FFFFFFFFFFFF0000 srgba(255,255,255,0)
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: white
Border color: srgba(223,223,223,1)
Matte color: grey74
Transparent color: none
Interlace: None
Intensity: Undefined
Compose: Over
Page geometry: 100x100+0+0
Dispose: Undefined
Iterations: 0
Compression: None
Orientation: Undefined
Properties:
date:create: 2017-12-28T17:45:23-08:00
date:modify: 2017-12-28T19:05:58-08:00
dc:format: application/vnd.adobe.photoshop
photoshop:ColorMode: 3
signature: 9e9eb51de1b4128c59d6e66c3a4910bb54dc3799f23d5f72bf9cc4e97d728f1e
tiff:XResolution: 72
tiff:YResolution: 72
xmp:CreateDate: 2017-12-06T14:12:57-05:00
xmp:CreatorTool: Adobe Photoshop CC 2014 (Windows)
xmp:MetadataDate: 2017-12-08T15:07:09-05:00
xmp:ModifyDate: 2017-12-08T15:07:09-05:00
xmpMM:DocumentID: adobe:docid:photoshop:4f26c4a8-dc53-11e7-9170-e657d102cdc7
xmpMM:InstanceID: xmp.iid:63f83b28-654c-bb47-923c-e09e1f783d70
xmpMM:OriginalDocumentID: xmp.did:ba53f78c-4b81-9246-bd0e-33b7819e9b46
Profiles:
Profile-8bim: 17870 bytes
Profile-exif: 306 bytes
Profile-xmp: 14334 bytes
Artifacts:
filename: template.psd
verbose: true
Tainted: False
Filesize: 98390B
Number pixels: 10000
User time: 0.000u
Elapsed time: 0:01.000
Version: ImageMagick 6.9.9-29 Q16 x86_64 2017-12-27 http://www.imagemagick.org
Code: Select all
convert -size 400x400 xc:"rgba(255,255,255,0)" -depth 16 -type truecoloralpha -set colorspace:auto-grayscale off im_transparent_rgb_white_alpha.psd
Code: Select all
identify -verbose im_transparent_rgb_white_alpha.psd
Image: im_transparent_rgb_white_alpha.psd
Format: PSD (Adobe Photoshop bitmap)
Class: DirectClass
Geometry: 400x400+0+0
Units: PixelsPerInch
Colorspace: sRGB
Type: Bilevel
Base type: Undefined
Endianess: MSB
Depth: 16/1-bit
Channel depth:
red: 1-bit
green: 1-bit
blue: 1-bit
alpha: 1-bit
Channel statistics:
Pixels: 160000
Red:
min: 65535 (1)
max: 65535 (1)
mean: 65535 (1)
standard deviation: 0 (0)
kurtosis: 8.192e+63
skewness: 1e+45
entropy: nan
Green:
min: 65535 (1)
max: 65535 (1)
mean: 65535 (1)
standard deviation: 0 (0)
kurtosis: 8.192e+63
skewness: 1e+45
entropy: nan
Blue:
min: 65535 (1)
max: 65535 (1)
mean: 65535 (1)
standard deviation: 0 (0)
kurtosis: 8.192e+63
skewness: 1e+45
entropy: nan
Alpha:
min: 0 (0)
max: 0 (0)
mean: 0 (0)
standard deviation: 0 (0)
kurtosis: -3
skewness: 0
entropy: nan
Image statistics:
Overall:
min: 0 (0)
max: 65535 (1)
mean: 49151.2 (0.75)
standard deviation: 0 (0)
kurtosis: -0.666674
skewness: -1.1547
entropy: nan
Alpha: srgba(255,255,255,0) #FFFFFFFFFFFF0000
Colors: 1
Histogram:
160000: (65535,65535,65535, 0) #FFFFFFFFFFFF0000 srgba(255,255,255,0)
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: white
Border color: srgba(223,223,223,1)
Matte color: grey74
Transparent color: none
Interlace: None
Intensity: Undefined
Compose: Over
Page geometry: 400x400+0+0
Dispose: Undefined
Iterations: 0
Scene: 0 of 2
Compression: None
Orientation: Undefined
Properties:
date:create: 2017-12-28T17:57:47-08:00
date:modify: 2017-12-28T17:57:47-08:00
signature: 2e767511484a8f057c76a36091d6eb446c3ad433c7c697386189da89a63a6d6b
tiff:XResolution: 0
tiff:YResolution: 0
Profiles:
Profile-8bim: 28 bytes
Artifacts:
filename: im_transparent_rgb_white_alpha.psd
verbose: true
Tainted: False
Filesize: 2.44156MiB
Number pixels: 160000
Pixels per second: 16MB
User time: 0.020u
Elapsed time: 0:01.009
Version: ImageMagick 6.9.9-29 Q16 x86_64 2017-12-27 http://www.imagemagick.org
Image: im_transparent_rgb_white_alpha.psd
Format: PSD (Adobe Photoshop bitmap)
Class: DirectClass
Geometry: 400x400+0+0
Units: PixelsPerInch
Colorspace: sRGB
Type: Bilevel
Base type: Undefined
Endianess: MSB
Depth: 16/1-bit
Channel depth:
red: 1-bit
green: 1-bit
blue: 1-bit
alpha: 1-bit
Channel statistics:
Pixels: 160000
Red:
min: 65535 (1)
max: 65535 (1)
mean: 65535 (1)
standard deviation: 0 (0)
kurtosis: 8.192e+63
skewness: 1e+45
entropy: nan
Green:
min: 65535 (1)
max: 65535 (1)
mean: 65535 (1)
standard deviation: 0 (0)
kurtosis: 8.192e+63
skewness: 1e+45
entropy: nan
Blue:
min: 65535 (1)
max: 65535 (1)
mean: 65535 (1)
standard deviation: 0 (0)
kurtosis: 8.192e+63
skewness: 1e+45
entropy: nan
Alpha:
min: 0 (0)
max: 0 (0)
mean: 0 (0)
standard deviation: 0 (0)
kurtosis: -3
skewness: 0
entropy: nan
Image statistics:
Overall:
min: 0 (0)
max: 65535 (1)
mean: 49151.2 (0.75)
standard deviation: 0 (0)
kurtosis: -0.666674
skewness: -1.1547
entropy: nan
Alpha: srgba(255,255,255,0) #FFFFFFFFFFFF0000
Colors: 1
Histogram:
160000: (65535,65535,65535, 0) #FFFFFFFFFFFF0000 srgba(255,255,255,0)
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: white
Border color: srgba(223,223,223,1)
Matte color: grey74
Transparent color: none
Interlace: None
Intensity: Undefined
Compose: Over
Page geometry: 400x400+0+0
Dispose: Undefined
Iterations: 0
Scene: 1 of 2
Compression: None
Orientation: Undefined
Properties:
date:create: 2017-12-28T17:57:47-08:00
date:modify: 2017-12-28T17:57:47-08:00
label: L1
signature: 2e767511484a8f057c76a36091d6eb446c3ad433c7c697386189da89a63a6d6b
tiff:XResolution: 0
tiff:YResolution: 0
Profiles:
Profile-8bim: 28 bytes
Artifacts:
filename: im_transparent_rgb_white_alpha.psd
psd:layer.opacity: 65535
psd:layer.x: 0
psd:layer.y: 0
verbose: true
Tainted: False
Filesize: 2.44156MiB
Number pixels: 160000
Pixels per second: 1.33333MB
User time: 0.440u
Elapsed time: 0:01.120
Version: ImageMagick 6.9.9-29 Q16 x86_64 2017-12-27 http://www.imagemagick.org
Fredericks-Mac-mini:desktop fred$
Code: Select all
convert -size 400x400 xc:"rgba(255,255,255,0)" -depth 16 -type truecoloralpha -set colorspace:auto-grayscale off im_transparent_rgb_white_alpha.psd
Code: Select all
convert -size 400x400 xc:"rgba(255,255,254,0)" -depth 16 -type truecoloralpha result.psd
Code: Select all
convert -size 400x400 xc:"rgba(1,0,0,0)" -depth 16 -type truecoloralpha result.psd