Complete dummy NOT converting large format psb to bmp

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?".
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Complete dummy NOT converting large format psb to bmp

Post by magick »

Most algorithms in ImageMagick are scanline oriented-- meaning they process one scanline at a time to conserve memory. However, BMP tries to allocate the entire image in memory which most likely is the cause of your memory exception. A workaround is to convert the image to another format that does not require the entire image be allocated in memory (i.e. PNG) or another is to resize the image before you save it to BMP:
  • convert -limit area 0 panel2.psb -resize 10% panel2.bmp
We ran the identify program on your image and it reported:
  • -> identify -verbose panel2.psb
    Image: panel2.psb
    Format: PSD (Adobe Photoshop bitmap)
    Class: PseudoClass
    Geometry: 56693x11811+0+0
    Resolution: 300x300
    Print size: 188.977x39.37
    Units: PixelsPerInch
    Type: Grayscale
    Base type: Grayscale
    Endianess: Undefined
    Colorspace: RGB
    Depth: 8-bit
    Channel depth:
    gray: 8-bit
    Channel statistics:
    Gray:
    min: 0 (0)
    max: 255 (1)
    mean: 36.8163 (0.144378)
    standard deviation: 51.7005 (0.202747)
    kurtosis: 2.03651
    skewness: 1.66214
    Histogram:
    192892800: ( 0, 0, 0) #000000 black
    14526739: ( 1, 1, 1) #010101 rgb(1,1,1)
    13892306: ( 2, 2, 2) #020202 rgb(2,2,2)
    24650515: ( 3, 3, 3) #030303 grey1
    11911564: ( 4, 4, 4) #040404 rgb(4,4,4)
    12658672: ( 5, 5, 5) #050505 grey2
    10430566: ( 6, 6, 6) #060606 rgb(6,6,6)
    12153326: ( 7, 7, 7) #070707 rgb(7,7,7)
    12124324: ( 8, 8, 8) #080808 grey3
    9721708: ( 9, 9, 9) #090909 rgb(9,9,9)
    7992456: ( 10, 10, 10) #0A0A0A grey4
    7684954: ( 11, 11, 11) #0B0B0B rgb(11,11,11)
    7282133: ( 12, 12, 12) #0C0C0C rgb(12,12,12)
    7405428: ( 13, 13, 13) #0D0D0D grey5
    6992651: ( 14, 14, 14) #0E0E0E rgb(14,14,14)
    7364100: ( 15, 15, 15) #0F0F0F grey6
    6847128: ( 16, 16, 16) #101010 rgb(16,16,16)
    6878121: ( 17, 17, 17) #111111 rgb(17,17,17)
    6407861: ( 18, 18, 18) #121212 grey7
    5918407: ( 19, 19, 19) #131313 rgb(19,19,19)
    5589881: ( 20, 20, 20) #141414 grey8
    5172407: ( 21, 21, 21) #151515 rgb(21,21,21)
    5091220: ( 22, 22, 22) #161616 rgb(22,22,22)
    4612265: ( 23, 23, 23) #171717 grey9
    4604144: ( 24, 24, 24) #181818 rgb(24,24,24)
    4606405: ( 25, 25, 25) #191919 rgb(25,25,25)
    4154868: ( 26, 26, 26) #1A1A1A grey10
    3986826: ( 27, 27, 27) #1B1B1B rgb(27,27,27)
    3941896: ( 28, 28, 28) #1C1C1C grey11
    3941740: ( 29, 29, 29) #1D1D1D rgb(29,29,29)
    3718134: ( 30, 30, 30) #1E1E1E rgb(30,30,30)
    3889035: ( 31, 31, 31) #1F1F1F grey12
    3980390: ( 32, 32, 32) #202020 rgb(32,32,32)
    3781837: ( 33, 33, 33) #212121 grey13
    3767029: ( 34, 34, 34) #222222 rgb(34,34,34)
    3253335: ( 35, 35, 35) #232323 rgb(35,35,35)
    3199169: ( 36, 36, 36) #242424 grey14
    3318505: ( 37, 37, 37) #252525 rgb(37,37,37)
    3208618: ( 38, 38, 38) #262626 grey15
    3320699: ( 39, 39, 39) #272727 rgb(39,39,39)
    3426330: ( 40, 40, 40) #282828 rgb(40,40,40)
    3035838: ( 41, 41, 41) #292929 grey16
    2930815: ( 42, 42, 42) #2A2A2A rgb(42,42,42)
    2990599: ( 43, 43, 43) #2B2B2B grey17
    2706432: ( 44, 44, 44) #2C2C2C rgb(44,44,44)
    2732611: ( 45, 45, 45) #2D2D2D rgb(45,45,45)
    2546713: ( 46, 46, 46) #2E2E2E grey18
    2375091: ( 47, 47, 47) #2F2F2F rgb(47,47,47)
    2401427: ( 48, 48, 48) #303030 grey19
    3060686: ( 49, 49, 49) #313131 rgb(49,49,49)
    2182485: ( 50, 50, 50) #323232 rgb(50,50,50)
    2166849: ( 51, 51, 51) #333333 grey20
    2366865: ( 52, 52, 52) #343434 rgb(52,52,52)
    2417994: ( 53, 53, 53) #353535 rgb(53,53,53)
    2222568: ( 54, 54, 54) #363636 grey21
    2010346: ( 55, 55, 55) #373737 rgb(55,55,55)
    2098337: ( 56, 56, 56) #383838 grey22
    2349731: ( 57, 57, 57) #393939 rgb(57,57,57)
    2241742: ( 58, 58, 58) #3A3A3A rgb(58,58,58)
    1933985: ( 59, 59, 59) #3B3B3B grey23
    2642891: ( 60, 60, 60) #3C3C3C rgb(60,60,60)
    2096759: ( 61, 61, 61) #3D3D3D grey24
    1853098: ( 62, 62, 62) #3E3E3E rgb(62,62,62)
    1669334: ( 63, 63, 63) #3F3F3F rgb(63,63,63)
    1661911: ( 64, 64, 64) #404040 grey25
    1891596: ( 65, 65, 65) #414141 rgb(65,65,65)
    1788977: ( 66, 66, 66) #424242 grey26
    1661532: ( 67, 67, 67) #434343 rgb(67,67,67)
    1484448: ( 68, 68, 68) #444444 rgb(68,68,68)
    1474090: ( 69, 69, 69) #454545 grey27
    1585642: ( 70, 70, 70) #464646 rgb(70,70,70)
    2134929: ( 71, 71, 71) #474747 grey28
    1435432: ( 72, 72, 72) #484848 rgb(72,72,72)
    1297528: ( 73, 73, 73) #494949 rgb(73,73,73)
    1441771: ( 74, 74, 74) #4A4A4A grey29
    1353694: ( 75, 75, 75) #4B4B4B rgb(75,75,75)
    1668788: ( 76, 76, 76) #4C4C4C rgb(76,76,76)
    1363508: ( 77, 77, 77) #4D4D4D grey30
    1278921: ( 78, 78, 78) #4E4E4E rgb(78,78,78)
    1441451: ( 79, 79, 79) #4F4F4F grey31
    1553842: ( 80, 80, 80) #505050 rgb(80,80,80)
    1266695: ( 81, 81, 81) #515151 rgb(81,81,81)
    1533928: ( 82, 82, 82) #525252 grey32
    1316951: ( 83, 83, 83) #535353 rgb(83,83,83)
    1183613: ( 84, 84, 84) #545454 grey33
    1281028: ( 85, 85, 85) #555555 rgb(85,85,85)
    1312663: ( 86, 86, 86) #565656 rgb(86,86,86)
    1327629: ( 87, 87, 87) #575757 grey34
    1242952: ( 88, 88, 88) #585858 rgb(88,88,88)
    1319488: ( 89, 89, 89) #595959 grey35
    1302684: ( 90, 90, 90) #5A5A5A rgb(90,90,90)
    1261709: ( 91, 91, 91) #5B5B5B rgb(91,91,91)
    1329162: ( 92, 92, 92) #5C5C5C grey36
    1347635: ( 93, 93, 93) #5D5D5D rgb(93,93,93)
    1243221: ( 94, 94, 94) #5E5E5E grey37
    1549233: ( 95, 95, 95) #5F5F5F rgb(95,95,95)
    1228601: ( 96, 96, 96) #606060 rgb(96,96,96)
    1192232: ( 97, 97, 97) #616161 grey38
    1187197: ( 98, 98, 98) #626262 rgb(98,98,98)
    1322772: ( 99, 99, 99) #636363 grey39
    1198374: (100,100,100) #646464 rgb(100,100,100)
    1220895: (101,101,101) #656565 rgb(101,101,101)
    1142896: (102,102,102) #666666 grey40
    1145395: (103,103,103) #676767 rgb(103,103,103)
    1275561: (104,104,104) #686868 rgb(104,104,104)
    1237360: (105,105,105) #696969 DimGray
    1190847: (106,106,106) #6A6A6A rgb(106,106,106)
    1185068: (107,107,107) #6B6B6B grey42
    1152478: (108,108,108) #6C6C6C rgb(108,108,108)
    1243145: (109,109,109) #6D6D6D rgb(109,109,109)
    1109521: (110,110,110) #6E6E6E grey43
    1119508: (111,111,111) #6F6F6F rgb(111,111,111)
    1181250: (112,112,112) #707070 grey44
    1233311: (113,113,113) #717171 rgb(113,113,113)
    1265462: (114,114,114) #727272 rgb(114,114,114)
    1165403: (115,115,115) #737373 grey45
    1119915: (116,116,116) #747474 rgb(116,116,116)
    1096211: (117,117,117) #757575 grey46
    1091079: (118,118,118) #767676 rgb(118,118,118)
    1141269: (119,119,119) #777777 rgb(119,119,119)
    1139364: (120,120,120) #787878 grey47
    1111076: (121,121,121) #797979 rgb(121,121,121)
    1085771: (122,122,122) #7A7A7A grey48
    1056162: (123,123,123) #7B7B7B rgb(123,123,123)
    1050197: (124,124,124) #7C7C7C rgb(124,124,124)
    1015592: (125,125,125) #7D7D7D grey49
    998495: (126,126,126) #7E7E7E gray
    1050434: (127,127,127) #7F7F7F grey50
    960231: (128,128,128) #808080 fractal
    954599: (129,129,129) #818181 rgb(129,129,129)
    928924: (130,130,130) #828282 grey51
    957728: (131,131,131) #838383 rgb(131,131,131)
    955010: (132,132,132) #848484 rgb(132,132,132)
    943230: (133,133,133) #858585 grey52
    892454: (134,134,134) #868686 rgb(134,134,134)
    887174: (135,135,135) #878787 grey53
    971169: (136,136,136) #888888 rgb(136,136,136)
    1037576: (137,137,137) #898989 rgb(137,137,137)
    876915: (138,138,138) #8A8A8A grey54
    952073: (139,139,139) #8B8B8B rgb(139,139,139)
    881651: (140,140,140) #8C8C8C grey55
    962843: (141,141,141) #8D8D8D rgb(141,141,141)
    969179: (142,142,142) #8E8E8E rgb(142,142,142)
    880047: (143,143,143) #8F8F8F grey56
    989307: (144,144,144) #909090 rgb(144,144,144)
    1048399: (145,145,145) #919191 grey57
    936584: (146,146,146) #929292 rgb(146,146,146)
    908992: (147,147,147) #939393 rgb(147,147,147)
    1585365: (148,148,148) #949494 grey58
    886620: (149,149,149) #959595 rgb(149,149,149)
    986944: (150,150,150) #969696 grey59
    970764: (151,151,151) #979797 rgb(151,151,151)
    898017: (152,152,152) #989898 rgb(152,152,152)
    898239: (153,153,153) #999999 grey60
    882813: (154,154,154) #9A9A9A rgb(154,154,154)
    928344: (155,155,155) #9B9B9B rgb(155,155,155)
    803757: (156,156,156) #9C9C9C grey61
    878887: (157,157,157) #9D9D9D rgb(157,157,157)
    837153: (158,158,158) #9E9E9E grey62
    850236: (159,159,159) #9F9F9F rgb(159,159,159)
    889266: (160,160,160) #A0A0A0 rgb(160,160,160)
    834321: (161,161,161) #A1A1A1 grey63
    967652: (162,162,162) #A2A2A2 rgb(162,162,162)
    932112: (163,163,163) #A3A3A3 grey64
    886742: (164,164,164) #A4A4A4 rgb(164,164,164)
    972569: (165,165,165) #A5A5A5 rgb(165,165,165)
    947657: (166,166,166) #A6A6A6 grey65
    939641: (167,167,167) #A7A7A7 rgb(167,167,167)
    894569: (168,168,168) #A8A8A8 grey66
    799335: (169,169,169) #A9A9A9 DarkGray
    832426: (170,170,170) #AAAAAA rgb(170,170,170)
    787964: (171,171,171) #ABABAB grey67
    718915: (172,172,172) #ACACAC rgb(172,172,172)
    608978: (173,173,173) #ADADAD grey68
    571743: (174,174,174) #AEAEAE rgb(174,174,174)
    592228: (175,175,175) #AFAFAF rgb(175,175,175)
    587785: (176,176,176) #B0B0B0 grey69
    622084: (177,177,177) #B1B1B1 rgb(177,177,177)
    535012: (178,178,178) #B2B2B2 rgb(178,178,178)
    490426: (179,179,179) #B3B3B3 grey70
    506842: (180,180,180) #B4B4B4 rgb(180,180,180)
    1010490: (181,181,181) #B5B5B5 grey71
    472391: (182,182,182) #B6B6B6 rgb(182,182,182)
    414188: (183,183,183) #B7B7B7 rgb(183,183,183)
    437645: (184,184,184) #B8B8B8 grey72
    457298: (185,185,185) #B9B9B9 rgb(185,185,185)
    415979: (186,186,186) #BABABA grey73
    365294: (187,187,187) #BBBBBB rgb(187,187,187)
    349353: (188,188,188) #BCBCBC rgb(188,188,188)
    375475: (189,189,189) #BDBDBD grey74
    389324: (190,190,190) #BEBEBE grey
    326447: (191,191,191) #BFBFBF grey75
    350179: (192,192,192) #C0C0C0 silver
    334212: (193,193,193) #C1C1C1 rgb(193,193,193)
    588531: (194,194,194) #C2C2C2 grey76
    356037: (195,195,195) #C3C3C3 rgb(195,195,195)
    291887: (196,196,196) #C4C4C4 grey77
    277765: (197,197,197) #C5C5C5 rgb(197,197,197)
    288864: (198,198,198) #C6C6C6 rgb(198,198,198)
    263602: (199,199,199) #C7C7C7 grey78
    269089: (200,200,200) #C8C8C8 rgb(200,200,200)
    252153: (201,201,201) #C9C9C9 grey79
    220211: (202,202,202) #CACACA rgb(202,202,202)
    231528: (203,203,203) #CBCBCB rgb(203,203,203)
    203655: (204,204,204) #CCCCCC grey80
    200905: (205,205,205) #CDCDCD rgb(205,205,205)
    194624: (206,206,206) #CECECE rgb(206,206,206)
    172248: (207,207,207) #CFCFCF grey81
    179175: (208,208,208) #D0D0D0 rgb(208,208,208)
    163957: (209,209,209) #D1D1D1 grey82
    173764: (210,210,210) #D2D2D2 rgb(210,210,210)
    154871: (211,211,211) #D3D3D3 LightGray
    155469: (212,212,212) #D4D4D4 grey83
    144611: (213,213,213) #D5D5D5 rgb(213,213,213)
    147536: (214,214,214) #D6D6D6 grey84
    148947: (215,215,215) #D7D7D7 rgb(215,215,215)
    152534: (216,216,216) #D8D8D8 rgb(216,216,216)
    161421: (217,217,217) #D9D9D9 grey85
    108515: (218,218,218) #DADADA rgb(218,218,218)
    108037: (219,219,219) #DBDBDB grey86
    98393: (220,220,220) #DCDCDC gainsboro
    96709: (221,221,221) #DDDDDD rgb(221,221,221)
    97967: (222,222,222) #DEDEDE grey87
    94026: (223,223,223) #DFDFDF rgb(223,223,223)
    91505: (224,224,224) #E0E0E0 grey88
    89283: (225,225,225) #E1E1E1 rgb(225,225,225)
    89562: (226,226,226) #E2E2E2 rgb(226,226,226)
    88647: (227,227,227) #E3E3E3 grey89
    85776: (228,228,228) #E4E4E4 rgb(228,228,228)
    83324: (229,229,229) #E5E5E5 grey90
    76887: (230,230,230) #E6E6E6 rgb(230,230,230)
    78652: (231,231,231) #E7E7E7 rgb(231,231,231)
    74615: (232,232,232) #E8E8E8 grey91
    75390: (233,233,233) #E9E9E9 rgb(233,233,233)
    72148: (234,234,234) #EAEAEA rgb(234,234,234)
    68032: (235,235,235) #EBEBEB grey92
    68993: (236,236,236) #ECECEC rgb(236,236,236)
    65769: (237,237,237) #EDEDED grey93
    63834: (238,238,238) #EEEEEE rgb(238,238,238)
    64139: (239,239,239) #EFEFEF rgb(239,239,239)
    64524: (240,240,240) #F0F0F0 grey94
    64639: (241,241,241) #F1F1F1 rgb(241,241,241)
    71706: (242,242,242) #F2F2F2 grey95
    267125: (243,243,243) #F3F3F3 rgb(243,243,243)
    74018: (244,244,244) #F4F4F4 rgb(244,244,244)
    66637: (245,245,245) #F5F5F5 grey96
    61845: (246,246,246) #F6F6F6 rgb(246,246,246)
    57983: (247,247,247) #F7F7F7 grey97
    61789: (248,248,248) #F8F8F8 rgb(248,248,248)
    59192: (249,249,249) #F9F9F9 rgb(249,249,249)
    61034: (250,250,250) #FAFAFA grey98
    61879: (251,251,251) #FBFBFB rgb(251,251,251)
    59682: (252,252,252) #FCFCFC grey99
    71460: (253,253,253) #FDFDFD rgb(253,253,253)
    89307: (254,254,254) #FEFEFE rgb(254,254,254)
    633670: (255,255,255) #FFFFFF white
    Colormap: 256
    0: ( 0, 0, 0) #000000 black
    1: ( 1, 1, 1) #010101 rgb(1,1,1)
    2: ( 2, 2, 2) #020202 rgb(2,2,2)
    3: ( 3, 3, 3) #030303 grey1
    4: ( 4, 4, 4) #040404 rgb(4,4,4)
    5: ( 5, 5, 5) #050505 grey2
    6: ( 6, 6, 6) #060606 rgb(6,6,6)
    7: ( 7, 7, 7) #070707 rgb(7,7,7)
    8: ( 8, 8, 8) #080808 grey3
    9: ( 9, 9, 9) #090909 rgb(9,9,9)
    10: ( 10, 10, 10) #0A0A0A grey4
    11: ( 11, 11, 11) #0B0B0B rgb(11,11,11)
    12: ( 12, 12, 12) #0C0C0C rgb(12,12,12)
    13: ( 13, 13, 13) #0D0D0D grey5
    14: ( 14, 14, 14) #0E0E0E rgb(14,14,14)
    15: ( 15, 15, 15) #0F0F0F grey6
    16: ( 16, 16, 16) #101010 rgb(16,16,16)
    17: ( 17, 17, 17) #111111 rgb(17,17,17)
    18: ( 18, 18, 18) #121212 grey7
    19: ( 19, 19, 19) #131313 rgb(19,19,19)
    20: ( 20, 20, 20) #141414 grey8
    21: ( 21, 21, 21) #151515 rgb(21,21,21)
    22: ( 22, 22, 22) #161616 rgb(22,22,22)
    23: ( 23, 23, 23) #171717 grey9
    24: ( 24, 24, 24) #181818 rgb(24,24,24)
    25: ( 25, 25, 25) #191919 rgb(25,25,25)
    26: ( 26, 26, 26) #1A1A1A grey10
    27: ( 27, 27, 27) #1B1B1B rgb(27,27,27)
    28: ( 28, 28, 28) #1C1C1C grey11
    29: ( 29, 29, 29) #1D1D1D rgb(29,29,29)
    30: ( 30, 30, 30) #1E1E1E rgb(30,30,30)
    31: ( 31, 31, 31) #1F1F1F grey12
    32: ( 32, 32, 32) #202020 rgb(32,32,32)
    33: ( 33, 33, 33) #212121 grey13
    34: ( 34, 34, 34) #222222 rgb(34,34,34)
    35: ( 35, 35, 35) #232323 rgb(35,35,35)
    36: ( 36, 36, 36) #242424 grey14
    37: ( 37, 37, 37) #252525 rgb(37,37,37)
    38: ( 38, 38, 38) #262626 grey15
    39: ( 39, 39, 39) #272727 rgb(39,39,39)
    40: ( 40, 40, 40) #282828 rgb(40,40,40)
    41: ( 41, 41, 41) #292929 grey16
    42: ( 42, 42, 42) #2A2A2A rgb(42,42,42)
    43: ( 43, 43, 43) #2B2B2B grey17
    44: ( 44, 44, 44) #2C2C2C rgb(44,44,44)
    45: ( 45, 45, 45) #2D2D2D rgb(45,45,45)
    46: ( 46, 46, 46) #2E2E2E grey18
    47: ( 47, 47, 47) #2F2F2F rgb(47,47,47)
    48: ( 48, 48, 48) #303030 grey19
    49: ( 49, 49, 49) #313131 rgb(49,49,49)
    50: ( 50, 50, 50) #323232 rgb(50,50,50)
    51: ( 51, 51, 51) #333333 grey20
    52: ( 52, 52, 52) #343434 rgb(52,52,52)
    53: ( 53, 53, 53) #353535 rgb(53,53,53)
    54: ( 54, 54, 54) #363636 grey21
    55: ( 55, 55, 55) #373737 rgb(55,55,55)
    56: ( 56, 56, 56) #383838 grey22
    57: ( 57, 57, 57) #393939 rgb(57,57,57)
    58: ( 58, 58, 58) #3A3A3A rgb(58,58,58)
    59: ( 59, 59, 59) #3B3B3B grey23
    60: ( 60, 60, 60) #3C3C3C rgb(60,60,60)
    61: ( 61, 61, 61) #3D3D3D grey24
    62: ( 62, 62, 62) #3E3E3E rgb(62,62,62)
    63: ( 63, 63, 63) #3F3F3F rgb(63,63,63)
    64: ( 64, 64, 64) #404040 grey25
    65: ( 65, 65, 65) #414141 rgb(65,65,65)
    66: ( 66, 66, 66) #424242 grey26
    67: ( 67, 67, 67) #434343 rgb(67,67,67)
    68: ( 68, 68, 68) #444444 rgb(68,68,68)
    69: ( 69, 69, 69) #454545 grey27
    70: ( 70, 70, 70) #464646 rgb(70,70,70)
    71: ( 71, 71, 71) #474747 grey28
    72: ( 72, 72, 72) #484848 rgb(72,72,72)
    73: ( 73, 73, 73) #494949 rgb(73,73,73)
    74: ( 74, 74, 74) #4A4A4A grey29
    75: ( 75, 75, 75) #4B4B4B rgb(75,75,75)
    76: ( 76, 76, 76) #4C4C4C rgb(76,76,76)
    77: ( 77, 77, 77) #4D4D4D grey30
    78: ( 78, 78, 78) #4E4E4E rgb(78,78,78)
    79: ( 79, 79, 79) #4F4F4F grey31
    80: ( 80, 80, 80) #505050 rgb(80,80,80)
    81: ( 81, 81, 81) #515151 rgb(81,81,81)
    82: ( 82, 82, 82) #525252 grey32
    83: ( 83, 83, 83) #535353 rgb(83,83,83)
    84: ( 84, 84, 84) #545454 grey33
    85: ( 85, 85, 85) #555555 rgb(85,85,85)
    86: ( 86, 86, 86) #565656 rgb(86,86,86)
    87: ( 87, 87, 87) #575757 grey34
    88: ( 88, 88, 88) #585858 rgb(88,88,88)
    89: ( 89, 89, 89) #595959 grey35
    90: ( 90, 90, 90) #5A5A5A rgb(90,90,90)
    91: ( 91, 91, 91) #5B5B5B rgb(91,91,91)
    92: ( 92, 92, 92) #5C5C5C grey36
    93: ( 93, 93, 93) #5D5D5D rgb(93,93,93)
    94: ( 94, 94, 94) #5E5E5E grey37
    95: ( 95, 95, 95) #5F5F5F rgb(95,95,95)
    96: ( 96, 96, 96) #606060 rgb(96,96,96)
    97: ( 97, 97, 97) #616161 grey38
    98: ( 98, 98, 98) #626262 rgb(98,98,98)
    99: ( 99, 99, 99) #636363 grey39
    100: (100,100,100) #646464 rgb(100,100,100)
    101: (101,101,101) #656565 rgb(101,101,101)
    102: (102,102,102) #666666 grey40
    103: (103,103,103) #676767 rgb(103,103,103)
    104: (104,104,104) #686868 rgb(104,104,104)
    105: (105,105,105) #696969 DimGray
    106: (106,106,106) #6A6A6A rgb(106,106,106)
    107: (107,107,107) #6B6B6B grey42
    108: (108,108,108) #6C6C6C rgb(108,108,108)
    109: (109,109,109) #6D6D6D rgb(109,109,109)
    110: (110,110,110) #6E6E6E grey43
    111: (111,111,111) #6F6F6F rgb(111,111,111)
    112: (112,112,112) #707070 grey44
    113: (113,113,113) #717171 rgb(113,113,113)
    114: (114,114,114) #727272 rgb(114,114,114)
    115: (115,115,115) #737373 grey45
    116: (116,116,116) #747474 rgb(116,116,116)
    117: (117,117,117) #757575 grey46
    118: (118,118,118) #767676 rgb(118,118,118)
    119: (119,119,119) #777777 rgb(119,119,119)
    120: (120,120,120) #787878 grey47
    121: (121,121,121) #797979 rgb(121,121,121)
    122: (122,122,122) #7A7A7A grey48
    123: (123,123,123) #7B7B7B rgb(123,123,123)
    124: (124,124,124) #7C7C7C rgb(124,124,124)
    125: (125,125,125) #7D7D7D grey49
    126: (126,126,126) #7E7E7E gray
    127: (127,127,127) #7F7F7F grey50
    128: (128,128,128) #808080 fractal
    129: (129,129,129) #818181 rgb(129,129,129)
    130: (130,130,130) #828282 grey51
    131: (131,131,131) #838383 rgb(131,131,131)
    132: (132,132,132) #848484 rgb(132,132,132)
    133: (133,133,133) #858585 grey52
    134: (134,134,134) #868686 rgb(134,134,134)
    135: (135,135,135) #878787 grey53
    136: (136,136,136) #888888 rgb(136,136,136)
    137: (137,137,137) #898989 rgb(137,137,137)
    138: (138,138,138) #8A8A8A grey54
    139: (139,139,139) #8B8B8B rgb(139,139,139)
    140: (140,140,140) #8C8C8C grey55
    141: (141,141,141) #8D8D8D rgb(141,141,141)
    142: (142,142,142) #8E8E8E rgb(142,142,142)
    143: (143,143,143) #8F8F8F grey56
    144: (144,144,144) #909090 rgb(144,144,144)
    145: (145,145,145) #919191 grey57
    146: (146,146,146) #929292 rgb(146,146,146)
    147: (147,147,147) #939393 rgb(147,147,147)
    148: (148,148,148) #949494 grey58
    149: (149,149,149) #959595 rgb(149,149,149)
    150: (150,150,150) #969696 grey59
    151: (151,151,151) #979797 rgb(151,151,151)
    152: (152,152,152) #989898 rgb(152,152,152)
    153: (153,153,153) #999999 grey60
    154: (154,154,154) #9A9A9A rgb(154,154,154)
    155: (155,155,155) #9B9B9B rgb(155,155,155)
    156: (156,156,156) #9C9C9C grey61
    157: (157,157,157) #9D9D9D rgb(157,157,157)
    158: (158,158,158) #9E9E9E grey62
    159: (159,159,159) #9F9F9F rgb(159,159,159)
    160: (160,160,160) #A0A0A0 rgb(160,160,160)
    161: (161,161,161) #A1A1A1 grey63
    162: (162,162,162) #A2A2A2 rgb(162,162,162)
    163: (163,163,163) #A3A3A3 grey64
    164: (164,164,164) #A4A4A4 rgb(164,164,164)
    165: (165,165,165) #A5A5A5 rgb(165,165,165)
    166: (166,166,166) #A6A6A6 grey65
    167: (167,167,167) #A7A7A7 rgb(167,167,167)
    168: (168,168,168) #A8A8A8 grey66
    169: (169,169,169) #A9A9A9 DarkGray
    170: (170,170,170) #AAAAAA rgb(170,170,170)
    171: (171,171,171) #ABABAB grey67
    172: (172,172,172) #ACACAC rgb(172,172,172)
    173: (173,173,173) #ADADAD grey68
    174: (174,174,174) #AEAEAE rgb(174,174,174)
    175: (175,175,175) #AFAFAF rgb(175,175,175)
    176: (176,176,176) #B0B0B0 grey69
    177: (177,177,177) #B1B1B1 rgb(177,177,177)
    178: (178,178,178) #B2B2B2 rgb(178,178,178)
    179: (179,179,179) #B3B3B3 grey70
    180: (180,180,180) #B4B4B4 rgb(180,180,180)
    181: (181,181,181) #B5B5B5 grey71
    182: (182,182,182) #B6B6B6 rgb(182,182,182)
    183: (183,183,183) #B7B7B7 rgb(183,183,183)
    184: (184,184,184) #B8B8B8 grey72
    185: (185,185,185) #B9B9B9 rgb(185,185,185)
    186: (186,186,186) #BABABA grey73
    187: (187,187,187) #BBBBBB rgb(187,187,187)
    188: (188,188,188) #BCBCBC rgb(188,188,188)
    189: (189,189,189) #BDBDBD grey74
    190: (190,190,190) #BEBEBE grey
    191: (191,191,191) #BFBFBF grey75
    192: (192,192,192) #C0C0C0 silver
    193: (193,193,193) #C1C1C1 rgb(193,193,193)
    194: (194,194,194) #C2C2C2 grey76
    195: (195,195,195) #C3C3C3 rgb(195,195,195)
    196: (196,196,196) #C4C4C4 grey77
    197: (197,197,197) #C5C5C5 rgb(197,197,197)
    198: (198,198,198) #C6C6C6 rgb(198,198,198)
    199: (199,199,199) #C7C7C7 grey78
    200: (200,200,200) #C8C8C8 rgb(200,200,200)
    201: (201,201,201) #C9C9C9 grey79
    202: (202,202,202) #CACACA rgb(202,202,202)
    203: (203,203,203) #CBCBCB rgb(203,203,203)
    204: (204,204,204) #CCCCCC grey80
    205: (205,205,205) #CDCDCD rgb(205,205,205)
    206: (206,206,206) #CECECE rgb(206,206,206)
    207: (207,207,207) #CFCFCF grey81
    208: (208,208,208) #D0D0D0 rgb(208,208,208)
    209: (209,209,209) #D1D1D1 grey82
    210: (210,210,210) #D2D2D2 rgb(210,210,210)
    211: (211,211,211) #D3D3D3 LightGray
    212: (212,212,212) #D4D4D4 grey83
    213: (213,213,213) #D5D5D5 rgb(213,213,213)
    214: (214,214,214) #D6D6D6 grey84
    215: (215,215,215) #D7D7D7 rgb(215,215,215)
    216: (216,216,216) #D8D8D8 rgb(216,216,216)
    217: (217,217,217) #D9D9D9 grey85
    218: (218,218,218) #DADADA rgb(218,218,218)
    219: (219,219,219) #DBDBDB grey86
    220: (220,220,220) #DCDCDC gainsboro
    221: (221,221,221) #DDDDDD rgb(221,221,221)
    222: (222,222,222) #DEDEDE grey87
    223: (223,223,223) #DFDFDF rgb(223,223,223)
    224: (224,224,224) #E0E0E0 grey88
    225: (225,225,225) #E1E1E1 rgb(225,225,225)
    226: (226,226,226) #E2E2E2 rgb(226,226,226)
    227: (227,227,227) #E3E3E3 grey89
    228: (228,228,228) #E4E4E4 rgb(228,228,228)
    229: (229,229,229) #E5E5E5 grey90
    230: (230,230,230) #E6E6E6 rgb(230,230,230)
    231: (231,231,231) #E7E7E7 rgb(231,231,231)
    232: (232,232,232) #E8E8E8 grey91
    233: (233,233,233) #E9E9E9 rgb(233,233,233)
    234: (234,234,234) #EAEAEA rgb(234,234,234)
    235: (235,235,235) #EBEBEB grey92
    236: (236,236,236) #ECECEC rgb(236,236,236)
    237: (237,237,237) #EDEDED grey93
    238: (238,238,238) #EEEEEE rgb(238,238,238)
    239: (239,239,239) #EFEFEF rgb(239,239,239)
    240: (240,240,240) #F0F0F0 grey94
    241: (241,241,241) #F1F1F1 rgb(241,241,241)
    242: (242,242,242) #F2F2F2 grey95
    243: (243,243,243) #F3F3F3 rgb(243,243,243)
    244: (244,244,244) #F4F4F4 rgb(244,244,244)
    245: (245,245,245) #F5F5F5 grey96
    246: (246,246,246) #F6F6F6 rgb(246,246,246)
    247: (247,247,247) #F7F7F7 grey97
    248: (248,248,248) #F8F8F8 rgb(248,248,248)
    249: (249,249,249) #F9F9F9 rgb(249,249,249)
    250: (250,250,250) #FAFAFA grey98
    251: (251,251,251) #FBFBFB rgb(251,251,251)
    252: (252,252,252) #FCFCFC grey99
    253: (253,253,253) #FDFDFD rgb(253,253,253)
    254: (254,254,254) #FEFEFE rgb(254,254,254)
    255: (255,255,255) #FFFFFF white
    Rendering intent: Undefined
    Interlace: None
    Background color: white
    Border color: rgb(223,223,223)
    Matte color: grey74
    Transparent color: black
    Compose: Over
    Page geometry: 56693x11811+0+0
    Dispose: Undefined
    Iterations: 0
    Compression: Undefined
    Orientation: TopLeft
    Properties:
    date:create: 2010-03-19T13:34:09-04:00
    date:modify: 2010-03-19T13:34:09-04: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;03B4723609C98DD9AB084D9BC489B233
    exif:PixelXDimension: 56693
    exif:PixelYDimension: 11811
    photoshop:ColorMode: 1
    photoshop:History:
    photoshop:ICCProfile: Dot Gain 20%
    signature: fcdf6c9a92ea878166ab64b25322730eb7f0fa5323e4329f3a51fe58393b23a2
    stRef:documentID: adobe:docid:photoshop:6d097256-218e-11df-8e82-cb79c0aa978c
    stRef:instanceID: uuid:CBCC8D6BB0E6DE11906AC0BE0925E59F
    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;BD0852B9792AD92F54431BE356AEA064
    xap:CreateDate: 2010-03-18T14:31:30Z
    xap:CreatorTool: Adobe Photoshop CS2 Windows
    xap:MetadataDate: 2010-03-18T14:31:30Z
    xap:ModifyDate: 2010-03-18T14:31:30Z
    xapMM:DocumentID: uuid:76C2B0F19A32DF11B41CC0CA03DF056A
    xapMM:InstanceID: uuid:77C2B0F19A32DF11B41CC0CA03DF056A
    Profiles:
    Profile-8bim: 20628 bytes
    Profile-exif: 302 bytes
    Profile-icc: 912 bytes
    Profile-iptc: 7 bytes
    unknown[2,0]:
    Profile-xmp: 15023 bytes
    Artifacts:
    verbose: true
    Tainted: False
    Filesize: 243.4MB
    Number pixels: 669.6M
    Pixels per second: 16.01M
    User time: 47.590u
    Elapsed time: 0:42.830
    Version: ImageMagick 6.6.0-8 2010-03-19 Q16 http://www.imagemagick.org
