PSD PSB
PSD PSB
I'll try to keep my comments to this TOPIC PSD PSB
I think I installed 6604 but -version indicates 6605
on XP SP3, 2 meg memory
Version: ImageMagick 6.6.0-5 2010-03-07 Q8 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2010 ImageMagick Studio LLC
Features: OpenMP
1) For both PSD and PSB the header should be same, except version number 1 or 2 (PSD 1, PSB 2)
Current we change PSB Head to 8BPB it should be 8BPS like in PSD only version number should be different
2) I did following
convert logo: logo.gif
convert logo: logo.psd
convert logo: logo.psb <- after changing 4th byte from hex 42 to 53 (B to S)
CS4 Photoshop was able to open both logo.psd and logo.psb
3) In photoshop I create a 2 layer file 640x960 bytes and copied logo.gif into each layer saved it as psd.
then
convert 640x960.psd 640im.psd
convert 640x960.psd 640im.psb <- then I hex edited file to change 4th byte
both 2 layerfiles 640im.psd and 640im.psb were unreadable by CS4 Photoshop
4) Next a 1 layer, 3 channel file 2161000.mpc
convert 216100.mpc 216100.psd
convert 216100.mpc 216100.psb <- then changed byte 4 to correct value
216100.psd OK
216100.psb CS4 unable to read
5) using 3rd party utility psdparse
Processing "logo.psd"
PSD (version 1), 1 channels, 480 rows x 640 cols, 8 bit IndexedColor
done.
Processing "logo.psb"
PSB (version 2), 1 channels, 480 rows x 640 cols, 8 bit IndexedColor
done.
Processing "216100.psd"
PSD (version 1), 3 channels, 29952 rows x 256 cols, 8 bit RGBColor
1 layers:
layer 0: ( 0, 0,29952, 256), 4 channels (29952 rows x 256 cols)
name: "L01"
done.
Processing "216100.psb"
done. ****************** COULD NOT READ JDM
Processing "640x960.psd"
PSD (version 1), 3 channels, 960 rows x 640 cols, 8 bit RGBColor
2 layers:
layer 0: ( 0, 0, 480, 640), 4 channels ( 480 rows x 640 cols)
name: "Layer 1"
layer 1: ( 480, 0, 960, 640), 4 channels ( 480 rows x 640 cols)
name: "Layer 2"
done.
Processing "640x960.psb"
PSB (version 2), 3 channels, 960 rows x 640 cols, 8 bit RGBColor
2 layers:
layer 0: ( 0, 0, 480, 640), 4 channels ( 480 rows x 640 cols)
name: "Layer 1"
layer 1: ( 480, 0, 960, 640), 4 channels ( 480 rows x 640 cols)
name: "Layer 2"
done.
Processing "640x960im.psd"
PSD (version 1), 3 channels, 960 rows x 640 cols, 8 bit RGBColor
2 layers:
layer 0: ( 0, 0, 480, 640), 4 channels ( 480 rows x 640 cols)
name: "Layer 1"
layer 1: (1701978161, 0, 0, 480), 0 channels (-1701978161 rows x 480 cols)
www.lipowiec.org\im\216100.cache
www.lipowiec.org\im\216100.mpc
www.lipowiec.org\im\216100.psb
www.lipowiec.org\im\216100.psd
www.lipowiec.org\im\640x960.psb
www.lipowiec.org\im\640x960.psd
www.lipowiec.org\im\640x960im.psb
www.lipowiec.org\im\640x960im.psd
www.lipowiec.org\im\logo.gif
www.lipowiec.org\im\logo.psb
www.lipowiec.org\im\logo.psd
I think I installed 6604 but -version indicates 6605
on XP SP3, 2 meg memory
Version: ImageMagick 6.6.0-5 2010-03-07 Q8 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2010 ImageMagick Studio LLC
Features: OpenMP
1) For both PSD and PSB the header should be same, except version number 1 or 2 (PSD 1, PSB 2)
Current we change PSB Head to 8BPB it should be 8BPS like in PSD only version number should be different
2) I did following
convert logo: logo.gif
convert logo: logo.psd
convert logo: logo.psb <- after changing 4th byte from hex 42 to 53 (B to S)
CS4 Photoshop was able to open both logo.psd and logo.psb
3) In photoshop I create a 2 layer file 640x960 bytes and copied logo.gif into each layer saved it as psd.
then
convert 640x960.psd 640im.psd
convert 640x960.psd 640im.psb <- then I hex edited file to change 4th byte
both 2 layerfiles 640im.psd and 640im.psb were unreadable by CS4 Photoshop
4) Next a 1 layer, 3 channel file 2161000.mpc
convert 216100.mpc 216100.psd
convert 216100.mpc 216100.psb <- then changed byte 4 to correct value
216100.psd OK
216100.psb CS4 unable to read
5) using 3rd party utility psdparse
Processing "logo.psd"
PSD (version 1), 1 channels, 480 rows x 640 cols, 8 bit IndexedColor
done.
Processing "logo.psb"
PSB (version 2), 1 channels, 480 rows x 640 cols, 8 bit IndexedColor
done.
Processing "216100.psd"
PSD (version 1), 3 channels, 29952 rows x 256 cols, 8 bit RGBColor
1 layers:
layer 0: ( 0, 0,29952, 256), 4 channels (29952 rows x 256 cols)
name: "L01"
done.
Processing "216100.psb"
done. ****************** COULD NOT READ JDM
Processing "640x960.psd"
PSD (version 1), 3 channels, 960 rows x 640 cols, 8 bit RGBColor
2 layers:
layer 0: ( 0, 0, 480, 640), 4 channels ( 480 rows x 640 cols)
name: "Layer 1"
layer 1: ( 480, 0, 960, 640), 4 channels ( 480 rows x 640 cols)
name: "Layer 2"
done.
Processing "640x960.psb"
PSB (version 2), 3 channels, 960 rows x 640 cols, 8 bit RGBColor
2 layers:
layer 0: ( 0, 0, 480, 640), 4 channels ( 480 rows x 640 cols)
name: "Layer 1"
layer 1: ( 480, 0, 960, 640), 4 channels ( 480 rows x 640 cols)
name: "Layer 2"
done.
Processing "640x960im.psd"
PSD (version 1), 3 channels, 960 rows x 640 cols, 8 bit RGBColor
2 layers:
layer 0: ( 0, 0, 480, 640), 4 channels ( 480 rows x 640 cols)
name: "Layer 1"
layer 1: (1701978161, 0, 0, 480), 0 channels (-1701978161 rows x 480 cols)
www.lipowiec.org\im\216100.cache
www.lipowiec.org\im\216100.mpc
www.lipowiec.org\im\216100.psb
www.lipowiec.org\im\216100.psd
www.lipowiec.org\im\640x960.psb
www.lipowiec.org\im\640x960.psd
www.lipowiec.org\im\640x960im.psb
www.lipowiec.org\im\640x960im.psd
www.lipowiec.org\im\logo.gif
www.lipowiec.org\im\logo.psb
www.lipowiec.org\im\logo.psd
Re: PSD PSB
Add -compress none to your command line. In the mean-time we'll attempt to patch the problems you reported, perhaps by sometime this weekend. Thanks.
Re: PSD PSB
My coding skills are limited. But I recompiled with the following changes.
a) replace all 8BPB with 8BPS
b) changed psd_info.version == 1 to 2
resulting in if ((psd_info.version == 2) && ((psd_info.rows > 300000) ||(psd_info.columns > 300000)))
Saw one occurance of profile=GetImageProfile(image,"8bim");
assuming this should be 8BIM, not sure, I didn;t change in my recompile
Photoshop CS4 will now open PSB files if everything else is correct.
convert logo: logo.gif <-size 38,341
info from 3rd party util psdparse
for logoim.psd PSD (version 1), 3 channels, 256 rows x 256 cols, 8 bit RGBColor 1 layers: layer 0: ( 0, 0, 256, 256), 4 channels ( 256 rows x 256 cols)
for logoim.psb PSB (version 2), 3 channels, 256 rows x 256 cols, 8 bit RGBColor 1 layers: layer 0: ( 0, 0, 256, 256), 4 channels ( 256 rows x 256 cols)
then converted logo.gif via CS4 Photoshop to logops.psb logops.psb
03/11/2010 18:34 38,341 logo.gif
03/11/2010 18:34 55,077 logoim.psb
03/11/2010 18:34 54,113 logoim.psd
03/11/2010 18:38 82,601 logops.psb
03/11/2010 18:37 81,629 logops.psd
******
for a small file 600.psb still with psb problems, USING -COMPRESS NONE gave same crc and size as when not used
01/29/2009 21:05 40,324 600.png <--- Orig
03/11/2010 18:58 94,757 600ps.psb <-- CS4 Orig to psb
03/11/2010 18:58 94,233 600ps.psd <-- CS4 Orig to psb
03/11/2010 18:58 121,925 600im.png <--- Orig via IM to png
03/11/2010 19:04 266,908 600o.psd <--- Orig via IM to psd
03/11/2010 19:00 266,908 600im.psd <--- IM png to psd
03/11/2010 19:04 268,468 600o.psb <--- Orig via IM to psb <--- CS4 indicated could not open***
03/11/2010 19:00 268,468 600im.psb <--- IM png to psb <--- CS4 indicated could not open***
03/11/2010 19:09 268,468 600none.psb <--- IM png to psb with -compress none <--- CS4 indicated could not open***
03/11/2010 18:59 413,430 600imps.psd <-- IM png via CS4 to psd
03/11/2010 19:00 417,554 600imps.psb <-- IM png via CS4 to psb
info from psdparse
Processing "600ps.psb" PSB (version 2), 1 channels, 256 rows x 256 cols, 8 bit IndexedColor
Processing "600ps.psd" PSD (version 1), 1 channels, 256 rows x 256 cols, 8 bit IndexedColor
identify -verbose on 600.png
Image: 600.png
Format: PNG (Portable Network Graphics)
Class: DirectClass
Geometry: 256x256+0+0
Resolution: 72x72
Print size: 3.55556x3.55556
Units: Undefined
Type: PaletteMatte
Endianess: Undefined
Colorspace: RGB
Depth: 8-bit
Channel depth:
red: 8-bit
green: 8-bit
blue: 8-bit
alpha: 1-bit
Channel statistics:
Red:
min: 11 (0.0431373)
max: 241 (0.945098)
mean: 86.1803 (0.337962)
standard deviation: 24.6888 (0.096819)
kurtosis: 2.37301
skewness: 1.11278
Green:
min: 17 (0.0666667)
max: 245 (0.960784)
mean: 87.9976 (0.345089)
standard deviation: 24.2171 (0.0949691)
kurtosis: 2.3966
skewness: 0.997116
Blue:
min: 0 (0)
max: 236 (0.92549)
mean: 92.4386 (0.362504)
standard deviation: 23.3943 (0.0917423)
kurtosis: 2.82061
skewness: 0.829057
Alpha:
min: 0 (0)
max: 255 (1)
mean: 0.58754 (0.00230408)
standard deviation: 12.2261 (0.0479455)
kurtosis: 429.016
skewness: 20.7609
Image statistics:
Overall:
min: 0 (0)
max: 255 (1)
mean: 66.801 (0.261965)
standard deviation: 44.043 (0.172718)
kurtosis: -0.486664
skewness: -0.269349
Alpha: rgba(151,78,0,0) #974E0000
Histogram:
73: ( 11, 17, 21,255) #0B1115 rgba(11,17,21,1)
1: ( 12, 71, 19,255) #0C4713 rgba(12,71,19,1)
3: ( 17,109, 77,255) #116D4D rgba(17,109,77,1)
65: ( 18, 27, 36,255) #121B24 rgba(18,27,36,1)
1: ( 21, 73, 51,255) #154933 rgba(21,73,51,1)
1: ( 23, 75, 74,255) #174B4A rgba(23,75,74,1)
52: ( 25, 35, 23,255) #192317 rgba(25,35,23,1)
25: ( 26, 38, 46,255) #1A262E rgba(26,38,46,1)
6: ( 37, 26, 22,255) #251A16 rgba(37,26,22,1)
516: ( 37, 28, 39,255) #251C27 rgba(37,28,39,1)
10: ( 41, 43, 24,255) #292B18 rgba(41,43,24,1)
1877: ( 45, 51, 55,255) #2D3337 rgba(45,51,55,1)
1: ( 51,138,107,255) #338A6B rgba(51,138,107,1)
1259: ( 52, 59, 68,255) #343B44 rgba(52,59,68,1)
19: ( 53,104, 81,255) #356851 rgba(53,104,81,1)
2: ( 55,109,103,255) #376D67 rgba(55,109,103,1)
825: ( 58, 66, 56,255) #3A4238 rgba(58,66,56,1)
78: ( 58, 68, 76,255) #3A444C rgba(58,68,76,1)
7819: ( 67, 61, 70,255) #433D46 rgba(67,61,70,1)
93: ( 68, 58, 55,255) #443A37 rgba(68,58,55,1)
71: ( 72, 73, 56,255) #484938 rgba(72,73,56,1)
19429: ( 73, 78, 83,255) #494E53 rgba(73,78,83,1)
2: ( 77, 25, 45,255) #4D192D rgba(77,25,45,1)
7251: ( 82, 90, 99,255) #525A63 rgba(82,90,99,1)
11: ( 85,138,110,255) #558A6E rgba(85,138,110,1)
2: ( 87,143,135,255) #578F87 rgba(87,143,135,1)
2840: ( 89, 98, 87,255) #596257 rgba(89,98,87,1)
60: ( 89,101,106,255) #59656A rgba(89,101,106,1)
9628: ( 99, 93,100,255) #635D64 rgba(99,93,100,1)
184: (100, 89, 85,255) #645955 rgba(100,89,85,1)
5: (105, 52, 55,255) #693437 rgba(105,52,55,1)
49: (105,106, 87,255) #696A57 rgba(105,106,87,1)
22: (106, 56, 73,255) #6A3849 rgba(106,56,73,1)
6236: (107,111,111,255) #6B6F6F rgba(107,111,111,1)
1: (110, 23, 48,255) #6E1730 rgba(110,23,48,1)
1342: (113,122,131,255) #717A83 rgba(113,122,131,1)
2: (117, 31, 67,255) #751F43 rgba(117,31,67,1)
6: (118,169,139,255) #76A98B rgba(118,169,139,1)
521: (121,131,116,255) #798374 rgba(121,131,116,1)
30: (121,133,138,255) #79858A rgba(121,133,138,1)
89: (132,121,112,255) #847970 rgba(132,121,112,1)
1828: (132,124,133,255) #847C85 rgba(132,124,133,1)
4: (136, 83, 86,255) #885356 rgba(136,83,86,1)
14: (137, 88,103,255) #895867 rgba(137,88,103,1)
7: (138,140,116,255) #8A8C74 rgba(138,140,116,1)
1421: (141,145,142,255) #8D918E rgba(141,145,142,1)
310: (145,154,163,255) #919AA3 rgba(145,154,163,1)
1: (149,203,201,255) #95CBC9 rgba(149,203,201,1)
151: (151, 78, 0, 0) #974E0000 rgba(151,78,0,0)
95: (152,164,145,255) #98A491 rgba(152,164,145,1)
14: (152,166,169,255) #98A6A9 rgba(152,166,169,1)
1: (152,234,212,255) #98EAD4 rgba(152,234,212,1)
2: (153, 53, 87,255) #993557 rgba(153,53,87,1)
39: (164,154,142,255) #A49A8E rgba(164,154,142,1)
530: (165,155,165,255) #A59BA5 rgba(165,155,165,1)
2: (167,115,113,255) #A77371 rgba(167,115,113,1)
8: (171,119,137,255) #AB7789 rgba(171,119,137,1)
4: (171,173,146,255) #ABAD92 rgba(171,173,146,1)
367: (174,178,172,255) #AEB2AC rgba(174,178,172,1)
59: (176,186,195,255) #B0BAC3 rgba(176,186,195,1)
16: (184,197,176,255) #B8C5B0 rgba(184,197,176,1)
2: (184,199,201,255) #B8C7C9 rgba(184,199,201,1)
18: (196,186,173,255) #C4BAAD rgba(196,186,173,1)
1: (198, 57, 98,255) #C63962 rgba(198,57,98,1)
75: (199,187,198,255) #C7BBC6 rgba(199,187,198,1)
1: (204,150,171,255) #CC96AB rgba(204,150,171,1)
1: (205,115,141,255) #CD738D rgba(205,115,141,1)
38: (207,211,203,255) #CFD3CB rgba(207,211,203,1)
7: (209,217,229,255) #D1D9E5 rgba(209,217,229,1)
3: (216,231,231,255) #D8E7E7 rgba(216,231,231,1)
2: (228,219,204,255) #E4DBCC rgba(228,219,204,1)
4: (231,217,233,255) #E7D9E9 rgba(231,217,233,1)
1: (233,180,178,255) #E9B4B2 rgba(233,180,178,1)
3: (241,245,236,255) #F1F5EC rgba(241,245,236,1)
Rendering intent: Undefined
Interlace: None
Background color: white
Border color: rgba(223,223,223,1)
Matte color: grey74
Transparent color: none
Compose: Over
Page geometry: 256x256+0+0
Dispose: Undefined
Iterations: 0
Compression: Zip
Orientation: Undefined
Properties:
date:create: 2010-03-10T07:36:01-08:00
date:modify: 2009-01-29T21:05:09-08:00
signature: f47026ad27fb6355991119436511c41cccbd82b390ca1391a8450bf5560b3972
Artifacts:
verbose: true
Tainted: False
Filesize: 40.3KB
Number pixels: 65.5KB
Pixels per second: 4.096MB
User time: 0.016u
Elapsed time: 0:01.016
Version: ImageMagick 6.6.0-4 2010-03-08 Q8 http://www.imagemagick.org
posting small file 600.png ~40k to
www.lipowiec.org/im/600.png
a) replace all 8BPB with 8BPS
b) changed psd_info.version == 1 to 2
resulting in if ((psd_info.version == 2) && ((psd_info.rows > 300000) ||(psd_info.columns > 300000)))
Saw one occurance of profile=GetImageProfile(image,"8bim");
assuming this should be 8BIM, not sure, I didn;t change in my recompile
Photoshop CS4 will now open PSB files if everything else is correct.
convert logo: logo.gif <-size 38,341
info from 3rd party util psdparse
for logoim.psd PSD (version 1), 3 channels, 256 rows x 256 cols, 8 bit RGBColor 1 layers: layer 0: ( 0, 0, 256, 256), 4 channels ( 256 rows x 256 cols)
for logoim.psb PSB (version 2), 3 channels, 256 rows x 256 cols, 8 bit RGBColor 1 layers: layer 0: ( 0, 0, 256, 256), 4 channels ( 256 rows x 256 cols)
then converted logo.gif via CS4 Photoshop to logops.psb logops.psb
03/11/2010 18:34 38,341 logo.gif
03/11/2010 18:34 55,077 logoim.psb
03/11/2010 18:34 54,113 logoim.psd
03/11/2010 18:38 82,601 logops.psb
03/11/2010 18:37 81,629 logops.psd
******
for a small file 600.psb still with psb problems, USING -COMPRESS NONE gave same crc and size as when not used
01/29/2009 21:05 40,324 600.png <--- Orig
03/11/2010 18:58 94,757 600ps.psb <-- CS4 Orig to psb
03/11/2010 18:58 94,233 600ps.psd <-- CS4 Orig to psb
03/11/2010 18:58 121,925 600im.png <--- Orig via IM to png
03/11/2010 19:04 266,908 600o.psd <--- Orig via IM to psd
03/11/2010 19:00 266,908 600im.psd <--- IM png to psd
03/11/2010 19:04 268,468 600o.psb <--- Orig via IM to psb <--- CS4 indicated could not open***
03/11/2010 19:00 268,468 600im.psb <--- IM png to psb <--- CS4 indicated could not open***
03/11/2010 19:09 268,468 600none.psb <--- IM png to psb with -compress none <--- CS4 indicated could not open***
03/11/2010 18:59 413,430 600imps.psd <-- IM png via CS4 to psd
03/11/2010 19:00 417,554 600imps.psb <-- IM png via CS4 to psb
info from psdparse
Processing "600ps.psb" PSB (version 2), 1 channels, 256 rows x 256 cols, 8 bit IndexedColor
Processing "600ps.psd" PSD (version 1), 1 channels, 256 rows x 256 cols, 8 bit IndexedColor
identify -verbose on 600.png
Image: 600.png
Format: PNG (Portable Network Graphics)
Class: DirectClass
Geometry: 256x256+0+0
Resolution: 72x72
Print size: 3.55556x3.55556
Units: Undefined
Type: PaletteMatte
Endianess: Undefined
Colorspace: RGB
Depth: 8-bit
Channel depth:
red: 8-bit
green: 8-bit
blue: 8-bit
alpha: 1-bit
Channel statistics:
Red:
min: 11 (0.0431373)
max: 241 (0.945098)
mean: 86.1803 (0.337962)
standard deviation: 24.6888 (0.096819)
kurtosis: 2.37301
skewness: 1.11278
Green:
min: 17 (0.0666667)
max: 245 (0.960784)
mean: 87.9976 (0.345089)
standard deviation: 24.2171 (0.0949691)
kurtosis: 2.3966
skewness: 0.997116
Blue:
min: 0 (0)
max: 236 (0.92549)
mean: 92.4386 (0.362504)
standard deviation: 23.3943 (0.0917423)
kurtosis: 2.82061
skewness: 0.829057
Alpha:
min: 0 (0)
max: 255 (1)
mean: 0.58754 (0.00230408)
standard deviation: 12.2261 (0.0479455)
kurtosis: 429.016
skewness: 20.7609
Image statistics:
Overall:
min: 0 (0)
max: 255 (1)
mean: 66.801 (0.261965)
standard deviation: 44.043 (0.172718)
kurtosis: -0.486664
skewness: -0.269349
Alpha: rgba(151,78,0,0) #974E0000
Histogram:
73: ( 11, 17, 21,255) #0B1115 rgba(11,17,21,1)
1: ( 12, 71, 19,255) #0C4713 rgba(12,71,19,1)
3: ( 17,109, 77,255) #116D4D rgba(17,109,77,1)
65: ( 18, 27, 36,255) #121B24 rgba(18,27,36,1)
1: ( 21, 73, 51,255) #154933 rgba(21,73,51,1)
1: ( 23, 75, 74,255) #174B4A rgba(23,75,74,1)
52: ( 25, 35, 23,255) #192317 rgba(25,35,23,1)
25: ( 26, 38, 46,255) #1A262E rgba(26,38,46,1)
6: ( 37, 26, 22,255) #251A16 rgba(37,26,22,1)
516: ( 37, 28, 39,255) #251C27 rgba(37,28,39,1)
10: ( 41, 43, 24,255) #292B18 rgba(41,43,24,1)
1877: ( 45, 51, 55,255) #2D3337 rgba(45,51,55,1)
1: ( 51,138,107,255) #338A6B rgba(51,138,107,1)
1259: ( 52, 59, 68,255) #343B44 rgba(52,59,68,1)
19: ( 53,104, 81,255) #356851 rgba(53,104,81,1)
2: ( 55,109,103,255) #376D67 rgba(55,109,103,1)
825: ( 58, 66, 56,255) #3A4238 rgba(58,66,56,1)
78: ( 58, 68, 76,255) #3A444C rgba(58,68,76,1)
7819: ( 67, 61, 70,255) #433D46 rgba(67,61,70,1)
93: ( 68, 58, 55,255) #443A37 rgba(68,58,55,1)
71: ( 72, 73, 56,255) #484938 rgba(72,73,56,1)
19429: ( 73, 78, 83,255) #494E53 rgba(73,78,83,1)
2: ( 77, 25, 45,255) #4D192D rgba(77,25,45,1)
7251: ( 82, 90, 99,255) #525A63 rgba(82,90,99,1)
11: ( 85,138,110,255) #558A6E rgba(85,138,110,1)
2: ( 87,143,135,255) #578F87 rgba(87,143,135,1)
2840: ( 89, 98, 87,255) #596257 rgba(89,98,87,1)
60: ( 89,101,106,255) #59656A rgba(89,101,106,1)
9628: ( 99, 93,100,255) #635D64 rgba(99,93,100,1)
184: (100, 89, 85,255) #645955 rgba(100,89,85,1)
5: (105, 52, 55,255) #693437 rgba(105,52,55,1)
49: (105,106, 87,255) #696A57 rgba(105,106,87,1)
22: (106, 56, 73,255) #6A3849 rgba(106,56,73,1)
6236: (107,111,111,255) #6B6F6F rgba(107,111,111,1)
1: (110, 23, 48,255) #6E1730 rgba(110,23,48,1)
1342: (113,122,131,255) #717A83 rgba(113,122,131,1)
2: (117, 31, 67,255) #751F43 rgba(117,31,67,1)
6: (118,169,139,255) #76A98B rgba(118,169,139,1)
521: (121,131,116,255) #798374 rgba(121,131,116,1)
30: (121,133,138,255) #79858A rgba(121,133,138,1)
89: (132,121,112,255) #847970 rgba(132,121,112,1)
1828: (132,124,133,255) #847C85 rgba(132,124,133,1)
4: (136, 83, 86,255) #885356 rgba(136,83,86,1)
14: (137, 88,103,255) #895867 rgba(137,88,103,1)
7: (138,140,116,255) #8A8C74 rgba(138,140,116,1)
1421: (141,145,142,255) #8D918E rgba(141,145,142,1)
310: (145,154,163,255) #919AA3 rgba(145,154,163,1)
1: (149,203,201,255) #95CBC9 rgba(149,203,201,1)
151: (151, 78, 0, 0) #974E0000 rgba(151,78,0,0)
95: (152,164,145,255) #98A491 rgba(152,164,145,1)
14: (152,166,169,255) #98A6A9 rgba(152,166,169,1)
1: (152,234,212,255) #98EAD4 rgba(152,234,212,1)
2: (153, 53, 87,255) #993557 rgba(153,53,87,1)
39: (164,154,142,255) #A49A8E rgba(164,154,142,1)
530: (165,155,165,255) #A59BA5 rgba(165,155,165,1)
2: (167,115,113,255) #A77371 rgba(167,115,113,1)
8: (171,119,137,255) #AB7789 rgba(171,119,137,1)
4: (171,173,146,255) #ABAD92 rgba(171,173,146,1)
367: (174,178,172,255) #AEB2AC rgba(174,178,172,1)
59: (176,186,195,255) #B0BAC3 rgba(176,186,195,1)
16: (184,197,176,255) #B8C5B0 rgba(184,197,176,1)
2: (184,199,201,255) #B8C7C9 rgba(184,199,201,1)
18: (196,186,173,255) #C4BAAD rgba(196,186,173,1)
1: (198, 57, 98,255) #C63962 rgba(198,57,98,1)
75: (199,187,198,255) #C7BBC6 rgba(199,187,198,1)
1: (204,150,171,255) #CC96AB rgba(204,150,171,1)
1: (205,115,141,255) #CD738D rgba(205,115,141,1)
38: (207,211,203,255) #CFD3CB rgba(207,211,203,1)
7: (209,217,229,255) #D1D9E5 rgba(209,217,229,1)
3: (216,231,231,255) #D8E7E7 rgba(216,231,231,1)
2: (228,219,204,255) #E4DBCC rgba(228,219,204,1)
4: (231,217,233,255) #E7D9E9 rgba(231,217,233,1)
1: (233,180,178,255) #E9B4B2 rgba(233,180,178,1)
3: (241,245,236,255) #F1F5EC rgba(241,245,236,1)
Rendering intent: Undefined
Interlace: None
Background color: white
Border color: rgba(223,223,223,1)
Matte color: grey74
Transparent color: none
Compose: Over
Page geometry: 256x256+0+0
Dispose: Undefined
Iterations: 0
Compression: Zip
Orientation: Undefined
Properties:
date:create: 2010-03-10T07:36:01-08:00
date:modify: 2009-01-29T21:05:09-08:00
signature: f47026ad27fb6355991119436511c41cccbd82b390ca1391a8450bf5560b3972
Artifacts:
verbose: true
Tainted: False
Filesize: 40.3KB
Number pixels: 65.5KB
Pixels per second: 4.096MB
User time: 0.016u
Elapsed time: 0:01.016
Version: ImageMagick 6.6.0-4 2010-03-08 Q8 http://www.imagemagick.org
posting small file 600.png ~40k to
www.lipowiec.org/im/600.png
Re: PSD PSB
ImageMagick 6.6.0-5 will be released in the next few days with patches for PSB.
Re: PSD PSB
ImageMagick 6605
Using a test file 600.png www.lipowiec.org\im\600.png
1) convert 600.png 600.psb can not be opened by CS4 Photoshop
2) I compared the headers for files PSD and PSB created by CS4PS and IM6605
there appeared a difference in the Number of Channels field
CS4PS had value 1
IM6605 had a value of 3
3) I then created used IM6605 to create PNG compress none to create another PNG
then looked at headers CS4PS and IM6605 create when making PSD and PSB from this new PNG
In header Number of Channels field
CS4PS had value 4
IM6605 still has a value of 3
NOTE even though value differ between CS4 created and IM6605 both PSDs can be opened in CS4Photoshop.
4) What would you like me to look at to help determine areas that need to be addressed?
5) if ((psd_info.version == 1) && ((psd_info.rows > 300000) || in psd.c should have info.version == 2
some info below note sure if it will help
R:\IMAGEM~2>convert -version
Version: ImageMagick 6.6.0-5 2010-03-08 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2010 ImageMagick Studio LLC
Features: OpenMP
R:\IMAGEM~2>echo on
R:\IMAGEM~2>echo create PNG with NO Compress
create PNG with NO Compress
R:\IMAGEM~2>convert -compress none 600.png 600IMNC.png
R:\IMAGEM~2>pngcheck -v 600.png
File: 600.png (40324 bytes)
chunk IHDR at offset 0x0000c, length 13
256 x 256 image, 8-bit palette, non-interlaced
chunk PLTE at offset 0x00025, length 768: 256 palette entries
chunk tRNS at offset 0x00331, length 1: 1 transparency entry
chunk IDAT at offset 0x0033e, length 39474
zlib: deflated, 32K window, default compression
chunk IEND at offset 0x09d7c, length 0
No errors detected in 600.png (5 chunks, 38.5% compression).
R:\IMAGEM~2>pngcheck -v 600IMNC.png
File: 600IMNC.png (121925 bytes)
chunk IHDR at offset 0x0000c, length 13
256 x 256 image, 32-bit RGB+alpha, non-interlaced
chunk bKGD at offset 0x00025, length 6
red = 0x00ff, green = 0x00ff, blue = 0x00ff
chunk pHYs at offset 0x00037, length 9: 72x72 pixels/unit (1:1)
chunk vpAg at offset 0x0004c, length 9
unknown private, ancillary, safe-to-copy chunk
chunk IDAT at offset 0x00061, length 32768
zlib: deflated, 32K window, maximum compression
chunk IDAT at offset 0x0806d, length 32768
chunk IDAT at offset 0x10079, length 32768
chunk IDAT at offset 0x18085, length 23370
chunk tEXt at offset 0x1dbdb, length 37, keyword: date:create
chunk tEXt at offset 0x1dc0c, length 37, keyword: date:modify
chunk IEND at offset 0x1dc3d, length 0
No errors detected in 600IMNC.png (11 chunks, 53.5% compression).
R:\IMAGEM~2>echo RUN tests on original 600.png file
RUN tests on original 600.png file
R:\IMAGEM~2>echo via CS4PS took 600.png and saved as 600CS4PS.psd
via CS4PS took 600.png and saved as 600CS4PS.psd
R:\IMAGEM~2>echo via CS4PS took 600.png and saved as 600CS4PS.psb
via CS4PS took 600.png and saved as 600CS4PS.psb
R:\IMAGEM~2>echo NOTE when saving in CS4PS Save options Layers Checked, ICC Profile: sRGB IEC61966-2.1 Checked
NOTE when saving in CS4PS Save options Layers Checked, ICC Profile: sRGB IEC61966-2.1 Checked
R:\IMAGEM~2>convert 600.png 600IM.psd
R:\IMAGEM~2>convert 600.png 600IM.psb
R:\IMAGEM~2>convert -compress none 600.png 600IMNC.psd
R:\IMAGEM~2>convert -compress none 600.png 600IMNC.psb
R:\IMAGEM~2>echo NOTE -compress none has no effect same files created
NOTE -compress none has no effect same files created
R:\IMAGEM~2>psdparse -v 600CS4PS.psd
Processing "600CS4PS.psd"
PSD (version 1), 1 channels, 256 rows x 256 cols, 8 bit IndexedColor
...skipped color mode data (768 bytes)
...skipped image resources (27386 bytes)
(layer info section is empty)
## layer data begins @ 28196
## layer image data begins @ 28196
## end of layer image data @ 28196
(global layer mask info is empty)
merged channels:
>>> merged image data @ 28224
compression = 1 (RLE)
uncompressed size 65536 bytes (row bytes = 256)
done.
R:\IMAGEM~2>psdparse -v 600CS4PS.psb
Processing "600CS4PS.psb"
PSB (version 2), 1 channels, 256 rows x 256 cols, 8 bit IndexedColor
...skipped color mode data (768 bytes)
...skipped image resources (27386 bytes)
(layer info section is empty)
## layer data begins @ 28204
## layer image data begins @ 28204
## end of layer image data @ 28204
(global layer mask info is empty)
merged channels:
>>> merged image data @ 28236
compression = 1 (RLE)
uncompressed size 65536 bytes (row bytes = 256)
done.
R:\IMAGEM~2>psdparse -v 600IM.psd
Processing "600IM.psd"
PSD (version 1), 3 channels, 256 rows x 256 cols, 8 bit RGBColor
(color mode data is empty)
...skipped image resources (28 bytes)
1 layers:
layer 0: ( 0, 0, 256, 256), 4 channels ( 256 rows x 256 cols)
channel 0: 65538 bytes, id=-1 (transparency mask)
channel 1: 65538 bytes, id= 0 (R)
channel 2: 65538 bytes, id= 1 (G)
channel 3: 65538 bytes, id= 2 (B)
(extra data: 16 bytes @ 130)
(no layer mask)
(layer blending ranges is empty)
name: "L000001"
## layer data begins @ 146
## layer image data begins @ 146
layer 0 ("L000001"):
blending mode: sig='8BIM' key='norm'(normal) opacity=255(100%) clipping=0(base)
flags=0x1(transp_prot(1) visible(0) bit4valid(0) pixel_data_irrelevant(0))
channel 0:
>>> channel id = -1 @ 146, 65538 bytes
compression = 0 (raw)
uncompressed size 65536 bytes (row bytes = 256)
channel 1:
>>> channel id = 0 @ 65684, 65538 bytes
compression = 0 (raw)
uncompressed size 65536 bytes (row bytes = 256)
channel 2:
>>> channel id = 1 @ 131222, 65538 bytes
compression = 0 (raw)
uncompressed size 65536 bytes (row bytes = 256)
channel 3:
>>> channel id = 2 @ 196760, 65538 bytes
compression = 0 (raw)
uncompressed size 65536 bytes (row bytes = 256)
## end of layer image data @ 262298
(global layer mask info is empty)
merged channels:
>>> merged image data @ 262302
compression = 1 (RLE)
uncompressed size 196608 bytes (row bytes = 256)
done.
R:\IMAGEM~2>psdparse -v 600IM.psb
Processing "600IM.psb"
PSB (version 2), 3 channels, 256 rows x 256 cols, 8 bit RGBColor
(color mode data is empty)
...skipped image resources (28 bytes)
1 layers:
layer 0: ( 0, 0, 256, 256), 4 channels ( 256 rows x 256 cols)
channel 0: 65538 bytes, id=-1 (transparency mask)
channel 1: 65538 bytes, id= 0 (R)
channel 2: 65538 bytes, id= 1 (G)
channel 3: 65538 bytes, id= 2 (B)
(extra data: 16 bytes @ 154)
(no layer mask)
(layer blending ranges is empty)
name: "L000001"
## layer data begins @ 170
## layer image data begins @ 170
layer 0 ("L000001"):
blending mode: sig='8BIM' key='norm'(normal) opacity=255(100%) clipping=0(base)
flags=0x1(transp_prot(1) visible(0) bit4valid(0) pixel_data_irrelevant(0))
channel 0:
>>> channel id = -1 @ 170, 65538 bytes
compression = 0 (raw)
uncompressed size 65536 bytes (row bytes = 256)
channel 1:
>>> channel id = 0 @ 65708, 65538 bytes
compression = 0 (raw)
uncompressed size 65536 bytes (row bytes = 256)
channel 2:
>>> channel id = 1 @ 131246, 65538 bytes
compression = 0 (raw)
uncompressed size 65536 bytes (row bytes = 256)
channel 3:
>>> channel id = 2 @ 196784, 65538 bytes
compression = 0 (raw)
uncompressed size 65536 bytes (row bytes = 256)
## end of layer image data @ 262322
(global layer mask info is empty)
merged channels:
>>> merged image data @ 262322
compression = 0 (raw)
uncompressed size 196608 bytes (row bytes = 256)
done.
R:\IMAGEM~2>echo RUN tests on ImageMagick file created NO compress 600IMNC.png file
RUN tests on ImageMagick file created NO compress 600IMNC.png file
R:\IMAGEM~2>echo via CS4PS took 600IMNC.png and saved as 600IMNCCS4PS.psd
via CS4PS took 600IMNC.png and saved as 600IMNCCS4PS.psd
R:\IMAGEM~2>echo via CS4PS took 600IMNC.png and saved as 600IMNCCS4PS.psb
via CS4PS took 600IMNC.png and saved as 600IMNCCS4PS.psb
R:\IMAGEM~2>echo NOTE when saving in CS4PS Save options Layers Checked, ICC Profile: sRGB IEC61966-2.1 Checked
NOTE when saving in CS4PS Save options Layers Checked, ICC Profile: sRGB IEC61966-2.1 Checked
R:\IMAGEM~2>convert 600IMNC.png 600IMNCIM.psd
R:\IMAGEM~2>convert 600IMNC.png 600IMNCIM.psb
R:\IMAGEM~2>echo NOTE -compress none has no effect same files created
NOTE -compress none has no effect same files created
R:\IMAGEM~2>psdparse -v 600IMNCCS4PS.psd
Processing "600IMNCCS4PS.psd"
PSD (version 1), 4 channels, 256 rows x 256 cols, 8 bit RGBColor
(color mode data is empty)
...skipped image resources (32986 bytes)
(first alpha is transparency for merged image)
1 layers:
layer 0: ( 0, 0, 256, 256), 4 channels ( 256 rows x 256 cols)
channel 0: 1610 bytes, id=-1 (transparency mask)
channel 1: 62797 bytes, id= 0 (R)
channel 2: 62786 bytes, id= 1 (G)
channel 3: 62798 bytes, id= 2 (B)
(extra data: 316 bytes @ 33088)
(no layer mask)
...skipped layer blending ranges (40 bytes)
name: "Layer 0"
## layer data begins @ 33404
## layer image data begins @ 33404
layer 0 ("Layer 0"):
blending mode: sig='8BIM' key='norm'(normal) opacity=255(100%) clipping=0(base)
flags=0x8(transp_prot(0) visible(0) bit4valid(1) pixel_data_irrelevant(0))
channel 0:
>>> channel id = -1 @ 33404, 1610 bytes
compression = 1 (RLE)
uncompressed size 65536 bytes (row bytes = 256)
channel 1:
>>> channel id = 0 @ 35014, 62797 bytes
compression = 1 (RLE)
uncompressed size 65536 bytes (row bytes = 256)
channel 2:
>>> channel id = 1 @ 97811, 62786 bytes
compression = 1 (RLE)
uncompressed size 65536 bytes (row bytes = 256)
channel 3:
>>> channel id = 2 @ 160597, 62798 bytes
compression = 1 (RLE)
uncompressed size 65536 bytes (row bytes = 256)
## end of layer image data @ 223395
(global layer mask info is empty)
merged channels:
>>> merged image data @ 223436
compression = 1 (RLE)
uncompressed size 262144 bytes (row bytes = 256)
done.
R:\IMAGEM~2>psdparse -v 600IMNCCS4PS.psb
Processing "600IMNCCS4PS.psb"
PSB (version 2), 4 channels, 256 rows x 256 cols, 8 bit RGBColor
(color mode data is empty)
...skipped image resources (33420 bytes)
(first alpha is transparency for merged image)
1 layers:
layer 0: ( 0, 0, 256, 256), 4 channels ( 256 rows x 256 cols)
channel 0: 2122 bytes, id=-1 (transparency mask)
channel 1: 63309 bytes, id= 0 (R)
channel 2: 63298 bytes, id= 1 (G)
channel 3: 63310 bytes, id= 2 (B)
(extra data: 316 bytes @ 33546)
(no layer mask)
...skipped layer blending ranges (40 bytes)
name: "Layer 0"
## layer data begins @ 33862
## layer image data begins @ 33862
layer 0 ("Layer 0"):
blending mode: sig='8BIM' key='norm'(normal) opacity=255(100%) clipping=0(base)
flags=0x8(transp_prot(0) visible(0) bit4valid(1) pixel_data_irrelevant(0))
channel 0:
>>> channel id = -1 @ 33862, 2122 bytes
compression = 1 (RLE)
uncompressed size 65536 bytes (row bytes = 256)
channel 1:
>>> channel id = 0 @ 35984, 63309 bytes
compression = 1 (RLE)
uncompressed size 65536 bytes (row bytes = 256)
channel 2:
>>> channel id = 1 @ 99293, 63298 bytes
compression = 1 (RLE)
uncompressed size 65536 bytes (row bytes = 256)
channel 3:
>>> channel id = 2 @ 162591, 63310 bytes
compression = 1 (RLE)
uncompressed size 65536 bytes (row bytes = 256)
## end of layer image data @ 225901
(global layer mask info is empty)
merged channels:
>>> merged image data @ 225946
compression = 1 (RLE)
uncompressed size 262144 bytes (row bytes = 256)
done.
R:\IMAGEM~2>psdparse -v 600IMNCIM.psd
Processing "600IMNCIM.psd"
PSD (version 1), 3 channels, 256 rows x 256 cols, 8 bit RGBColor
(color mode data is empty)
...skipped image resources (28 bytes)
1 layers:
layer 0: ( 0, 0, 256, 256), 4 channels ( 256 rows x 256 cols)
channel 0: 65538 bytes, id=-1 (transparency mask)
channel 1: 65538 bytes, id= 0 (R)
channel 2: 65538 bytes, id= 1 (G)
channel 3: 65538 bytes, id= 2 (B)
(extra data: 16 bytes @ 130)
(no layer mask)
(layer blending ranges is empty)
name: "L000001"
## layer data begins @ 146
## layer image data begins @ 146
layer 0 ("L000001"):
blending mode: sig='8BIM' key='norm'(normal) opacity=255(100%) clipping=0(base)
flags=0x1(transp_prot(1) visible(0) bit4valid(0) pixel_data_irrelevant(0))
channel 0:
>>> channel id = -1 @ 146, 65538 bytes
compression = 0 (raw)
uncompressed size 65536 bytes (row bytes = 256)
channel 1:
>>> channel id = 0 @ 65684, 65538 bytes
compression = 0 (raw)
uncompressed size 65536 bytes (row bytes = 256)
channel 2:
>>> channel id = 1 @ 131222, 65538 bytes
compression = 0 (raw)
uncompressed size 65536 bytes (row bytes = 256)
channel 3:
>>> channel id = 2 @ 196760, 65538 bytes
compression = 0 (raw)
uncompressed size 65536 bytes (row bytes = 256)
## end of layer image data @ 262298
(global layer mask info is empty)
merged channels:
>>> merged image data @ 262302
compression = 1 (RLE)
uncompressed size 196608 bytes (row bytes = 256)
done.
R:\IMAGEM~2>psdparse -v 600IMNCIM.psb
Processing "600IMNCIM.psb"
PSB (version 2), 3 channels, 256 rows x 256 cols, 8 bit RGBColor
(color mode data is empty)
...skipped image resources (28 bytes)
1 layers:
layer 0: ( 0, 0, 256, 256), 4 channels ( 256 rows x 256 cols)
channel 0: 65538 bytes, id=-1 (transparency mask)
channel 1: 65538 bytes, id= 0 (R)
channel 2: 65538 bytes, id= 1 (G)
channel 3: 65538 bytes, id= 2 (B)
(extra data: 16 bytes @ 154)
(no layer mask)
(layer blending ranges is empty)
name: "L000001"
## layer data begins @ 170
## layer image data begins @ 170
layer 0 ("L000001"):
blending mode: sig='8BIM' key='norm'(normal) opacity=255(100%) clipping=0(base)
flags=0x1(transp_prot(1) visible(0) bit4valid(0) pixel_data_irrelevant(0))
channel 0:
>>> channel id = -1 @ 170, 65538 bytes
compression = 0 (raw)
uncompressed size 65536 bytes (row bytes = 256)
channel 1:
>>> channel id = 0 @ 65708, 65538 bytes
compression = 0 (raw)
uncompressed size 65536 bytes (row bytes = 256)
channel 2:
>>> channel id = 1 @ 131246, 65538 bytes
compression = 0 (raw)
uncompressed size 65536 bytes (row bytes = 256)
channel 3:
>>> channel id = 2 @ 196784, 65538 bytes
compression = 0 (raw)
uncompressed size 65536 bytes (row bytes = 256)
## end of layer image data @ 262322
(global layer mask info is empty)
merged channels:
>>> merged image data @ 262322
compression = 0 (raw)
uncompressed size 196608 bytes (row bytes = 256)
done.
R:\IMAGEM~2>crc 600*.*
CRC - Version 4.5
File CRC Size Date Time
------------ ---- -------- -------- ------
600 .PNG 5041 40324 1-29-09 9:05p
600CS4PS.PSB FB79 91547 3-12-10 8:09p
600CS4PS.PSD 4961 91023 3-12-10 8:08p
600IM .PSB 6541 268472 3-13-10 9:15a
600IM .PSD DE3B 266912 3-13-10 9:15a
600IMNC .PNG CCAE 121925 3-13-10 9:15a
600IMNC .PSB 6541 268472 3-13-10 9:15a
600IMNC .PSD DE3B 266912 3-13-10 9:15a
600IMN~1.PSB 0334 417992 3-13-10 8:47a
600IMN~1.PSD F1F8 413434 3-13-10 8:44a
600IMN~2.PSB 6541 268472 3-13-10 9:15a
600IMN~2.PSD DE3B 266912 3-13-10 9:15a
============ ==== ======== ======== ======
12 Files 2169 2782397
Using a test file 600.png www.lipowiec.org\im\600.png
1) convert 600.png 600.psb can not be opened by CS4 Photoshop
2) I compared the headers for files PSD and PSB created by CS4PS and IM6605
there appeared a difference in the Number of Channels field
CS4PS had value 1
IM6605 had a value of 3
3) I then created used IM6605 to create PNG compress none to create another PNG
then looked at headers CS4PS and IM6605 create when making PSD and PSB from this new PNG
In header Number of Channels field
CS4PS had value 4
IM6605 still has a value of 3
NOTE even though value differ between CS4 created and IM6605 both PSDs can be opened in CS4Photoshop.
4) What would you like me to look at to help determine areas that need to be addressed?
5) if ((psd_info.version == 1) && ((psd_info.rows > 300000) || in psd.c should have info.version == 2
some info below note sure if it will help
R:\IMAGEM~2>convert -version
Version: ImageMagick 6.6.0-5 2010-03-08 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2010 ImageMagick Studio LLC
Features: OpenMP
R:\IMAGEM~2>echo on
R:\IMAGEM~2>echo create PNG with NO Compress
create PNG with NO Compress
R:\IMAGEM~2>convert -compress none 600.png 600IMNC.png
R:\IMAGEM~2>pngcheck -v 600.png
File: 600.png (40324 bytes)
chunk IHDR at offset 0x0000c, length 13
256 x 256 image, 8-bit palette, non-interlaced
chunk PLTE at offset 0x00025, length 768: 256 palette entries
chunk tRNS at offset 0x00331, length 1: 1 transparency entry
chunk IDAT at offset 0x0033e, length 39474
zlib: deflated, 32K window, default compression
chunk IEND at offset 0x09d7c, length 0
No errors detected in 600.png (5 chunks, 38.5% compression).
R:\IMAGEM~2>pngcheck -v 600IMNC.png
File: 600IMNC.png (121925 bytes)
chunk IHDR at offset 0x0000c, length 13
256 x 256 image, 32-bit RGB+alpha, non-interlaced
chunk bKGD at offset 0x00025, length 6
red = 0x00ff, green = 0x00ff, blue = 0x00ff
chunk pHYs at offset 0x00037, length 9: 72x72 pixels/unit (1:1)
chunk vpAg at offset 0x0004c, length 9
unknown private, ancillary, safe-to-copy chunk
chunk IDAT at offset 0x00061, length 32768
zlib: deflated, 32K window, maximum compression
chunk IDAT at offset 0x0806d, length 32768
chunk IDAT at offset 0x10079, length 32768
chunk IDAT at offset 0x18085, length 23370
chunk tEXt at offset 0x1dbdb, length 37, keyword: date:create
chunk tEXt at offset 0x1dc0c, length 37, keyword: date:modify
chunk IEND at offset 0x1dc3d, length 0
No errors detected in 600IMNC.png (11 chunks, 53.5% compression).
R:\IMAGEM~2>echo RUN tests on original 600.png file
RUN tests on original 600.png file
R:\IMAGEM~2>echo via CS4PS took 600.png and saved as 600CS4PS.psd
via CS4PS took 600.png and saved as 600CS4PS.psd
R:\IMAGEM~2>echo via CS4PS took 600.png and saved as 600CS4PS.psb
via CS4PS took 600.png and saved as 600CS4PS.psb
R:\IMAGEM~2>echo NOTE when saving in CS4PS Save options Layers Checked, ICC Profile: sRGB IEC61966-2.1 Checked
NOTE when saving in CS4PS Save options Layers Checked, ICC Profile: sRGB IEC61966-2.1 Checked
R:\IMAGEM~2>convert 600.png 600IM.psd
R:\IMAGEM~2>convert 600.png 600IM.psb
R:\IMAGEM~2>convert -compress none 600.png 600IMNC.psd
R:\IMAGEM~2>convert -compress none 600.png 600IMNC.psb
R:\IMAGEM~2>echo NOTE -compress none has no effect same files created
NOTE -compress none has no effect same files created
R:\IMAGEM~2>psdparse -v 600CS4PS.psd
Processing "600CS4PS.psd"
PSD (version 1), 1 channels, 256 rows x 256 cols, 8 bit IndexedColor
...skipped color mode data (768 bytes)
...skipped image resources (27386 bytes)
(layer info section is empty)
## layer data begins @ 28196
## layer image data begins @ 28196
## end of layer image data @ 28196
(global layer mask info is empty)
merged channels:
>>> merged image data @ 28224
compression = 1 (RLE)
uncompressed size 65536 bytes (row bytes = 256)
done.
R:\IMAGEM~2>psdparse -v 600CS4PS.psb
Processing "600CS4PS.psb"
PSB (version 2), 1 channels, 256 rows x 256 cols, 8 bit IndexedColor
...skipped color mode data (768 bytes)
...skipped image resources (27386 bytes)
(layer info section is empty)
## layer data begins @ 28204
## layer image data begins @ 28204
## end of layer image data @ 28204
(global layer mask info is empty)
merged channels:
>>> merged image data @ 28236
compression = 1 (RLE)
uncompressed size 65536 bytes (row bytes = 256)
done.
R:\IMAGEM~2>psdparse -v 600IM.psd
Processing "600IM.psd"
PSD (version 1), 3 channels, 256 rows x 256 cols, 8 bit RGBColor
(color mode data is empty)
...skipped image resources (28 bytes)
1 layers:
layer 0: ( 0, 0, 256, 256), 4 channels ( 256 rows x 256 cols)
channel 0: 65538 bytes, id=-1 (transparency mask)
channel 1: 65538 bytes, id= 0 (R)
channel 2: 65538 bytes, id= 1 (G)
channel 3: 65538 bytes, id= 2 (B)
(extra data: 16 bytes @ 130)
(no layer mask)
(layer blending ranges is empty)
name: "L000001"
## layer data begins @ 146
## layer image data begins @ 146
layer 0 ("L000001"):
blending mode: sig='8BIM' key='norm'(normal) opacity=255(100%) clipping=0(base)
flags=0x1(transp_prot(1) visible(0) bit4valid(0) pixel_data_irrelevant(0))
channel 0:
>>> channel id = -1 @ 146, 65538 bytes
compression = 0 (raw)
uncompressed size 65536 bytes (row bytes = 256)
channel 1:
>>> channel id = 0 @ 65684, 65538 bytes
compression = 0 (raw)
uncompressed size 65536 bytes (row bytes = 256)
channel 2:
>>> channel id = 1 @ 131222, 65538 bytes
compression = 0 (raw)
uncompressed size 65536 bytes (row bytes = 256)
channel 3:
>>> channel id = 2 @ 196760, 65538 bytes
compression = 0 (raw)
uncompressed size 65536 bytes (row bytes = 256)
## end of layer image data @ 262298
(global layer mask info is empty)
merged channels:
>>> merged image data @ 262302
compression = 1 (RLE)
uncompressed size 196608 bytes (row bytes = 256)
done.
R:\IMAGEM~2>psdparse -v 600IM.psb
Processing "600IM.psb"
PSB (version 2), 3 channels, 256 rows x 256 cols, 8 bit RGBColor
(color mode data is empty)
...skipped image resources (28 bytes)
1 layers:
layer 0: ( 0, 0, 256, 256), 4 channels ( 256 rows x 256 cols)
channel 0: 65538 bytes, id=-1 (transparency mask)
channel 1: 65538 bytes, id= 0 (R)
channel 2: 65538 bytes, id= 1 (G)
channel 3: 65538 bytes, id= 2 (B)
(extra data: 16 bytes @ 154)
(no layer mask)
(layer blending ranges is empty)
name: "L000001"
## layer data begins @ 170
## layer image data begins @ 170
layer 0 ("L000001"):
blending mode: sig='8BIM' key='norm'(normal) opacity=255(100%) clipping=0(base)
flags=0x1(transp_prot(1) visible(0) bit4valid(0) pixel_data_irrelevant(0))
channel 0:
>>> channel id = -1 @ 170, 65538 bytes
compression = 0 (raw)
uncompressed size 65536 bytes (row bytes = 256)
channel 1:
>>> channel id = 0 @ 65708, 65538 bytes
compression = 0 (raw)
uncompressed size 65536 bytes (row bytes = 256)
channel 2:
>>> channel id = 1 @ 131246, 65538 bytes
compression = 0 (raw)
uncompressed size 65536 bytes (row bytes = 256)
channel 3:
>>> channel id = 2 @ 196784, 65538 bytes
compression = 0 (raw)
uncompressed size 65536 bytes (row bytes = 256)
## end of layer image data @ 262322
(global layer mask info is empty)
merged channels:
>>> merged image data @ 262322
compression = 0 (raw)
uncompressed size 196608 bytes (row bytes = 256)
done.
R:\IMAGEM~2>echo RUN tests on ImageMagick file created NO compress 600IMNC.png file
RUN tests on ImageMagick file created NO compress 600IMNC.png file
R:\IMAGEM~2>echo via CS4PS took 600IMNC.png and saved as 600IMNCCS4PS.psd
via CS4PS took 600IMNC.png and saved as 600IMNCCS4PS.psd
R:\IMAGEM~2>echo via CS4PS took 600IMNC.png and saved as 600IMNCCS4PS.psb
via CS4PS took 600IMNC.png and saved as 600IMNCCS4PS.psb
R:\IMAGEM~2>echo NOTE when saving in CS4PS Save options Layers Checked, ICC Profile: sRGB IEC61966-2.1 Checked
NOTE when saving in CS4PS Save options Layers Checked, ICC Profile: sRGB IEC61966-2.1 Checked
R:\IMAGEM~2>convert 600IMNC.png 600IMNCIM.psd
R:\IMAGEM~2>convert 600IMNC.png 600IMNCIM.psb
R:\IMAGEM~2>echo NOTE -compress none has no effect same files created
NOTE -compress none has no effect same files created
R:\IMAGEM~2>psdparse -v 600IMNCCS4PS.psd
Processing "600IMNCCS4PS.psd"
PSD (version 1), 4 channels, 256 rows x 256 cols, 8 bit RGBColor
(color mode data is empty)
...skipped image resources (32986 bytes)
(first alpha is transparency for merged image)
1 layers:
layer 0: ( 0, 0, 256, 256), 4 channels ( 256 rows x 256 cols)
channel 0: 1610 bytes, id=-1 (transparency mask)
channel 1: 62797 bytes, id= 0 (R)
channel 2: 62786 bytes, id= 1 (G)
channel 3: 62798 bytes, id= 2 (B)
(extra data: 316 bytes @ 33088)
(no layer mask)
...skipped layer blending ranges (40 bytes)
name: "Layer 0"
## layer data begins @ 33404
## layer image data begins @ 33404
layer 0 ("Layer 0"):
blending mode: sig='8BIM' key='norm'(normal) opacity=255(100%) clipping=0(base)
flags=0x8(transp_prot(0) visible(0) bit4valid(1) pixel_data_irrelevant(0))
channel 0:
>>> channel id = -1 @ 33404, 1610 bytes
compression = 1 (RLE)
uncompressed size 65536 bytes (row bytes = 256)
channel 1:
>>> channel id = 0 @ 35014, 62797 bytes
compression = 1 (RLE)
uncompressed size 65536 bytes (row bytes = 256)
channel 2:
>>> channel id = 1 @ 97811, 62786 bytes
compression = 1 (RLE)
uncompressed size 65536 bytes (row bytes = 256)
channel 3:
>>> channel id = 2 @ 160597, 62798 bytes
compression = 1 (RLE)
uncompressed size 65536 bytes (row bytes = 256)
## end of layer image data @ 223395
(global layer mask info is empty)
merged channels:
>>> merged image data @ 223436
compression = 1 (RLE)
uncompressed size 262144 bytes (row bytes = 256)
done.
R:\IMAGEM~2>psdparse -v 600IMNCCS4PS.psb
Processing "600IMNCCS4PS.psb"
PSB (version 2), 4 channels, 256 rows x 256 cols, 8 bit RGBColor
(color mode data is empty)
...skipped image resources (33420 bytes)
(first alpha is transparency for merged image)
1 layers:
layer 0: ( 0, 0, 256, 256), 4 channels ( 256 rows x 256 cols)
channel 0: 2122 bytes, id=-1 (transparency mask)
channel 1: 63309 bytes, id= 0 (R)
channel 2: 63298 bytes, id= 1 (G)
channel 3: 63310 bytes, id= 2 (B)
(extra data: 316 bytes @ 33546)
(no layer mask)
...skipped layer blending ranges (40 bytes)
name: "Layer 0"
## layer data begins @ 33862
## layer image data begins @ 33862
layer 0 ("Layer 0"):
blending mode: sig='8BIM' key='norm'(normal) opacity=255(100%) clipping=0(base)
flags=0x8(transp_prot(0) visible(0) bit4valid(1) pixel_data_irrelevant(0))
channel 0:
>>> channel id = -1 @ 33862, 2122 bytes
compression = 1 (RLE)
uncompressed size 65536 bytes (row bytes = 256)
channel 1:
>>> channel id = 0 @ 35984, 63309 bytes
compression = 1 (RLE)
uncompressed size 65536 bytes (row bytes = 256)
channel 2:
>>> channel id = 1 @ 99293, 63298 bytes
compression = 1 (RLE)
uncompressed size 65536 bytes (row bytes = 256)
channel 3:
>>> channel id = 2 @ 162591, 63310 bytes
compression = 1 (RLE)
uncompressed size 65536 bytes (row bytes = 256)
## end of layer image data @ 225901
(global layer mask info is empty)
merged channels:
>>> merged image data @ 225946
compression = 1 (RLE)
uncompressed size 262144 bytes (row bytes = 256)
done.
R:\IMAGEM~2>psdparse -v 600IMNCIM.psd
Processing "600IMNCIM.psd"
PSD (version 1), 3 channels, 256 rows x 256 cols, 8 bit RGBColor
(color mode data is empty)
...skipped image resources (28 bytes)
1 layers:
layer 0: ( 0, 0, 256, 256), 4 channels ( 256 rows x 256 cols)
channel 0: 65538 bytes, id=-1 (transparency mask)
channel 1: 65538 bytes, id= 0 (R)
channel 2: 65538 bytes, id= 1 (G)
channel 3: 65538 bytes, id= 2 (B)
(extra data: 16 bytes @ 130)
(no layer mask)
(layer blending ranges is empty)
name: "L000001"
## layer data begins @ 146
## layer image data begins @ 146
layer 0 ("L000001"):
blending mode: sig='8BIM' key='norm'(normal) opacity=255(100%) clipping=0(base)
flags=0x1(transp_prot(1) visible(0) bit4valid(0) pixel_data_irrelevant(0))
channel 0:
>>> channel id = -1 @ 146, 65538 bytes
compression = 0 (raw)
uncompressed size 65536 bytes (row bytes = 256)
channel 1:
>>> channel id = 0 @ 65684, 65538 bytes
compression = 0 (raw)
uncompressed size 65536 bytes (row bytes = 256)
channel 2:
>>> channel id = 1 @ 131222, 65538 bytes
compression = 0 (raw)
uncompressed size 65536 bytes (row bytes = 256)
channel 3:
>>> channel id = 2 @ 196760, 65538 bytes
compression = 0 (raw)
uncompressed size 65536 bytes (row bytes = 256)
## end of layer image data @ 262298
(global layer mask info is empty)
merged channels:
>>> merged image data @ 262302
compression = 1 (RLE)
uncompressed size 196608 bytes (row bytes = 256)
done.
R:\IMAGEM~2>psdparse -v 600IMNCIM.psb
Processing "600IMNCIM.psb"
PSB (version 2), 3 channels, 256 rows x 256 cols, 8 bit RGBColor
(color mode data is empty)
...skipped image resources (28 bytes)
1 layers:
layer 0: ( 0, 0, 256, 256), 4 channels ( 256 rows x 256 cols)
channel 0: 65538 bytes, id=-1 (transparency mask)
channel 1: 65538 bytes, id= 0 (R)
channel 2: 65538 bytes, id= 1 (G)
channel 3: 65538 bytes, id= 2 (B)
(extra data: 16 bytes @ 154)
(no layer mask)
(layer blending ranges is empty)
name: "L000001"
## layer data begins @ 170
## layer image data begins @ 170
layer 0 ("L000001"):
blending mode: sig='8BIM' key='norm'(normal) opacity=255(100%) clipping=0(base)
flags=0x1(transp_prot(1) visible(0) bit4valid(0) pixel_data_irrelevant(0))
channel 0:
>>> channel id = -1 @ 170, 65538 bytes
compression = 0 (raw)
uncompressed size 65536 bytes (row bytes = 256)
channel 1:
>>> channel id = 0 @ 65708, 65538 bytes
compression = 0 (raw)
uncompressed size 65536 bytes (row bytes = 256)
channel 2:
>>> channel id = 1 @ 131246, 65538 bytes
compression = 0 (raw)
uncompressed size 65536 bytes (row bytes = 256)
channel 3:
>>> channel id = 2 @ 196784, 65538 bytes
compression = 0 (raw)
uncompressed size 65536 bytes (row bytes = 256)
## end of layer image data @ 262322
(global layer mask info is empty)
merged channels:
>>> merged image data @ 262322
compression = 0 (raw)
uncompressed size 196608 bytes (row bytes = 256)
done.
R:\IMAGEM~2>crc 600*.*
CRC - Version 4.5
File CRC Size Date Time
------------ ---- -------- -------- ------
600 .PNG 5041 40324 1-29-09 9:05p
600CS4PS.PSB FB79 91547 3-12-10 8:09p
600CS4PS.PSD 4961 91023 3-12-10 8:08p
600IM .PSB 6541 268472 3-13-10 9:15a
600IM .PSD DE3B 266912 3-13-10 9:15a
600IMNC .PNG CCAE 121925 3-13-10 9:15a
600IMNC .PSB 6541 268472 3-13-10 9:15a
600IMNC .PSD DE3B 266912 3-13-10 9:15a
600IMN~1.PSB 0334 417992 3-13-10 8:47a
600IMN~1.PSD F1F8 413434 3-13-10 8:44a
600IMN~2.PSB 6541 268472 3-13-10 9:15a
600IMN~2.PSD DE3B 266912 3-13-10 9:15a
============ ==== ======== ======== ======
12 Files 2169 2782397
Re: PSD PSB
We can reproduce the problem you posted and have a patch in ImageMagick 6.6.0-6 Beta available sometime tomorrow. Thanks.
Re: PSD PSB
Testing 6606 win Q8
I initally tried my test 600.png
convert 600.png 600.psd
convert 600.png 600.psb
Then tried to open 600.png, 600.psd and 600.psb
CS4PS indicated
original file 600.png was indexed color 8/bits per channel
600.psd creaeted was RGB Color 8bits per channel
600.psb COULD NOT OPEN
I next tried
convert -alpha off 600.png 600NOAlpha.psb <-- I was able to open file
I next test file greater than 30,000 pixels
convert 217100.mpc 217100.psd <-- file was created but CS4PS could not open because psd exceeded 30,000 MAX
convert -alpha off 217100.mpc 217100.psb <---------- IT WORKED!!!!!!
I didn't think to try -alpha off switch in previous testing but it made difference this time.
Will try to create hugh files and if there is a problem I will get back.
There are some problems as described above, but I might be able to get some things done.
Thank u Thank u Thank u
I initally tried my test 600.png
convert 600.png 600.psd
convert 600.png 600.psb
Then tried to open 600.png, 600.psd and 600.psb
CS4PS indicated
original file 600.png was indexed color 8/bits per channel
600.psd creaeted was RGB Color 8bits per channel
600.psb COULD NOT OPEN
I next tried
convert -alpha off 600.png 600NOAlpha.psb <-- I was able to open file
I next test file greater than 30,000 pixels
convert 217100.mpc 217100.psd <-- file was created but CS4PS could not open because psd exceeded 30,000 MAX
convert -alpha off 217100.mpc 217100.psb <---------- IT WORKED!!!!!!
I didn't think to try -alpha off switch in previous testing but it made difference this time.
Will try to create hugh files and if there is a problem I will get back.
There are some problems as described above, but I might be able to get some things done.
Thank u Thank u Thank u
Re: PSD PSB
More info
Since I was able to open a file simialr to the files I'm woking on with -alpha off switch.
I went back and check earlier versions of IM and noticed.
this particular file created with both 6605 and 6606 were identical (same crcs) so switch would have worked with previous release as well.
I then create a 2 layer file
convert logo: logo.png
opened logo.png with CS4PS
then copied ALL, copy, paste giving me 2 layers (background and a copy), then resized canvas from 480 pixels to 960 and moved 2nd image so both would be visible.
then saved as lo2l.psd
then with versions IM 6590, 6604, 6605, 6606
convert lo2l.psd lo2l6606.psd
convert lo2l.psd lo2l6606.psb
did same for all four versions of above IM
none of the eight 2 layers files IM created would open
lo2l6606.psd, lo2l6606.psb both when opening with CS4PS
"The file uses an unsupported blending mode. Substitue normal mode?" Options were to click OK, Cancel and Flatten
Clicking OK then gave message
"Could not complete your request because your file is not compatable with this version of Photoshop"
Clicking Flatten gave this error message
"Could not complete your request because because unexpected end-of-file was encountered"
Files created by 6605 and 6606 had same crcs
lo2l6604.psd when opening with CS4PS showed
"Could not complete yor request because the file is not compatable with this veriosn of Photoshop."
lo2l6604.psb showed
"Could not complete your request because it is not a valid Photoshop document"
lo2l6590.psd
"Could not complete yor request because the file is not compatable with this veriosn of Photoshop."
Since I was able to open a file simialr to the files I'm woking on with -alpha off switch.
I went back and check earlier versions of IM and noticed.
this particular file created with both 6605 and 6606 were identical (same crcs) so switch would have worked with previous release as well.
I then create a 2 layer file
convert logo: logo.png
opened logo.png with CS4PS
then copied ALL, copy, paste giving me 2 layers (background and a copy), then resized canvas from 480 pixels to 960 and moved 2nd image so both would be visible.
then saved as lo2l.psd
then with versions IM 6590, 6604, 6605, 6606
convert lo2l.psd lo2l6606.psd
convert lo2l.psd lo2l6606.psb
did same for all four versions of above IM
none of the eight 2 layers files IM created would open
lo2l6606.psd, lo2l6606.psb both when opening with CS4PS
"The file uses an unsupported blending mode. Substitue normal mode?" Options were to click OK, Cancel and Flatten
Clicking OK then gave message
"Could not complete your request because your file is not compatable with this version of Photoshop"
Clicking Flatten gave this error message
"Could not complete your request because because unexpected end-of-file was encountered"
Files created by 6605 and 6606 had same crcs
lo2l6604.psd when opening with CS4PS showed
"Could not complete yor request because the file is not compatable with this veriosn of Photoshop."
lo2l6604.psb showed
"Could not complete your request because it is not a valid Photoshop document"
lo2l6590.psd
"Could not complete yor request because the file is not compatable with this veriosn of Photoshop."
Re: PSD PSB
I'm using 6.6.6.-10 Q16 from window 7 64bit with 8GB Ram for stitiching google maps screenshots (as png) with command line
to convert -alpha off -compress none -append D:\worldcard\Screenshots*.png D:\worldcard\stripes\stripe001.psb
Adobe Photoshop CS 5 says "Could not complete yor request because the file is not compatable with this version of Photoshop."(respectively in German as I have a german version "Der Vorgang konnt nicht ausgeführt werden, weil diese Datei nicht mit dieser Version von Photoshop kompatibel ist.")
The same also without alpha and compress argument but then is the file more than 4GB and so its only 1.7GB
psdparse-3.4b1-win\psdparse.exe -v stripe001.psb gives:
Processing "stripe001.psb"
PSB (version 2), 3 channels, 345600 rows x 1737 cols, 8 bit RGBColor
(color mode data is empty)
...skipped image resources (28 bytes)
(layer & mask info section is empty)
## layer data begins @ 70
## layer image data begins @ 70
## end of layer image data @ 70
...skipped global layer mask info (58853 bytes)
merged channels:
>>> merged image data @ 70
compression = 0 (raw)
uncompressed size 1800921600 bytes (row bytes = 1737)
done.
another also with convert assembled psb files is openable in CS5 but there are 100.000 rows less --> Is there a limitation or bug for convert in row number? The openable file is not converted with compress/alpha switch and so its 4,45GB (but as already said its openable)
psdparse-3.4b1-win\psdparse.exe -v stripeShort.psb
Processing "stripeShort.psb"
PSB (version 2), 4 channels, 250560 rows x 7342 cols, 8 bit RGBColor
(color mode data is empty)
...skipped image resources (21846 bytes)
(first alpha is transparency for merged image)
4 layers:
layer 0: ( 0, 0,250560,1737), 4 channels (250560 rows x 1737 cols)
channel 0: 8519042 bytes, id=-1 (transparency mask)
channel 1: 211303766 bytes, id= 0 (R)
channel 2: 213000349 bytes, id= 1 (G)
channel 3: 228074306 bytes, id= 2 (B)
(extra data: 316 bytes @ 21972)
(no layer mask)
...skipped layer blending ranges (40 bytes)
name: "Ebene 0"
layer 1: ( 0,1737,250560,3474), 4 channels (250560 rows x 1737 cols)
channel 0: 8519042 bytes, id=-1 (transparency mask)
channel 1: 94250710 bytes, id= 0 (R)
channel 2: 94944863 bytes, id= 1 (G)
channel 3: 102079326 bytes, id= 2 (B)
(extra data: 316 bytes @ 22362)
(no layer mask)
...skipped layer blending ranges (40 bytes)
name: "Ebene 1"
layer 2: ( 0,3474,250560,5211), 4 channels (250560 rows x 1737 cols)
channel 0: 8519042 bytes, id=-1 (transparency mask)
channel 1: 227452131 bytes, id= 0 (R)
channel 2: 229391062 bytes, id= 1 (G)
channel 3: 244379774 bytes, id= 2 (B)
(extra data: 316 bytes @ 22752)
(no layer mask)
...skipped layer blending ranges (40 bytes)
name: "Ebene 2"
layer 3: ( 0,5211,250560,6948), 4 channels (250560 rows x 1737 cols)
channel 0: 8519042 bytes, id=-1 (transparency mask)
channel 1: 233221524 bytes, id= 0 (R)
channel 2: 234688813 bytes, id= 1 (G)
channel 3: 247557965 bytes, id= 2 (B)
(extra data: 316 bytes @ 23142)
(no layer mask)
...skipped layer blending ranges (40 bytes)
name: "Ebene 3"
## layer data begins @ 23458
## layer image data begins @ 23458
layer 0 ("Ebene 0"):
blending mode: sig='8BIM' key='norm'(normal) opacity=255(100%) clipping=0(base
)
flags=0x8(transp_prot(0) visible(0) bit4valid(1) pixel_data_irrelevant(0))
channel 0:
>>> channel id = -1 @ 23458, 8519042 bytes
compression = 1 (RLE)
uncompressed size 435222720 bytes (row bytes = 1737)
channel 1:
>>> channel id = 0 @ 8542500, 211303766 bytes
compression = 1 (RLE)
uncompressed size 435222720 bytes (row bytes = 1737)
channel 2:
>>> channel id = 1 @ 219846266, 213000349 bytes
compression = 1 (RLE)
uncompressed size 435222720 bytes (row bytes = 1737)
channel 3:
>>> channel id = 2 @ 432846615, 228074306 bytes
compression = 1 (RLE)
uncompressed size 435222720 bytes (row bytes = 1737)
layer 1 ("Ebene 1"):
blending mode: sig='8BIM' key='norm'(normal) opacity=255(100%) clipping=0(base
)
flags=0x8(transp_prot(0) visible(0) bit4valid(1) pixel_data_irrelevant(0))
channel 0:
>>> channel id = -1 @ 660920921, 8519042 bytes
compression = 1 (RLE)
uncompressed size 435222720 bytes (row bytes = 1737)
channel 1:
>>> channel id = 0 @ 669439963, 94250710 bytes
compression = 1 (RLE)
uncompressed size 435222720 bytes (row bytes = 1737)
channel 2:
>>> channel id = 1 @ 763690673, 94944863 bytes
compression = 1 (RLE)
uncompressed size 435222720 bytes (row bytes = 1737)
channel 3:
>>> channel id = 2 @ 858635536, 102079326 bytes
compression = 1 (RLE)
uncompressed size 435222720 bytes (row bytes = 1737)
layer 2 ("Ebene 2"):
blending mode: sig='8BIM' key='norm'(normal) opacity=255(100%) clipping=0(base
)
flags=0x8(transp_prot(0) visible(0) bit4valid(1) pixel_data_irrelevant(0))
channel 0:
>>> channel id = -1 @ 960714862, 8519042 bytes
compression = 1 (RLE)
uncompressed size 435222720 bytes (row bytes = 1737)
channel 1:
>>> channel id = 0 @ 969233904, 227452131 bytes
compression = 1 (RLE)
uncompressed size 435222720 bytes (row bytes = 1737)
channel 2:
>>> channel id = 1 @ 1196686035, 229391062 bytes
compression = 1 (RLE)
uncompressed size 435222720 bytes (row bytes = 1737)
channel 3:
>>> channel id = 2 @ 1426077097, 244379774 bytes
compression = 1 (RLE)
uncompressed size 435222720 bytes (row bytes = 1737)
layer 3 ("Ebene 3"):
blending mode: sig='8BIM' key='norm'(normal) opacity=255(100%) clipping=0(base
)
flags=0x8(transp_prot(0) visible(0) bit4valid(1) pixel_data_irrelevant(0))
channel 0:
>>> channel id = -1 @ 1670456871, 8519042 bytes
compression = 1 (RLE)
uncompressed size 435222720 bytes (row bytes = 1737)
channel 1:
>>> channel id = 0 @ 1678975913, 233221524 bytes
compression = 1 (RLE)
uncompressed size 435222720 bytes (row bytes = 1737)
channel 2:
>>> channel id = 1 @ 1912197437, 234688813 bytes
compression = 1 (RLE)
uncompressed size 435222720 bytes (row bytes = 1737)
channel 3:
>>> channel id = 2 @ 2146886250, 247557965 bytes
compression = 1 (RLE)
uncompressed size 435222720 bytes (row bytes = 1737)
## end of layer image data @ -1900523081
(global layer mask info is empty)
merged channels:
>>> merged image data @ 2394444260
compression = 1 (RLE)
uncompressed size -1231488512 bytes (row bytes = 7342)
done.
to convert -alpha off -compress none -append D:\worldcard\Screenshots*.png D:\worldcard\stripes\stripe001.psb
Adobe Photoshop CS 5 says "Could not complete yor request because the file is not compatable with this version of Photoshop."(respectively in German as I have a german version "Der Vorgang konnt nicht ausgeführt werden, weil diese Datei nicht mit dieser Version von Photoshop kompatibel ist.")
The same also without alpha and compress argument but then is the file more than 4GB and so its only 1.7GB
psdparse-3.4b1-win\psdparse.exe -v stripe001.psb gives:
Processing "stripe001.psb"
PSB (version 2), 3 channels, 345600 rows x 1737 cols, 8 bit RGBColor
(color mode data is empty)
...skipped image resources (28 bytes)
(layer & mask info section is empty)
## layer data begins @ 70
## layer image data begins @ 70
## end of layer image data @ 70
...skipped global layer mask info (58853 bytes)
merged channels:
>>> merged image data @ 70
compression = 0 (raw)
uncompressed size 1800921600 bytes (row bytes = 1737)
done.
another also with convert assembled psb files is openable in CS5 but there are 100.000 rows less --> Is there a limitation or bug for convert in row number? The openable file is not converted with compress/alpha switch and so its 4,45GB (but as already said its openable)
psdparse-3.4b1-win\psdparse.exe -v stripeShort.psb
Processing "stripeShort.psb"
PSB (version 2), 4 channels, 250560 rows x 7342 cols, 8 bit RGBColor
(color mode data is empty)
...skipped image resources (21846 bytes)
(first alpha is transparency for merged image)
4 layers:
layer 0: ( 0, 0,250560,1737), 4 channels (250560 rows x 1737 cols)
channel 0: 8519042 bytes, id=-1 (transparency mask)
channel 1: 211303766 bytes, id= 0 (R)
channel 2: 213000349 bytes, id= 1 (G)
channel 3: 228074306 bytes, id= 2 (B)
(extra data: 316 bytes @ 21972)
(no layer mask)
...skipped layer blending ranges (40 bytes)
name: "Ebene 0"
layer 1: ( 0,1737,250560,3474), 4 channels (250560 rows x 1737 cols)
channel 0: 8519042 bytes, id=-1 (transparency mask)
channel 1: 94250710 bytes, id= 0 (R)
channel 2: 94944863 bytes, id= 1 (G)
channel 3: 102079326 bytes, id= 2 (B)
(extra data: 316 bytes @ 22362)
(no layer mask)
...skipped layer blending ranges (40 bytes)
name: "Ebene 1"
layer 2: ( 0,3474,250560,5211), 4 channels (250560 rows x 1737 cols)
channel 0: 8519042 bytes, id=-1 (transparency mask)
channel 1: 227452131 bytes, id= 0 (R)
channel 2: 229391062 bytes, id= 1 (G)
channel 3: 244379774 bytes, id= 2 (B)
(extra data: 316 bytes @ 22752)
(no layer mask)
...skipped layer blending ranges (40 bytes)
name: "Ebene 2"
layer 3: ( 0,5211,250560,6948), 4 channels (250560 rows x 1737 cols)
channel 0: 8519042 bytes, id=-1 (transparency mask)
channel 1: 233221524 bytes, id= 0 (R)
channel 2: 234688813 bytes, id= 1 (G)
channel 3: 247557965 bytes, id= 2 (B)
(extra data: 316 bytes @ 23142)
(no layer mask)
...skipped layer blending ranges (40 bytes)
name: "Ebene 3"
## layer data begins @ 23458
## layer image data begins @ 23458
layer 0 ("Ebene 0"):
blending mode: sig='8BIM' key='norm'(normal) opacity=255(100%) clipping=0(base
)
flags=0x8(transp_prot(0) visible(0) bit4valid(1) pixel_data_irrelevant(0))
channel 0:
>>> channel id = -1 @ 23458, 8519042 bytes
compression = 1 (RLE)
uncompressed size 435222720 bytes (row bytes = 1737)
channel 1:
>>> channel id = 0 @ 8542500, 211303766 bytes
compression = 1 (RLE)
uncompressed size 435222720 bytes (row bytes = 1737)
channel 2:
>>> channel id = 1 @ 219846266, 213000349 bytes
compression = 1 (RLE)
uncompressed size 435222720 bytes (row bytes = 1737)
channel 3:
>>> channel id = 2 @ 432846615, 228074306 bytes
compression = 1 (RLE)
uncompressed size 435222720 bytes (row bytes = 1737)
layer 1 ("Ebene 1"):
blending mode: sig='8BIM' key='norm'(normal) opacity=255(100%) clipping=0(base
)
flags=0x8(transp_prot(0) visible(0) bit4valid(1) pixel_data_irrelevant(0))
channel 0:
>>> channel id = -1 @ 660920921, 8519042 bytes
compression = 1 (RLE)
uncompressed size 435222720 bytes (row bytes = 1737)
channel 1:
>>> channel id = 0 @ 669439963, 94250710 bytes
compression = 1 (RLE)
uncompressed size 435222720 bytes (row bytes = 1737)
channel 2:
>>> channel id = 1 @ 763690673, 94944863 bytes
compression = 1 (RLE)
uncompressed size 435222720 bytes (row bytes = 1737)
channel 3:
>>> channel id = 2 @ 858635536, 102079326 bytes
compression = 1 (RLE)
uncompressed size 435222720 bytes (row bytes = 1737)
layer 2 ("Ebene 2"):
blending mode: sig='8BIM' key='norm'(normal) opacity=255(100%) clipping=0(base
)
flags=0x8(transp_prot(0) visible(0) bit4valid(1) pixel_data_irrelevant(0))
channel 0:
>>> channel id = -1 @ 960714862, 8519042 bytes
compression = 1 (RLE)
uncompressed size 435222720 bytes (row bytes = 1737)
channel 1:
>>> channel id = 0 @ 969233904, 227452131 bytes
compression = 1 (RLE)
uncompressed size 435222720 bytes (row bytes = 1737)
channel 2:
>>> channel id = 1 @ 1196686035, 229391062 bytes
compression = 1 (RLE)
uncompressed size 435222720 bytes (row bytes = 1737)
channel 3:
>>> channel id = 2 @ 1426077097, 244379774 bytes
compression = 1 (RLE)
uncompressed size 435222720 bytes (row bytes = 1737)
layer 3 ("Ebene 3"):
blending mode: sig='8BIM' key='norm'(normal) opacity=255(100%) clipping=0(base
)
flags=0x8(transp_prot(0) visible(0) bit4valid(1) pixel_data_irrelevant(0))
channel 0:
>>> channel id = -1 @ 1670456871, 8519042 bytes
compression = 1 (RLE)
uncompressed size 435222720 bytes (row bytes = 1737)
channel 1:
>>> channel id = 0 @ 1678975913, 233221524 bytes
compression = 1 (RLE)
uncompressed size 435222720 bytes (row bytes = 1737)
channel 2:
>>> channel id = 1 @ 1912197437, 234688813 bytes
compression = 1 (RLE)
uncompressed size 435222720 bytes (row bytes = 1737)
channel 3:
>>> channel id = 2 @ 2146886250, 247557965 bytes
compression = 1 (RLE)
uncompressed size 435222720 bytes (row bytes = 1737)
## end of layer image data @ -1900523081
(global layer mask info is empty)
merged channels:
>>> merged image data @ 2394444260
compression = 1 (RLE)
uncompressed size -1231488512 bytes (row bytes = 7342)
done.
Re: PSD PSB
btw. convert -append Shot* stripe.psb (without other params) leads to following psdparse results:
C:\Users\Micha>C:\Users\Micha\Desktop\psdparse-3.4b1-win\psdparse.exe -v D:\welt
karte\streifen\streifen2011_01_18-22_05_19_085.psb
Processing "D:\weltkarte\streifen\streifen2011_01_18-22_05_19_085.psb"
PSB (version 2), 4 channels, 345600 rows x 1737 cols, 8 bit RGBColor
(color mode data is empty)
...skipped image resources (28 bytes)
1 layers:
layer 0: ( 0, 0,345600,1737), 4 channels (345600 rows x 1737 cols)
channel 0: 600307202 bytes, id= 0 (R)
channel 1: 600307202 bytes, id= 1 (G)
channel 2: 600307202 bytes, id= 2 (B)
channel 3: 600307202 bytes, id=-1 (transparency mask)
(extra data: 16 bytes @ 154)
(no layer mask)
(layer blending ranges is empty)
name: "L000001"
## layer data begins @ 170
## layer image data begins @ 170
layer 0 ("L000001"):
blending mode: sig='8BIM' key='norm'(normal) opacity=255(100%) clipping=0(base
)
flags=0x1(transp_prot(1) visible(0) bit4valid(0) pixel_data_irrelevant(0))
channel 0:
>>> channel id = 0 @ 170, 600307202 bytes
compression = 0 (raw)
uncompressed size 600307200 bytes (row bytes = 1737)
channel 1:
>>> channel id = 1 @ 600307372, 600307202 bytes
compression = 0 (raw)
uncompressed size 600307200 bytes (row bytes = 1737)
channel 2:
>>> channel id = 2 @ 1200614574, 600307202 bytes
compression = 0 (raw)
uncompressed size 600307200 bytes (row bytes = 1737)
channel 3:
>>> channel id = -1 @ 1800921776, 600307202 bytes
compression = 0 (raw)
uncompressed size 600307200 bytes (row bytes = 1737)
## end of layer image data @ -1893738318
(global layer mask info is empty)
merged channels:
>>> merged image data @ 2401228978
compression = 0 (raw)
uncompressed size -1893738496 bytes (row bytes = 1737)
done.
But as said above it leads to the "wrong version" error message in CS 5 and 4.6GB filesize.
C:\Users\Micha>C:\Users\Micha\Desktop\psdparse-3.4b1-win\psdparse.exe -v D:\welt
karte\streifen\streifen2011_01_18-22_05_19_085.psb
Processing "D:\weltkarte\streifen\streifen2011_01_18-22_05_19_085.psb"
PSB (version 2), 4 channels, 345600 rows x 1737 cols, 8 bit RGBColor
(color mode data is empty)
...skipped image resources (28 bytes)
1 layers:
layer 0: ( 0, 0,345600,1737), 4 channels (345600 rows x 1737 cols)
channel 0: 600307202 bytes, id= 0 (R)
channel 1: 600307202 bytes, id= 1 (G)
channel 2: 600307202 bytes, id= 2 (B)
channel 3: 600307202 bytes, id=-1 (transparency mask)
(extra data: 16 bytes @ 154)
(no layer mask)
(layer blending ranges is empty)
name: "L000001"
## layer data begins @ 170
## layer image data begins @ 170
layer 0 ("L000001"):
blending mode: sig='8BIM' key='norm'(normal) opacity=255(100%) clipping=0(base
)
flags=0x1(transp_prot(1) visible(0) bit4valid(0) pixel_data_irrelevant(0))
channel 0:
>>> channel id = 0 @ 170, 600307202 bytes
compression = 0 (raw)
uncompressed size 600307200 bytes (row bytes = 1737)
channel 1:
>>> channel id = 1 @ 600307372, 600307202 bytes
compression = 0 (raw)
uncompressed size 600307200 bytes (row bytes = 1737)
channel 2:
>>> channel id = 2 @ 1200614574, 600307202 bytes
compression = 0 (raw)
uncompressed size 600307200 bytes (row bytes = 1737)
channel 3:
>>> channel id = -1 @ 1800921776, 600307202 bytes
compression = 0 (raw)
uncompressed size 600307200 bytes (row bytes = 1737)
## end of layer image data @ -1893738318
(global layer mask info is empty)
merged channels:
>>> merged image data @ 2401228978
compression = 0 (raw)
uncompressed size -1893738496 bytes (row bytes = 1737)
done.
But as said above it leads to the "wrong version" error message in CS 5 and 4.6GB filesize.
Re: PSD PSB
I found http://help.adobe.com/en_US/photoshop/c ... 777ca.html The Large Document Format (PSB) supports documents up to 300,000 pixels in any dimension. --> its not a bug from imagemagick its a sensless feature from Adobe
Re: PSD PSB
I have found another (imagemagick?) problem that could be the reason. I can reproduce the unopenable psb files (Adobe Photoshop CS 5 says "Could not complete yor request because the file is not compatable with this version of Photoshop."(respectively in German as I have a German version "Der Vorgang konnt nicht ausgeführt werden, weil diese Datei nicht mit dieser Version von Photoshop kompatibel ist.")) now also with very small files. It depends on the input file format! Normally my input files have png format. My testcases:
//convert from gif to psb
convert logo.gif -resize 99%% test1.psb --> test1.psb is openable
//convert from png to psb
convert logo.gif -resize 99%% logo.png
convert logo.png -resize 99%% logo.psb --> logo.psb is openable
//create png and jpg files from THE SAME screenshot from Adobe Photoshop CS 5
//save the png file without interlace and the jpg with maximum quality
http://www.michael-willig.de/im/test.png and http://www.michael-willig.de/im/test.jpg
convert test.png -resize 90%% test1.psb --> UNOPENABLE
convert test.jpg -resize 90%% test2.psb --> OPENABLE
Both psb files can also be found here
http://www.michael-willig.de/im/test1.psb and http://www.michael-willig.de/im/test2.psb
Both files in psdparse
UNOPENABLE test1.psb
C:\Users\Micha>C:\Users\Micha\Desktop\psdparse-3.4b1-win\psdparse.exe -v C:\Users\Micha\Desktop\test\test1.psb
Processing "C:\Users\Micha\Desktop\test\test1.psb"
PSB (version 2), 4 channels, 972 rows x 1728 cols, 8 bit RGBColor
(color mode data is empty)
...skipped image resources (3184 bytes)
1 layers:
layer 0: ( 0, 0, 972,1728), 4 channels ( 972 rows x 1728 cols)
channel 0: 1679618 bytes, id= 0 (R)
channel 1: 1679618 bytes, id= 1 (G)
channel 2: 1679618 bytes, id= 2 (B)
channel 3: 1679618 bytes, id=-1 (transparency mask)
(extra data: 16 bytes @ 3310)
(no layer mask)
(layer blending ranges is empty)
name: "L000001"
## layer data begins @ 3326
## layer image data begins @ 3326
layer 0 ("L000001"):
blending mode: sig='8BIM' key='norm'(normal) opacity=255(100%) clipping=0(base)
flags=0x1(transp_prot(1) visible(0) bit4valid(0) pixel_data_irrelevant(0))
channel 0:
>>> channel id = 0 @ 3326, 1679618 bytes
compression = 0 (raw)
uncompressed size 1679616 bytes (row bytes = 1728)
channel 1:
>>> channel id = 1 @ 1682944, 1679618 bytes
compression = 0 (raw)
uncompressed size 1679616 bytes (row bytes = 1728)
channel 2:
>>> channel id = 2 @ 3362562, 1679618 bytes
compression = 0 (raw)
uncompressed size 1679616 bytes (row bytes = 1728)
channel 3:
>>> channel id = -1 @ 5042180, 1679618 bytes
compression = 0 (raw)
uncompressed size 1679616 bytes (row bytes = 1728)
## end of layer image data @ 6721798
(global layer mask info is empty)
merged channels:
>>> merged image data @ 6721798
compression = 0 (raw)
uncompressed size 6718464 bytes (row bytes = 1728)
done.
OPENABLE test2.psb has much shorter psdparse output
C:\Users\Micha>C:\Users\Micha\Desktop\psdparse-3.4b1-win\psdparse.exe -v C:\Users\Micha\Desktop\test\test2.psb
Processing "C:\Users\Micha\Desktop\test\test2.psb"
PSB (version 2), 3 channels, 972 rows x 1728 cols, 8 bit RGBColor
(color mode data is empty)
...skipped image resources (10968 bytes)
(layer & mask info section is empty)
## layer data begins @ 11010
## layer image data begins @ 11010
## end of layer image data @ 11010
...skipped global layer mask info (28271 bytes)
merged channels:
>>> merged image data @ 11010
compression = 0 (raw)
uncompressed size 5038848 bytes (row bytes = 1728)
done.
Are there any options I can try?
//convert from gif to psb
convert logo.gif -resize 99%% test1.psb --> test1.psb is openable
//convert from png to psb
convert logo.gif -resize 99%% logo.png
convert logo.png -resize 99%% logo.psb --> logo.psb is openable
//create png and jpg files from THE SAME screenshot from Adobe Photoshop CS 5
//save the png file without interlace and the jpg with maximum quality
http://www.michael-willig.de/im/test.png and http://www.michael-willig.de/im/test.jpg
convert test.png -resize 90%% test1.psb --> UNOPENABLE
convert test.jpg -resize 90%% test2.psb --> OPENABLE
Both psb files can also be found here
http://www.michael-willig.de/im/test1.psb and http://www.michael-willig.de/im/test2.psb
Both files in psdparse
UNOPENABLE test1.psb
C:\Users\Micha>C:\Users\Micha\Desktop\psdparse-3.4b1-win\psdparse.exe -v C:\Users\Micha\Desktop\test\test1.psb
Processing "C:\Users\Micha\Desktop\test\test1.psb"
PSB (version 2), 4 channels, 972 rows x 1728 cols, 8 bit RGBColor
(color mode data is empty)
...skipped image resources (3184 bytes)
1 layers:
layer 0: ( 0, 0, 972,1728), 4 channels ( 972 rows x 1728 cols)
channel 0: 1679618 bytes, id= 0 (R)
channel 1: 1679618 bytes, id= 1 (G)
channel 2: 1679618 bytes, id= 2 (B)
channel 3: 1679618 bytes, id=-1 (transparency mask)
(extra data: 16 bytes @ 3310)
(no layer mask)
(layer blending ranges is empty)
name: "L000001"
## layer data begins @ 3326
## layer image data begins @ 3326
layer 0 ("L000001"):
blending mode: sig='8BIM' key='norm'(normal) opacity=255(100%) clipping=0(base)
flags=0x1(transp_prot(1) visible(0) bit4valid(0) pixel_data_irrelevant(0))
channel 0:
>>> channel id = 0 @ 3326, 1679618 bytes
compression = 0 (raw)
uncompressed size 1679616 bytes (row bytes = 1728)
channel 1:
>>> channel id = 1 @ 1682944, 1679618 bytes
compression = 0 (raw)
uncompressed size 1679616 bytes (row bytes = 1728)
channel 2:
>>> channel id = 2 @ 3362562, 1679618 bytes
compression = 0 (raw)
uncompressed size 1679616 bytes (row bytes = 1728)
channel 3:
>>> channel id = -1 @ 5042180, 1679618 bytes
compression = 0 (raw)
uncompressed size 1679616 bytes (row bytes = 1728)
## end of layer image data @ 6721798
(global layer mask info is empty)
merged channels:
>>> merged image data @ 6721798
compression = 0 (raw)
uncompressed size 6718464 bytes (row bytes = 1728)
done.
OPENABLE test2.psb has much shorter psdparse output
C:\Users\Micha>C:\Users\Micha\Desktop\psdparse-3.4b1-win\psdparse.exe -v C:\Users\Micha\Desktop\test\test2.psb
Processing "C:\Users\Micha\Desktop\test\test2.psb"
PSB (version 2), 3 channels, 972 rows x 1728 cols, 8 bit RGBColor
(color mode data is empty)
...skipped image resources (10968 bytes)
(layer & mask info section is empty)
## layer data begins @ 11010
## layer image data begins @ 11010
## end of layer image data @ 11010
...skipped global layer mask info (28271 bytes)
merged channels:
>>> merged image data @ 11010
compression = 0 (raw)
uncompressed size 5038848 bytes (row bytes = 1728)
done.
Are there any options I can try?
Re: PSD PSB
We're aware there are problems with the PSB format in ImageMagick. We're working on the problem but it may take some time since its a difficult format to support.