Themsen/PD4: Difference between revisions
No edit summary |
No edit summary |
||
(19 intermediate revisions by the same user not shown) | |||
Line 6: | Line 6: | ||
$ montage -background '#336699' -geometry +4+4 gif2.gif gif9.gif montage.gif | $ montage -background '#336699' -geometry +4+4 gif2.gif gif9.gif montage.gif | ||
[[file:2.gif]] | [[file:2.gif|350px]] | ||
[[file:gif9.gif]] | [[file:gif9.gif|350px]] | ||
[[file:montage.gif]] | [[file:montage.gif|500px]] | ||
Resize, Crop, Montage: | Resize, Crop, Montage: | ||
http://www.theducpond.com/images/blog/030920-mushroom.jpg</ | |||
$ mogrify -resize 100x100 030920-mushroom.jpg | $ mogrify -resize 100x100 030920-mushroom.jpg | ||
[[file:mushroom100.jpg]] | [[file:030920-mushroom.jpg|350px]] | ||
$ convert mushroom100.jpg -crop 1x1 tile%04d.png | |||
[[file:Screen Shot 2015-04-19 at 22.43.45.png|500px]] | |||
$ montage -background '#000000' -geometry +4+4 *.png montage.jpg | |||
[[file:montage1.jpg|500px]] | |||
Decrease padding between tiles | |||
$ montage -background '#000000' -geometry +1+1 *.png montage.jpg | |||
[[file:montage1.gif|500px]] | |||
Convert all the tiles of the 1x1 cropped image into a 1x1 gif | |||
convert tile*.png slide.gif | |||
convert -delay 2 -dispose background -page +0+0 tile*.png slide.gif | |||
Video of grid of 1x1 gifs created in Adobe Premier: [http://youtu.be/jkZDR1TwNSs] (skipe to 0:33) |
Latest revision as of 07:30, 28 April 2015
Experiments with Python
ImageMagick
Montage:
$ montage -background '#336699' -geometry +4+4 gif2.gif gif9.gif montage.gif
Resize, Crop, Montage:
</
$ mogrify -resize 100x100 030920-mushroom.jpg
$ convert mushroom100.jpg -crop 1x1 tile%04d.png
$ montage -background '#000000' -geometry +4+4 *.png montage.jpg
Decrease padding between tiles
$ montage -background '#000000' -geometry +1+1 *.png montage.jpg
Convert all the tiles of the 1x1 cropped image into a 1x1 gif
convert tile*.png slide.gif convert -delay 2 -dispose background -page +0+0 tile*.png slide.gif
Video of grid of 1x1 gifs created in Adobe Premier: [1] (skipe to 0:33)