HardArt

Re: Complete dummy NOT converting large format psb to bmp

Post by HardArt »

Hello Magick.

Did you get a chance to look at the download?

My problem is is that I need to run a full size file thru another program that converts it into a 1bit bmp after making various adjustments uniformly across the the file, and then i need to split the file into 3 equal sections. Problem is if I send the file into the adjustment program and then upscale it will distort the end result.

What is the largest size of bmp imagemagick can create?

Can I do something like increase my memory or some how dummy it into using the harddrive as memory?

What if I convert a smaller photoshop file to a bmp and then scale up the bmp to full size, before I process it thru the other program would that work?
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Complete dummy NOT converting large format psb to bmp

Post by magick »

We can convert the image to BMP but our system has 144GB of memory. You would probably need about 4 GB of memory to convert the image with the Q8 version of ImageMagick to BMP.

Reducing the size of the image and then scaling up is not recommended because you lose information when you scale down.

We recommend converting the image first to some intermediate format such as PNG, TIFF, or JPEG and then converting that to BMP. That of course will only work if you find a utility that only loads a scanline of the image at a time rather than loading the entire image in memory.
HardArt

Re: Complete dummy NOT converting large format psb to bmp

Post by HardArt »

Thankx again Magick

I don't know how I missed the fact that you had done an analysis of the file. Are those smilies supposed to be there?
Presumable the file was good as you haven't said otherwise.

