get psd layer names with php

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
jayle
Posts: 2
Joined: 2013-06-01T00:24:34-07:00
Authentication code: 6789

get psd layer names with php

Post by jayle »

the question like this : viewtopic.php?f=1&t=16072

I want to get layer names from psd file with php

but I not know how to do this? Anyone can help me ? thanks very much
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: get psd layer names with php

Post by fmw42 »

put the commands from the other link into PHP exec() commands and extract the array from the exec() and select the array element containing the names. see http://us2.php.net/manual/en/function.exec.php. perhaps one of the PHP IM users can give more details.
jayle
Posts: 2
Joined: 2013-06-01T00:24:34-07:00
Authentication code: 6789

Re: get psd layer names with php

Post by jayle »

I don ' t have permission to exec() function :(

Is there any way to do this with ImageMagick API for php?

http://php.net/manual/en/book.imagick.php
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: get psd layer names with php

Post by fmw42 »

I am not an Imagick user, but try http://us3.php.net/manual/en/imagick.ge ... operty.php


Here is all the verbose information. Look for the property called label in each layer/frame after the first one, which is the flattened image.

Code: Select all

convert TestLayers.psd -verbose info:
Image: TestLayers.psd
  Format: PSD (Adobe Photoshop bitmap)
  Class: DirectClass
  Geometry: 128x128+0+0
  Resolution: 72x72
  Print size: 1.77778x1.77778
  Units: PixelsPerInch
  Type: PaletteAlpha
  Endianess: Undefined
  Colorspace: sRGB
  Depth: 8-bit
  Channel depth:
    red: 8-bit
    green: 8-bit
    blue: 8-bit
    alpha: 8-bit
  Channel statistics:
    Red:
      min: 34 (0.133333)
      max: 255 (1)
      mean: 247.609 (0.971017)
      standard deviation: 32.5596 (0.127685)
      kurtosis: 21.2107
      skewness: -4.65337
    Green:
      min: 31 (0.121569)
      max: 255 (1)
      mean: 247.519 (0.970661)
      standard deviation: 32.9753 (0.129315)
      kurtosis: 21.2338
      skewness: -4.65608
    Blue:
      min: 26 (0.101961)
      max: 255 (1)
      mean: 247.365 (0.970059)
      standard deviation: 33.64 (0.131922)
      kurtosis: 21.2058
      skewness: -4.65337
    Alpha:
      min: 0 (0)
      max: 236 (0.92549)
      mean: 7.88342 (0.0309154)
      standard deviation: 34.7274 (0.136186)
      kurtosis: 21.1961
      skewness: -4.65218
  Image statistics:
    Overall:
      min: 19 (0.0745098)
      max: 255 (1)
      mean: 247.402 (0.970206)
      standard deviation: 33.4856 (0.131316)
      kurtosis: 21.2771
      skewness: -4.65872
  Alpha: srgba(255,255,255,0)   #FFFFFF00
  Colors: 70
  Histogram:
         1: ( 34, 31, 26,236) #221F1AEC srgba(34,31,26,0.92549)
        44: ( 44, 41, 37,225) #2C2925E1 srgba(44,41,37,0.882353)
         1: ( 45, 42, 38,224) #2D2A26E0 srgba(45,42,38,0.878431)
         1: ( 47, 44, 40,222) #2F2C28DE srgba(47,44,40,0.870588)
         3: ( 50, 47, 43,219) #322F2BDB srgba(50,47,43,0.858824)
         1: ( 52, 49, 45,217) #34312DD9 srgba(52,49,45,0.85098)
        75: ( 54, 52, 48,214) #363430D6 srgba(54,52,48,0.839216)
         3: ( 55, 53, 49,213) #373531D5 srgba(55,53,49,0.835294)
         1: ( 57, 55, 51,211) #393733D3 srgba(57,55,51,0.827451)
         2: ( 58, 56, 52,210) #3A3834D2 srgba(58,56,52,0.823529)
         1: ( 60, 58, 54,208) #3C3A36D0 srgba(60,58,54,0.815686)
         2: ( 61, 59, 54,207) #3D3B36CF srgba(61,59,54,0.811765)
        77: ( 64, 61, 57,204) #403D39CC srgba(64,61,57,0.8)
         5: ( 67, 64, 60,201) #43403CC9 srgba(67,64,60,0.788235)
         3: ( 69, 67, 63,198) #45433FC6 srgba(69,67,63,0.776471)
         3: ( 72, 70, 66,195) #484642C3 srgba(72,70,66,0.764706)
         1: ( 75, 73, 69,192) #4B4945C0 srgba(75,73,69,0.752941)
         5: ( 78, 76, 72,189) #4E4C48BD srgba(78,76,72,0.741176)
         1: ( 81, 78, 75,186) #514E4BBA srgba(81,78,75,0.729412)
         3: ( 83, 81, 78,183) #53514EB7 srgba(83,81,78,0.717647)
         1: ( 84, 82, 79,182) #54524FB6 srgba(84,82,79,0.713725)
         1: ( 86, 84, 81,180) #565451B4 srgba(86,84,81,0.705882)
         1: ( 89, 87, 84,177) #595754B1 srgba(89,87,84,0.694118)
         1: ( 93, 91, 87,173) #5D5B57AD srgba(93,91,87,0.678431)
         2: ( 95, 93, 89,171) #5F5D59AB srgba(95,93,89,0.670588)
         1: ( 98, 96, 92,168) #62605CA8 srgba(98,96,92,0.658824)
         1: ( 99, 97, 94,166) #63615EA6 srgba(99,97,94,0.65098)
       140: (100, 98, 95,165) #64625FA5 srgba(100,98,95,0.647059)
         1: (103,101, 98,162) #676562A2 srgba(103,101,98,0.635294)
         2: (106,104,101,159) #6A68659F srgba(106,104,101,0.623529)
         4: (109,107,104,156) #6D6B689C srgba(109,107,104,0.611765)
         1: (110,108,105,155) #6E6C699B srgba(110,108,105,0.607843)
         1: (111,109,106,154) #6F6D6A9A srgba(111,109,106,0.603922)
       129: (112,110,107,153) #706E6B99 srgba(112,110,107,0.6)
         1: (114,113,110,150) #72716E96 srgba(114,113,110,0.588235)
         2: (117,115,113,147) #75737193 srgba(117,115,113,0.576471)
         1: (120,118,116,144) #78767490 srgba(120,118,116,0.564706)
         1: (123,121,118,141) #7B79768D srgba(123,121,118,0.552941)
         1: (126,124,121,138) #7E7C798A srgba(126,124,121,0.541176)
         1: (128,127,124,135) #807F7C87 srgba(128,127,124,0.529412)
         3: (131,130,127,132) #83827F84 srgba(131,130,127,0.517647)
         1: (134,133,130,129) #86858281 srgba(134,133,130,0.505882)
         1: (137,135,133,126) #8987857E srgba(137,135,133,0.494118)
         2: (140,138,136,123) #8C8A887B srgba(140,138,136,0.482353)
         1: (143,141,139,120) #8F8D8B78 srgba(143,141,139,0.470588)
         1: (145,144,142,117) #91908E75 srgba(145,144,142,0.458824)
         1: (148,147,145,114) #94939172 srgba(148,147,145,0.447059)
         1: (149,148,146,113) #95949271 srgba(149,148,146,0.443137)
         2: (151,150,147,111) #9796936F srgba(151,150,147,0.435294)
         1: (156,154,152,106) #9C9A986A srgba(156,154,152,0.415686)
         1: (158,156,154,104) #9E9C9A68 srgba(158,156,154,0.407843)
         1: (158,157,155,103) #9E9D9B67 srgba(158,157,155,0.403922)
       127: (159,158,156,102) #9F9E9C66 srgba(159,158,156,0.4)
         1: (162,161,159, 99) #A2A19F63 srgba(162,161,159,0.388235)
         1: (169,168,166, 92) #A9A8A65C srgba(169,168,166,0.360784)
       139: (171,170,168, 90) #ABAAA85A srgba(171,170,168,0.352941)
         1: (193,192,191, 66) #C1C0BF42 srgba(193,192,191,0.258824)
        75: (207,207,206, 51) #CFCFCE33 srgba(207,207,206,0.2)
         2: (213,212,211, 45) #D5D4D32D srgba(213,212,211,0.176471)
         1: (215,214,213, 43) #D7D6D52B srgba(215,214,213,0.168627)
        45: (227,227,226, 30) #E3E3E21E srgba(227,227,226,0.117647)
         4: (233,232,232, 24) #E9E8E818 srgba(233,232,232,0.0941176)
         3: (235,235,235, 21) #EBEBEB15 srgba(235,235,235,0.0823529)
         4: (238,238,238, 18) #EEEEEE12 srgba(238,238,238,0.0705882)
         4: (241,241,240, 15) #F1F1F00F srgba(241,241,240,0.0588235)
         4: (244,244,243, 12) #F4F4F30C srgba(244,244,243,0.0470588)
         6: (247,246,246,  9) #F7F6F609 srgba(247,246,246,0.0352941)
         6: (249,249,249,  6) #F9F9F906 srgba(249,249,249,0.0235294)
         2: (252,252,252,  3) #FCFCFC03 srgba(252,252,252,0.0117647)
     15417: (255,255,255,  0) #FFFFFF00 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: 128x128+0+0
  Dispose: Undefined
  Iterations: 0
  Scene: 0 of 3
  Compression: RLE
  Orientation: TopLeft
  Properties:
    date:create: 2013-06-01T21:27:48-07:00
    date:modify: 2013-06-01T21:27:48-07:00
    dc:format: application/vnd.adobe.photoshop
    exif:ColorSpace: 1
    exif:NativeDigest: 36864,40960,40961,37121,37122,40962,40963,37510,40964,36867,36868,33434,33437,34850,34852,34855,34856,37377,37378,37379,37380,37381,37382,37383,37384,37385,37386,37396,41483,41484,41486,41487,41488,41492,41493,41495,41728,41729,41730,41985,41986,41987,41988,41989,41990,41991,41992,41993,41994,41995,41996,42016,0,2,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,20,22,23,24,25,26,27,28,30;2197F9070E91F8AFD09934B9DD8FA31E
    exif:PixelXDimension: 128
    exif:PixelYDimension: 128
    photoshop:ColorMode: 3
    photoshop:History: 
    photoshop:ICCProfile: sRGB IEC61966-2.1
    signature: 24a91386fa59147c9d181222deb516d8976c177ab175f622f7e5ef56f7f74481
    tiff:NativeDigest: 256,257,258,259,262,274,277,284,530,531,282,283,296,301,318,319,529,532,306,270,271,272,305,315,33432;837E4199C2CB05A99BA861B6510D4D20
    tiff:XResolution: 72
    tiff:YResolution: 72
    xap:CreateDate: 2010-04-22T15:14:12-06:00
    xap:CreatorTool: Adobe Photoshop CS2 Windows
    xap:MetadataDate: 2010-04-22T15:15:22-06:00
    xap:ModifyDate: 2010-04-22T15:15:22-06:00
    xapMM:DocumentID: uuid:3F34F29D4E4EDF11976394E2BA4A8848
    xapMM:InstanceID: uuid:4034F29D4E4EDF11976394E2BA4A8848
  Profiles:
    Profile-8bim: 22012 bytes
    Profile-exif: 302 bytes
    Profile-icc: 3144 bytes
      Description: sRGB IEC61966-2.1
      Manufacturer: IEC http://www.iec.ch
      Model: IEC 61966-2.1 Default RGB colour space - sRGB
      Copyright: Copyright (c) 1998 Hewlett-Packard Company
    Profile-xmp: 14684 bytes
  Artifacts:
    filename: TestLayers.psd
    verbose: true
  Tainted: False
  Filesize: 36.1KB
  Number pixels: 16.4K
  Pixels per second: 1.638MB
  User time: 0.000u
  Elapsed time: 0:01.009
  Version: ImageMagick 6.8.5-9 2013-06-01 Q16 http://www.imagemagick.org
