How to add a solid border to all images?
Question: I have about a hundred images of different sizes. I
would like to have them all about the same size and to add a solid 10
pixels border.
Answer: Try to use the following command line.
Example:
ICPCL.exe -convertto tiff -source "C:\Source\*.*" -dest "C:\out" -oper Canvas width:10 height:10 mode:add_border anchor:center color:"r:0,g:0,b:0,a:0"
Images will be proportionally stretched or shrinked to 300x300 pixels
using bilinear method and a light gray 10 pixels border will be added.
Files will have the same names as the original ones. If you don't know
how to find out numeric color code, read this
section.