I have a PC here that is running windows vista, has a Intel Core2 Duo cpu E7400 @2.8GHz , 2800MH\z, It has 3GB RAM.
Total Physical Memory is 2.99GB
Available physical memory 2.36GB
Total Viurtual Memory 6.21 GB
Available Virtual memory 5.36GB
Page File space 3.28GB
What would I need to do to upgrade it to run the file thru imagemagick


Will have availability of a pc with following spec next weeksometime

Processor Intel® Core™2 Quad Processor Q8300 - 2.5 GHz - 1333 MHz FSB - 4 MB L2 cache
Operating System Genuine Windows® 7 Home Premium
RAM 4 GB
Graphics card NVIDIA GeForce 7100 integrated graphics processor
Screen type None
Hard drive 640 GB
What would I need to do to run it on this pc if the file was 50% bigger in length (same height) ? -


Pretty sure the verion of imagemagick i'm using now is 6.6 (ImageMagick-6.6.0-6-Q16-windows-dll.exe file) How would I go about getting theQ8 version, will I need visual studio?

From what I understand the file originates from an image that is 38.4"x8" at 300ppi and has been scaled up in photoshop.
If I get hold of that file will that help things, bearing in mind that I need to process it thru the other program at full size.
If I can get this smaller file size going this weekend it would really help as I have seriousy messed up on this (i'm about a weekbehind schedule as I am)
magick wrote:That of course will only work if you find a utility that only loads a scanline of the image at a time rather than loading the entire image in memory.
Are you aware of any utilities that do this?

Again Magick I really appreciate your inputand patience, thank you.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Complete dummy NOT converting large format psb to bmp

Post by fmw42 »

I don't know how I missed the fact that you had done an analysis of the file. Are those smilies supposed to be there?
Presumable the file was good as you haven't said otherwise.
That smiley occurs because the text is an 8 followed immediately by a right paren. If it was 8 ) with a space, then the smiley would not show.

