Polaroid-like Thumbnails
Posted: 2010-01-14T19:53:41-07:00
Hello!
I try to do the examle "Polaroid-like Thumbnails"
http://www.imagemagick.org/Usage/thumbnails/
The original script is:
and the converted script (for "DOS"/Windows) was
But it doesn't work - I got the following error message:
Maybe the problem is I don't know to translate the "Grave accent" ` or
the problem is to translate the "Square brackets" [] or....
//Jan
I try to do the examle "Polaroid-like Thumbnails"
http://www.imagemagick.org/Usage/thumbnails/
The original script is:
Code: Select all
convert thumbnail.gif \
-bordercolor white -border 6 \
-bordercolor grey60 -border 1 \
-bordercolor none -background none \
\( -clone 0 -rotate `convert null: -format '%[fx:rand()*30-15]' info:` \) \
\( -clone 0 -rotate `convert null: -format '%[fx:rand()*30-15]' info:` \) \
\( -clone 0 -rotate `convert null: -format '%[fx:rand()*30-15]' info:` \) \
\( -clone 0 -rotate `convert null: -format '%[fx:rand()*30-15]' info:` \) \
-delete 0 -border 100x80 -gravity center \
-crop 200x160+0+0 +repage -flatten -trim +repage \
-background black \( +clone -shadow 60x4+4+4 \) +swap \
-background none -flatten \
poloroid_stack.png
Code: Select all
convert thumbnail.gif ^
-bordercolor white -border 6 ^
-bordercolor grey60 -border 1 ^
-bordercolor none -background none ^
( -clone 0 -rotate `convert null: -format "%%[fx:rand()*30-15]" info:` ) ^
( -clone 0 -rotate `convert null: -format "%%[fx:rand()*30-15]" info:` ) ^
( -clone 0 -rotate `convert null: -format "%%[fx:rand()*30-15]" info:` ) ^
( -clone 0 -rotate `convert null: -format "%%[fx:rand()*30-15]" info:` ) ^
-delete 0 -border 100x80 -gravity center ^
-crop 200x160+0+0 +repage -flatten -trim +repage ^
-background black ( +clone -shadow 60x4+4+4 ) +swap ^
-background none -flatten ^
poloroid_stack.png
Code: Select all
convert: invalid argument for option '-rotate': 'convert @ convert.c/Convert eCommand/2238.
the problem is to translate the "Square brackets" [] or....
//Jan