mergelsf不是根据lsf的路径,而是在目前文件夹下找相关的图
所以要先进入lsf和图所在的文件夹内再运行mergelsf
还有mergelsf对负坐标的处理有问题
输出负坐标时多了一个+
如-4时输的是+-4
ImageMagick不会报错,跳过+-4,将坐标设0
b_miyu1_d和lily3_b就有这个问题
正确的指令
引用:
convert -background transparent rose: ( -set label 255_0_01 -page +1-4 b_miyu1_d_001.png -mosaic ) ( -set label 255_1_01 -page +423+375 b_miyu1_d_002.png -mosaic ) ( -set label 255_1_02 -page +420+394 b_miyu1_d_003.png -mosaic ) ( -set label 255_1_03 -page +420+394 b_miyu1_d_004.png -mosaic ) ( -set label 255_1_04 -page +426+380 b_miyu1_d_005.png -mosaic ) ( -set label 255_1_05 -page +421+380 b_miyu1_d_006.png -mosaic ) ( -set label 255_1_06 -page +421+391 b_miyu1_d_007.png -mosaic ) ( -set label 255_1_07 -page +421+391 b_miyu1_d_008.png -mosaic ) ( -set label 255_1_08 -page +423+375 b_miyu1_d_009.png -mosaic ) ( -set label 255_1_09 -page +421+375 b_miyu1_d_010.png -mosaic ) ( -set label 255_1_10 -page +426+372 b_miyu1_d_011.png -mosaic ) ( -set label 255_1_11 -page +421+391 b_miyu1_d_012.png -mosaic ) -extent 784x933 b_miyu1_d.psd
引用:
convert -background transparent rose: ( -set label 255_0_01 -page +0+9 lily3_b_001.png -mosaic ) ( -set label 255_1_01 -page +155+74 lily3_b_003.png -mosaic ) ( -set label 255_1_02 -page +155+74 lily3_b_004.png -mosaic ) ( -set label 255_1_03 -page +155+74 lily3_b_005.png -mosaic ) ( -set label 255_1_04 -page +154+84 lily3_b_006.png -mosaic ) ( -set label 255_1_05 -page +154+84 lily3_b_007.png -mosaic ) ( -set label 255_1_06 -page +156+83 lily3_b_008.png -mosaic ) ( -set label 255_1_07 -page +156+83 lily3_b_009.png -mosaic ) ( -set label 255_1_08 -page +160+90 lily3_b_010.png -mosaic ) ( -set label 255_1_09 -page +160+90 lily3_b_011.png -mosaic ) ( -set label 255_1_10 -page +158+83 lily3_b_012.png -mosaic ) ( -set label 255_1_11 -page +158+83 lily3_b_013.png -mosaic ) ( -set label 255_1_12 -page +156+82 lily3_b_014.png -mosaic ) ( -set label 255_1_13 -page +156+82 lily3_b_015.png -mosaic ) ( -set label 255_1_14 -page +155+74 lily3_b_016.png -mosaic ) ( -set label 255_1_15 -page +162+91 lily3_b_017.png -mosaic ) ( -set label 255_1_16 -page +154+71 lily3_b_018.png -mosaic ) ( -set label 255_1_17 -page +154+71 lily3_b_019.png -mosaic ) ( -set label 255_1_18 -page +151+74 lily3_b_020.png -mosaic ) ( -set label 255_1_19 -page +151+74 lily3_b_021.png -mosaic ) ( -set label 255_1_20 -page +156+83 lily3_b_022.png -mosaic ) ( -set label 255_2_01 -page +93-1 lily3_b_002.png -mosaic ) -extent 729x739 lily3_b.psd