Here is the 8 followed by the right paren as typed, but shows as the smiley 8)
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Complete dummy NOT converting large format psb to bmp

Post by magick »

We have found over the years that almost all ImageMagick commands that fail under Windows works just fine under Linux.

Otherwise we do not have any other specific recommendations.
HardArt

Re: Complete dummy NOT converting large format psb to bmp

Post by HardArt »

OK Magick, I'll do anything

I have a pc here with Fedora set up on it, its a fairly old one have no idea how much ram it has but if I get that going would I need loads of memory or could i use the hard drive to doit, and if so could I usea usb harddriveto gain extra capacity?

Or do I need to go and pickup a pc inthe morning and set it up with Fedora and some other programs?

I see from start up it is redhat, Fedora 2.16.18-1.2798.fc6, but i do not have a password currently so am going to have to figure out how to reset. Maybe easier just overwriting the hard drive.

Magick any advice please because I have to do whatever I can to sort my problem out

Thx
jmagyari
Posts: 22
Joined: 2010-01-19T18:09:32-07:00
Authentication code: 8675309

Re: Complete dummy NOT converting large format psb to bmp

Post by jmagyari »

Using CS4Photoshop

I created 2 files
a) 85,000 x 12,000 pixels 1pixel/inch
b) 85,039 x 11,811 1pixel/inch


Photoshop CS4
would only save in these formats
a) Tiff
b) Photoshop Raw
c) Large Document Format

You are probably trying to save to BMP outside it's range limits.

If this is the case a better error message might be BMP dimension limits are X by Y which this file exceeds.

IF CS4Photoshop can not save with these dimensions I would not think Imagemagick would NOT be able to save as well, useless CS4 has a bug in it's range checking.
HardArt

Re: Complete dummy NOT converting large format psb to bmp

Post by HardArt »

Jmagyari
Photoshop moves to a large format file when pixels in x or y direction are 30,000 or more. So you could do a file 29,999 x 29,999 and save it as whatever u want, any larger and you are limited to the 3 file formats.
Image has been made in Photoshop but in a smaller scale which can be saved as a bmp, and was then enlarged in photoshop to full size.
My understanding is that there is no real limit to a size of a bmp other than practicality- could be wrong about this.


Is it worth trying to enlarge file from a smaller bmp using imagemagick - or would same problem occure?

Any possible solutions will be tried - at the moment trying to hack password to get onto pc with fedora loaded.

Thx again all
Post Reply