Re: montage problem
Posted: 2016-03-23T09:02:34-07:00
You can crop the image data (not from the displayed image). See http://www.imagemagick.org/Usage/crop/#crop and http://www.imagemagick.org/script/comma ... s.php#crop
Use https://github.com/ImageMagick/ImageMagick/discussions instead.
https://imagemagick.com/discourse-server/
https://imagemagick.com/discourse-server/viewtopic.php?t=29195
Code: Select all
C:\Users\Work>convert 4.jpg: -crop 23x27+89+77 crop.jpg
convert.exe: unable to open module file `C:\Program Files\ImageMagick-6.9.3-Q16\
modules\coders\IM_MOD_RL_4.JPG_.dll': No such file or directory @ warning/module
.c/GetMagickModulePath/674.
convert.exe: no decode delegate for this image format `4.JPG' @ error/constitute
.c/ReadImage/501.
convert.exe: no images defined `crop.jpg' @ error/convert.c/ConvertImageCommand/
3241.
Why do you have a colon? Try:C:\Users\Work>convert 4.jpg: -crop ...
Code: Select all
convert 4.jpg -crop ...
The colon is the problem. Only IM internal images such as logo: and rose: use colons. tryconvert 4.jpg: -crop 23x27+89+77 crop.jpg
Code: Select all
convert 4.jpg -crop 23x27+89+77 +repage crop.jpg
Code: Select all
convert image -resize WxH newimage
Code: Select all
convert image -bordercolor somecolor -border X newimage