Dear Niu Biren:
old version :
Version: ImageMagick 6.2.8 05/07/12 Q16 file:/usr/share/ImageMagick-6.2.8/doc/index.html
convert lengtu.gif -coalesce -bordercolor none -border 0 -sample '200x200' -layers Optimize lengtu_old.gif
works well
new version:
Version: ImageMagick 6.9.1-1 Q16 x86_64 2015-04-14 http://www.imagemagick.org
/usr/local/ImageMagick/bin/convert lengtu.gif -coalesce -bordercolor none -border 0 -sample '200x200' -layers Optimize lengtu_new.gif
works not well
why ?How to deal?
why the newer version command works not well ?
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: why the newer version command works not well ?
Insert "-background None" before "-coalesce".
Code: Select all
convert lengtu.gif -background None -coalesce -bordercolor None -border 0 -sample 200x200 -layers Optimize lengtu_new.gif
snibgo's IM pages: im.snibgo.com
Re: why the newer version command works not well ?
Thanks very much。snibgo wrote:Insert "-background None" before "-coalesce".Code: Select all
convert lengtu.gif -background None -coalesce -bordercolor None -border 0 -sample 200x200 -layers Optimize lengtu_new.gif
Re: why the newer version command works not well ?
I use phpzxsz4084 wrote:Thanks very much。snibgo wrote:Insert "-background None" before "-coalesce".Code: Select all
convert lengtu.gif -background None -coalesce -bordercolor None -border 0 -sample 200x200 -layers Optimize lengtu_new.gif
if I use "$_FILES['file']['tmp_name']" as pic source ,it works not well
/usr/local/ImageMagick/bin/convert /tmp/phpECumC5 -background none -coalesce -bordercolor none -border 0 -sample '200x200' -layers Optimize /mnt/i/live/2015/04/16/19/1001v1429184079887116990_s.gif
if read "$_FILES['file']['tmp_name']" and write to another tmp dir like "/da0/logs/tmpPic/xxx.tmp",and use xxx.tmp as source, it works well.
/usr/local/ImageMagick/bin/convert /da0/logs/tmpPic/1429184786930266308.tmp -background none -coalesce -bordercolor none -border 0 -sample '200x200' -layers Optimize /mnt/i/live/2015/04/16/19/1001v1429184786929984933_s.gif
old version works well both "/tmp/xxxx" and "/da0/logs/tmpPic/xxx.tmp"
So I am very eggache... Have you see problems like this ?
Re: why the newer version command works not well ?
maybe it still works not well sometimes。
the orignal pic:
new version command: works not well
-bash-3.2$ /usr/local/ImageMagick/bin/convert tuzi3.gif -background none -coalesce -bordercolor none -border 0 -sample '200x200' -layers Optimize tuzi3_new.gif
old version command: works well
-bash-3.2$ convert tuzi3.gif -coalesce -bordercolor none -border 0 -sample '200x200' -layers Optimize tuzi3_old.gif
convert: geometry does not contain image `tuzi3.gif'.
-bash-3.2$ ll tuzi3*
-rw-r--r-- 1 www www 39769 Apr 17 15:17 tuzi3.gif
-rw-r--r-- 1 www www 45027 Apr 17 15:26 tuzi3_new.gif
-rw-r--r-- 1 www www 41655 Apr 17 15:26 tuzi3_old.gif
the orignal pic:
new version command: works not well
-bash-3.2$ /usr/local/ImageMagick/bin/convert tuzi3.gif -background none -coalesce -bordercolor none -border 0 -sample '200x200' -layers Optimize tuzi3_new.gif
old version command: works well
-bash-3.2$ convert tuzi3.gif -coalesce -bordercolor none -border 0 -sample '200x200' -layers Optimize tuzi3_old.gif
convert: geometry does not contain image `tuzi3.gif'.
-bash-3.2$ ll tuzi3*
-rw-r--r-- 1 www www 39769 Apr 17 15:17 tuzi3.gif
-rw-r--r-- 1 www www 45027 Apr 17 15:26 tuzi3_new.gif
-rw-r--r-- 1 www www 41655 Apr 17 15:26 tuzi3_old.gif
Re: why the newer version command works not well ?
We will investigate this problem soon and report back. Stand by...
Re: why the newer version command works not well ?
Dear admin:magick wrote:We will investigate this problem soon and report back. Stand by...
I am waiting for your coming back soon ...
Re: why the newer version command works not well ?
Its on our list of problems to fix. We do not yet have an ETA on the solution.