I thought that -clip took the clip path from the clipping path xml data and -clip-path ID took it from the 8bim profile. I did the following tests.
convert 1.psd -alpha transparent -clip -alpha opaque miff:- | convert - -background white -flatten 1test8.png
convert 1.psd +profile "8bim" -alpha transparent -clip -alpha opaque miff:- | convert - -background white -flatten 1test9.png
convert: no clip path defined `1.psd': No such file or directory @ error/image.c/ClipImagePath/716.
However I then looked at the verbose info after removing the profile and it removed the clipping path XML data, but left the 8bim profile. So I am certainly confused about this.
Code: Select all
Clipping path:
<?xml version="1.0" encoding="iso-8859-1"?>
<svg width="1772" height="831">
<g>
<path style="fill:#00000000;stroke:#00000000;stroke-width:0;stroke-antialiasing:false" d="
M 1508.33,704.833
C 1508.33,704.833 1460.5,705 1453.5,705
C 1446.5,705 1445,705.5 1441.5,706
C 1438,706.5 1436,704.5 1427.5,704.5
C 1419,704.5 1389,703.5 1382.5,703.5
C 1376,703.5 1362,703 1350.5,703
C 1339,703 1162,701.5 1124,702
C 1086,702.5 935.5,703 890,703
C 844.5,703 647.5,704.5 604,704.5
C 560.5,704.5 357.5,704 340.5,705.5
C 323.5,707 285.5,707 285.5,707
C 285.5,707 271,706.5 262.5,706
C 259.398,705.818 252.169,705.401 243.813,705.581
C 229.273,705.895 212.667,706.25 212.667,706.25
L 211.333,793.333
C 211.333,793.333 215.25,802.5 189,802.25
C 170.249,802.071 165.333,796 165.333,793.333
C 165.333,790.667 166.333,706.333 166.333,706.333
C 166.333,706.333 136.5,706.5 124.5,706.5
C 112.5,706.5 102,707.5 99.9999,708
C 97.9999,708.5 86,711 85,701
C 84.5506,696.506 83.2983,682.321 82.5155,665.022
C 81.5561,643.823 81.0506,617.947 80.5,599.5
C 79.5,566 78.5,492.5 77.4999,447
C 76.4999,401.5 75.4999,356.5 75.4999,342.5
C 75.4999,328.5 77.4999,325 85,314
C 92.4999,303 109,283 114.5,277.5
C 120,272 119,271 124.5,266.5
C 130,262 135.5,254.5 138.5,252.5
C 141.5,250.5 147,245 150,240.5
C 153,236 162,227.5 173,224.5
C 184,221.5 192.5,219.5 204,219.5
C 215.5,219.5 264,220 264,220
L 270.5,219.5
C 270.5,219.5 271.5,208.5 270,194
C 268.5,179.5 267.5,167 269.5,148.5
C 271.5,130 272.5,120.5 277.5,112.5
C 282.5,104.5 291,98.5 294.5,98
C 298,97.5 300.5,96.5 303,97
C 305.5,97.5 307.5,97.5 310.5,95.5
C 313.5,93.5 317,92.5 338,92
C 345.503,91.8213 363.536,91.398 384.508,91.5703
C 422.234,91.8803 469.467,93 482,93
C 501.5,93 568,93 594,94.5
C 620,96 707.5,98 745,98.5
C 782.5,99 822.5,99 836.5,101.5
C 850.5,104 859.5,107 862,116
C 864.5,125 865,136.5 865,136.5
C 865,136.5 868,133 868.5,128
C 869,123 872.5,114 878,110.5
C 883.5,107 888.5,104.5 898,104
C 907.5,103.5 1012.5,102.5 1032.5,102.5
C 1052.5,102.5 1115.5,99.5 1158.5,100
C 1201.5,100.5 1255,101.5 1294,101.5
C 1333,101.5 1361.5,105 1375.5,105
C 1389.5,105 1419,105.5 1427,108.5
C 1435,111.5 1442.5,117.5 1446,128.5
C 1449.5,139.5 1449.5,142.5 1450.5,148.5
C 1451.5,154.5 1452.5,159.5 1454,166
C 1455.5,172.5 1455.5,180.5 1454.5,186
C 1453.5,191.5 1454,203 1455,208.5
C 1456,214 1453.75,220 1453.75,220
L 1454,223
C 1454,223 1506,223 1516,224
C 1526,225 1537,228.5 1543,233
C 1549,237.5 1551.5,241 1557.5,244.5
C 1563.5,248 1572,255 1586,268
C 1600,281 1609.5,287 1613,290.5
C 1616.5,294 1623.5,304 1629.5,308.5
C 1635.5,313 1648,328 1649,335.5
C 1649.36,338.224 1650,333.541 1649.39,353.527
C 1648.33,388.577 1645.5,457.984 1645.5,479
C 1645.5,512 1643.5,549.5 1643,568.5
C 1642.5,587.5 1643,610 1642.5,634.5
C 1642,659 1639.5,698.5 1639.5,698.5
C 1639.5,698.5 1640,709.5 1629.5,708.5
C 1625.22,708.092 1616.29,707.268 1606.5,707.026
C 1592.27,706.675 1576.22,707 1570,707
C 1559.5,707 1555,706.25 1555,706.25
L 1553.25,795.25
C 1553.25,795.25 1548.75,800.25 1530,800.25
C 1511.25,800.25 1507.5,791.75 1507.5,791.75
"/>
</g>
</svg>
Profiles:
Profile-8bim: 36664 bytes
I am not sure what 600 bytes of the 8bim originally 36664 bytes is left. But it seems to have removed both the XML data and most of the relevant 8bim profile.