如何在命令行上使用gifsicle压缩图像gif?
这是original_image.gif
http://image.free.in.th/v/2013/is/151220085732.gif
这个original_image.gif信息使用代码
gifsicle -I "#0" "#3" < ./public_html/original_image.gif
信息
gifsicle: frame '#3' out of range, image has 1 frames
* <stdin> 1 image
logical screen 1278x712
global color table [256]
background 255
+ image #0 1278x712 transparent 255
comment Created with GIMP
delay 0.20s
这是original_image.gif大小代码
du -sch ./public_html/original_image.gif
大小
372K total
和这个new_image.gif
http://image.free.in.th/v/2013/ii/151220085641.gif
这个new_image.gif信息使用代码
gifsicle -I "#0" "#3" < ./public_html/new_image.gif
信息
gifsicle: frame '#3' out of range, image has 1 frames
* <stdin> 1 image
logical screen 1278x712
global color table [256]
background 242
+ image #0 1278x712 transparent 242
comment Created with GIMP
disposal asis delay 0.20s
这是original_image.gif大小代码
du -sch ./public_html/new_image.gif
大小
152K total
我尝试使用此代码(command line linux putty
)将original_image.gif压缩为new_image.gif
gifsicle -b --colors=32 --scale 1.0 --use-col=web ./public_html/giphy.gif
我的图像效果不好
http://image.free.in.th/v/2013/is/151220091120.gif
信息
gifsicle: frame '#3' out of range, image has 1 frames
* <stdin> 1 image
logical screen 1278x712
global color table [32]
background 1
+ image #0 1278x712 transparent 1
comment Created with GIMP
delay 0.20s
大小
92K total
如何才能获得最佳图像压缩效果,例如new_image.gif
?