1枚の画像から震えるボタンを作成する

1枚の画像から震えるボタンを作成する

 
convert -coalesce -delay 0 -loop 0 -deconstruct \
\( -geometry 48x48 -roll +1+0 ほげ.jpg \) \
\( -geometry 48x48 ほげ.jpg \) ほげほげ.gif

 

 
 
convert -coalesce -delay 0 -loop 0 -deconstruct \
\( -geometry 48x48 -roll +2+2 ほげ.jpg \) \
\( -geometry 48x48 ほげ.jpg \) ほげほげ.gif

 

 
 
convert -coalesce -delay 25 -loop 0 -deconstruct \
\( -geometry 48x48 -roll +0+3 ほげ.jpg \) \
\( -geometry 48x48 ほげ.jpg \) ほげほげ.gif

 

 
 

アニメーションGIFを1枚ずつの画像に分割する

convert ソース画像 +adjoin new画像
 
 

複数の画像からアニメーションGIFを生成する

convert -delay [sec] -loop 0 ほげ*.jpg [out]
 

 

 

特定の色を置換する

convert -fill '置換後の色' -opaque '置換対象の色' 変換前画像ファイル 変換後ファイル名

convert -fuzz 50% -fill '#00ff00' -opaque '置換後の色' 元画像 new画像


 

 

アニメーションgifのりサイズ

convert 元画像.gif -coalesce -scale 50% -deconstruct new画像.gif

convert 元画像.gif -coalesce -resize 250 -deconstruct new画像.gif


 

 
 

コメントは受け付けていません。