Crop Label width
Posted: 2016-11-24T01:38:48-07:00
I want to crop the label / text width in this command:
convert -background none -bordercolor none -gravity west
1.png label:"1" +swap -append label:"text 1" -append -write miff:- +delete
2.png label:"2" +swap -append label:"text 2" -append -write miff:- +delete
3.png label:"3" +swap -append label:"text 3" -append -write miff:- +delete
4.png label:"4" +swap -append label:"text 4" -append -write miff:- +delete
5.png label:"5" +swap -append label:"text 5" -append -write miff:- +delete
6.png label:"6" +swap -append label:"text 6" -append miff:- | montage -set label "" miff:-
-background pink -tile 3x2 -geometry +15+5 result.png
the command creates me an image nearly like this one: https://i.stack.imgur.com/uipMc.png
convert -background none -bordercolor none -gravity west
1.png label:"1" +swap -append label:"text 1" -append -write miff:- +delete
2.png label:"2" +swap -append label:"text 2" -append -write miff:- +delete
3.png label:"3" +swap -append label:"text 3" -append -write miff:- +delete
4.png label:"4" +swap -append label:"text 4" -append -write miff:- +delete
5.png label:"5" +swap -append label:"text 5" -append -write miff:- +delete
6.png label:"6" +swap -append label:"text 6" -append miff:- | montage -set label "" miff:-
-background pink -tile 3x2 -geometry +15+5 result.png
the command creates me an image nearly like this one: https://i.stack.imgur.com/uipMc.png