Image: TestLayers.psd
  Format: PSD (Adobe Photoshop bitmap)
  Class: DirectClass
  Geometry: 79x101+0+0
  Resolution: 72x72
  Print size: 1.09722x1.40278
  Units: PixelsPerInch
  Type: PaletteAlpha
  Endianess: Undefined
  Colorspace: sRGB
  Depth: 8-bit
  Channel depth:
    red: 8-bit
    green: 8-bit
    blue: 8-bit
    alpha: 8-bit
  Channel statistics:
    Red:
      min: 16 (0.0627451)
      max: 255 (1)
      mean: 221.692 (0.869379)
      standard deviation: 82.7724 (0.324598)
      kurtosis: 2.33729
      skewness: -2.08262
    Green:
      min: 13 (0.0509804)
      max: 255 (1)
      mean: 221.273 (0.867739)
      standard deviation: 83.8113 (0.328672)
      kurtosis: 2.33729
      skewness: -2.08262
    Blue:
      min: 8 (0.0313725)
      max: 255 (1)
      mean: 220.577 (0.865006)
      standard deviation: 85.543 (0.335463)
      kurtosis: 2.33729
      skewness: -2.08262
    Alpha:
      min: 0 (0)
      max: 217 (0.85098)
      mean: 6.81113 (0.0267103)
      standard deviation: 31.9111 (0.125141)
      kurtosis: 24.6582
      skewness: -5.00719
  Image statistics:
    Overall:
      min: 8 (0.0313725)
      max: 255 (1)
      mean: 227.933 (0.893853)
      standard deviation: 74.5177 (0.292226)
      kurtosis: 4.49327
      skewness: -2.55827
  Alpha: srgba(255,255,255,0)   #FFFFFF00
  Colors: 51
  Histogram:
       672: ( 16, 13,  8,  0) #100D0800 srgba(16,13,8,0)
        99: ( 16, 13,  8,165) #100D08A5 srgba(16,13,8,0.647059)
        96: ( 16, 13,  8, 90) #100D085A srgba(16,13,8,0.352941)
        78: ( 16, 13,  8,204) #100D08CC srgba(16,13,8,0.8)
        77: ( 16, 13,  8, 51) #100D0833 srgba(16,13,8,0.2)
         8: ( 16, 13,  8,  6) #100D0806 srgba(16,13,8,0.0235294)
         6: ( 16, 13,  8,  9) #100D0809 srgba(16,13,8,0.0352941)
         4: ( 16, 13,  8,  3) #100D0803 srgba(16,13,8,0.0117647)
         4: ( 16, 13,  8, 24) #100D0818 srgba(16,13,8,0.0941176)
         4: ( 16, 13,  8, 15) #100D080F srgba(16,13,8,0.0588235)
         3: ( 16, 13,  8,183) #100D08B7 srgba(16,13,8,0.717647)
         3: ( 16, 13,  8,198) #100D08C6 srgba(16,13,8,0.776471)
         3: ( 16, 13,  8,132) #100D0884 srgba(16,13,8,0.517647)
         3: ( 16, 13,  8,213) #100D08D5 srgba(16,13,8,0.835294)
         3: ( 16, 13,  8, 21) #100D0815 srgba(16,13,8,0.0823529)
         3: ( 16, 13,  8, 18) #100D0812 srgba(16,13,8,0.0705882)
         3: ( 16, 13,  8, 12) #100D080C srgba(16,13,8,0.0470588)
         2: ( 16, 13,  8,147) #100D0893 srgba(16,13,8,0.576471)
         2: ( 16, 13,  8,201) #100D08C9 srgba(16,13,8,0.788235)
         2: ( 16, 13,  8,159) #100D089F srgba(16,13,8,0.623529)
         2: ( 16, 13,  8,189) #100D08BD srgba(16,13,8,0.741176)
         2: ( 16, 13,  8,123) #100D087B srgba(16,13,8,0.482353)
         2: ( 16, 13,  8,195) #100D08C3 srgba(16,13,8,0.764706)
         2: ( 16, 13,  8,153) #100D0899 srgba(16,13,8,0.6)
         2: ( 16, 13,  8,207) #100D08CF srgba(16,13,8,0.811765)
         2: ( 16, 13,  8,177) #100D08B1 srgba(16,13,8,0.694118)
         2: ( 16, 13,  8,111) #100D086F srgba(16,13,8,0.435294)
         1: ( 16, 13,  8, 92) #100D085C srgba(16,13,8,0.360784)
         1: ( 16, 13,  8,210) #100D08D2 srgba(16,13,8,0.823529)
         1: ( 16, 13,  8,211) #100D08D3 srgba(16,13,8,0.827451)
         1: ( 16, 13,  8,192) #100D08C0 srgba(16,13,8,0.752941)
         1: ( 16, 13,  8,186) #100D08BA srgba(16,13,8,0.729412)
         1: ( 16, 13,  8,182) #100D08B6 srgba(16,13,8,0.713725)
         1: ( 16, 13,  8,180) #100D08B4 srgba(16,13,8,0.705882)
         1: ( 16, 13,  8,171) #100D08AB srgba(16,13,8,0.670588)
         1: ( 16, 13,  8,168) #100D08A8 srgba(16,13,8,0.658824)
         1: ( 16, 13,  8,166) #100D08A6 srgba(16,13,8,0.65098)
         1: ( 16, 13,  8,162) #100D08A2 srgba(16,13,8,0.635294)
         1: ( 16, 13,  8,156) #100D089C srgba(16,13,8,0.611765)
         1: ( 16, 13,  8,150) #100D0896 srgba(16,13,8,0.588235)
         1: ( 16, 13,  8,144) #100D0890 srgba(16,13,8,0.564706)
         1: ( 16, 13,  8,141) #100D088D srgba(16,13,8,0.552941)
         1: ( 16, 13,  8,138) #100D088A srgba(16,13,8,0.541176)
         1: ( 16, 13,  8,135) #100D0887 srgba(16,13,8,0.529412)
         1: ( 16, 13,  8,129) #100D0881 srgba(16,13,8,0.505882)
         1: ( 16, 13,  8,126) #100D087E srgba(16,13,8,0.494118)
         1: ( 16, 13,  8,120) #100D0878 srgba(16,13,8,0.470588)
         1: ( 16, 13,  8,117) #100D0875 srgba(16,13,8,0.458824)
         1: ( 16, 13,  8,114) #100D0872 srgba(16,13,8,0.447059)
         1: ( 16, 13,  8,217) #100D08D9 srgba(16,13,8,0.85098)
      6867: (255,255,255,  0) #FFFFFF00 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: 79x101+24+13
  Origin geometry: +24+13
  Dispose: Undefined
  Iterations: 0
  Scene: 1 of 3
  Compression: RLE
  Orientation: TopLeft
  Properties:
    date:create: 2013-06-01T21:27:48-07:00
    date:modify: 2013-06-01T21:27:48-07:00
    dc:format: application/vnd.adobe.photoshop
    exif:ColorSpace: 1
    exif:NativeDigest: 36864,40960,40961,37121,37122,40962,40963,37510,40964,36867,36868,33434,33437,34850,34852,34855,34856,37377,37378,37379,37380,37381,37382,37383,37384,37385,37386,37396,41483,41484,41486,41487,41488,41492,41493,41495,41728,41729,41730,41985,41986,41987,41988,41989,41990,41991,41992,41993,41994,41995,41996,42016,0,2,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,20,22,23,24,25,26,27,28,30;2197F9070E91F8AFD09934B9DD8FA31E
    exif:PixelXDimension: 128
    exif:PixelYDimension: 128
    label: TestLayer
    photoshop:ColorMode: 3
    photoshop:History: 
    photoshop:ICCProfile: sRGB IEC61966-2.1
    signature: e2ea45aec2bab22f2a58615b041f6710f7ff95e1a76b6e7c79522a60237d9c74
    tiff:NativeDigest: 256,257,258,259,262,274,277,284,530,531,282,283,296,301,318,319,529,532,306,270,271,272,305,315,33432;837E4199C2CB05A99BA861B6510D4D20
    tiff:XResolution: 72
    tiff:YResolution: 72
    xap:CreateDate: 2010-04-22T15:14:12-06:00
    xap:CreatorTool: Adobe Photoshop CS2 Windows
    xap:MetadataDate: 2010-04-22T15:15:22-06:00
    xap:ModifyDate: 2010-04-22T15:15:22-06:00
    xapMM:DocumentID: uuid:3F34F29D4E4EDF11976394E2BA4A8848
    xapMM:InstanceID: uuid:4034F29D4E4EDF11976394E2BA4A8848
  Profiles:
    Profile-8bim: 22012 bytes
    Profile-exif: 302 bytes
    Profile-icc: 3144 bytes
      Description: sRGB IEC61966-2.1
      Manufacturer: IEC http://www.iec.ch
      Model: IEC 61966-2.1 Default RGB colour space - sRGB
      Copyright: Copyright (c) 1998 Hewlett-Packard Company
    Profile-xmp: 14684 bytes
  Artifacts:
    filename: TestLayers.psd
    psd:layer.opacity: 0
    psd:layer.x: 24ld
    psd:layer.y: 13
    verbose: true
  Tainted: False
  Filesize: 36.1KB
  Number pixels: 7.98K
  Pixels per second: 266KB
  User time: 0.030u
  Elapsed time: 0:01.030
  Version: ImageMagick 6.8.5-9 2013-06-01 Q16 http://www.imagemagick.org
