script like this:
Code: Select all
convert -sample 10x10 a.jpg b.jpg
Another way of saying is
10x10 b.jpg is filled into 30x10 image,other part is fill with white color.

Code: Select all
convert -sample 10x10 a.jpg b.jpg
Code: Select all
convert a.jpg -sample 10x10 b.jpg
Code: Select all
convert a.jpg -sample 30x10\! b.jpg
Code: Select all
convert a.jpg -resize 30x10\! b.jpg
thank you...anthony wrote:Sharpen is done after all other actions in the second.
In the first it is done before.
However again read your image in BEFORE applying an operator on it.
It works now, but IMv7 will produce a 'no image for operation' type error.
sharpen has arguments radiusxsigmaconvert a.jpg -resize 480x296 -gravity center -fill white -extent 480x360 -strip -sharpen 0.3 -quality 90% result_b.jpg