image_magick_recipes
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
| — | image_magick_recipes [2012/06/11 16:42] (current) – created tkbletsc | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | Rotating hue animation: | ||
| + | < | ||
| + | STEP=20 | ||
| + | DELAY=15 | ||
| + | echo Hue-shifting images in parallel... | ||
| + | for R in `seq -w 0 $STEP 200` ; do | ||
| + | (convert $1 -modulate 100,100,$R TEMP_$R.png ; echo Shift $R done) & | ||
| + | done | ||
| + | echo Waiting for jobs to finish... | ||
| + | wait | ||
| + | echo Jobs done, rendering animation... | ||
| + | convert -delay $DELAY -loop 0 TEMP_*.png $2 | ||
| + | rm TEMP_*.png | ||
| + | </ | ||
| + | " | ||
| + | convert in.gif -despeckle -edge 2 -channel G -function Polynomial 1,0 | ||
| + | convert in.gif -colorspace gray | ||
| + | convert fg.gif null: bg.gif -compose lighten -layers Composite out.gif | ||
| + | |||
| + | Greenify mode (light-on-dark stuff) | ||
| + | convert in.gif -colorspace gray | ||
| + | |||
| + | Inverse greenify mode (dark-on-light stuff) | ||
| + | convert in.gif -colorspace gray | ||
image_magick_recipes.txt · Last modified: by tkbletsc