Image: TestLayers.psd
  Format: PSD (Adobe Photoshop bitmap)
  Class: DirectClass
  Geometry: 80x99+0+0
  Resolution: 72x72
  Print size: 1.11111x1.375
  Units: PixelsPerInch
  Type: PaletteAlpha
  Endianess: Undefined
  Colorspace: sRGB
  Depth: 8-bit
  Channel depth:
    red: 8-bit
    green: 8-bit
    blue: 8-bit
    alpha: 8-bit
  Channel statistics:
    Red:
      min: 16 (0.0627451)
      max: 255 (1)
      mean: 236.2 (0.926274)
      standard deviation: 64.3412 (0.252318)
      kurtosis: 7.79806
      skewness: -3.13018
    Green:
      min: 13 (0.0509804)
      max: 255 (1)
      mean: 235.964 (0.925349)
      standard deviation: 65.1488 (0.255485)
      kurtosis: 7.79806
      skewness: -3.13018
    Blue:
      min: 8 (0.0313725)
      max: 255 (1)
      mean: 235.571 (0.923806)
      standard deviation: 66.4948 (0.260764)
      kurtosis: 7.79806
      skewness: -3.13018
    Alpha:
      min: 0 (0)
      max: 236 (0.92549)
      mean: 9.96439 (0.0390761)
      standard deviation: 37.8563 (0.148456)
      kurtosis: 15.718
      skewness: -4.02903
  Image statistics:
    Overall:
      min: 8 (0.0313725)
      max: 255 (1)
      mean: 238.192 (0.934088)
      standard deviation: 59.6633 (0.233974)
      kurtosis: 9.78397
      skewness: -3.40938
  Alpha: srgba(255,255,255,0)   #FFFFFF00
  Colors: 24
  Histogram:
       135: ( 16, 13,  8,153) #100D0899 srgba(16,13,8,0.6)
       135: ( 16, 13,  8,102) #100D0866 srgba(16,13,8,0.4)
        75: ( 16, 13,  8,204) #100D08CC srgba(16,13,8,0.8)
        75: ( 16, 13,  8, 51) #100D0833 srgba(16,13,8,0.2)
        48: ( 16, 13,  8,165) #100D08A5 srgba(16,13,8,0.647059)
        48: ( 16, 13,  8, 90) #100D085A srgba(16,13,8,0.352941)
        45: ( 16, 13,  8, 30) #100D081E srgba(16,13,8,0.117647)
        44: ( 16, 13,  8,225) #100D08E1 srgba(16,13,8,0.882353)
         2: ( 16, 13,  8, 99) #100D0863 srgba(16,13,8,0.388235)
         2: ( 16, 13,  8, 45) #100D082D srgba(16,13,8,0.176471)
         2: ( 16, 13,  8,180) #100D08B4 srgba(16,13,8,0.705882)
         1: ( 16, 13,  8,  6) #100D0806 srgba(16,13,8,0.0235294)
         1: ( 16, 13,  8,236) #100D08EC srgba(16,13,8,0.92549)
         1: ( 16, 13,  8,196) #100D08C4 srgba(16,13,8,0.768627)
         1: ( 16, 13,  8,189) #100D08BD srgba(16,13,8,0.741176)
         1: ( 16, 13,  8,171) #100D08AB srgba(16,13,8,0.670588)
         1: ( 16, 13,  8,156) #100D089C srgba(16,13,8,0.611765)
         1: ( 16, 13,  8,113) #100D0871 srgba(16,13,8,0.443137)
         1: ( 16, 13,  8, 66) #100D0842 srgba(16,13,8,0.258824)
         1: ( 16, 13,  8, 43) #100D082B srgba(16,13,8,0.168627)
         1: ( 16, 13,  8, 24) #100D0818 srgba(16,13,8,0.0941176)
         1: ( 16, 13,  8, 18) #100D0812 srgba(16,13,8,0.0705882)
         1: ( 16, 13,  8, 12) #100D080C srgba(16,13,8,0.0470588)
      7297: (255,255,255,  0) #FFFFFF00 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: 80x99+22+16
  Origin geometry: +22+16
  Dispose: Undefined
  Iterations: 0
  Scene: 2 of 3
  Compression: RLE
  Orientation: TopLeft
  Properties:
    date:create: 2013-06-01T21:27:48-07:00
    date:modify: 2013-06-01T21:27:48-07:00
    dc:format: application/vnd.adobe.photoshop
    exif:ColorSpace: 1
    exif:NativeDigest: 36864,40960,40961,37121,37122,40962,40963,37510,40964,36867,36868,33434,33437,34850,34852,34855,34856,37377,37378,37379,37380,37381,37382,37383,37384,37385,37386,37396,41483,41484,41486,41487,41488,41492,41493,41495,41728,41729,41730,41985,41986,41987,41988,41989,41990,41991,41992,41993,41994,41995,41996,42016,0,2,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,20,22,23,24,25,26,27,28,30;2197F9070E91F8AFD09934B9DD8FA31E
    exif:PixelXDimension: 128
    exif:PixelYDimension: 128
    label: AnotherTest
    photoshop:ColorMode: 3
    photoshop:History: 
    photoshop:ICCProfile: sRGB IEC61966-2.1
    signature: 700cc85b13f7779732ce0ccfad29e743ad343de62970ef2dd9aa888a323d29ea
    tiff:NativeDigest: 256,257,258,259,262,274,277,284,530,531,282,283,296,301,318,319,529,532,306,270,271,272,305,315,33432;837E4199C2CB05A99BA861B6510D4D20
    tiff:XResolution: 72
    tiff:YResolution: 72
    xap:CreateDate: 2010-04-22T15:14:12-06:00
    xap:CreatorTool: Adobe Photoshop CS2 Windows
    xap:MetadataDate: 2010-04-22T15:15:22-06:00
    xap:ModifyDate: 2010-04-22T15:15:22-06:00
    xapMM:DocumentID: uuid:3F34F29D4E4EDF11976394E2BA4A8848
    xapMM:InstanceID: uuid:4034F29D4E4EDF11976394E2BA4A8848
  Profiles:
    Profile-8bim: 22012 bytes
    Profile-exif: 302 bytes
    Profile-icc: 3144 bytes
      Description: sRGB IEC61966-2.1
      Manufacturer: IEC http://www.iec.ch
      Model: IEC 61966-2.1 Default RGB colour space - sRGB
      Copyright: Copyright (c) 1998 Hewlett-Packard Company
    Profile-xmp: 14684 bytes
  Artifacts:
    filename: TestLayers.psd
    psd:layer.opacity: 0
    psd:layer.x: 22ld
    psd:layer.y: 16
    verbose: true
  Tainted: False
  Filesize: 36.1KB
  Number pixels: 7.92K
  Pixels per second: 158KB
  User time: 0.050u
  Elapsed time: 0:01.050
  Version: ImageMagick 6.8.5-9 2013-06-01 Q16 http://www.imagemagick.org
c-98-234-217-52:desktop fred$ 
Post Reply