Tuesday, August 23, 2011

Fill pictures to a new size

Sometimes it is usefull to fill pictures without scaling them.
For this i create a file names "white.jpg" which is the backround,
and adding with imagepagick the files over it.
The pictures then stored in /gross

for i in *.jpg ; do convert -composite white.jpg $i gross/$i ; done

No comments:

Post a Comment