[magick-users] about platte

ZHOU Xiao-bo zhxb.ustc at gmail.com
Tue Oct 27 04:44:42 PDT 2009


hi:

    I found that when I resize and quantize a gif such as

                 "http://img1.cache.netease.com/img09/logo/logo.gif"

    using "convert logo.gif -resize 160x46 -colors 16 out.gif", I got a
    gif with bad quality.

     But if I use "convert logo.gif -resize 160x46 tmp,gif"; and then
     "convert tmp.gif -colors 16 out.gif", the quality is much better.

      I think it's because the platte has been changed when resizing.
      I found that platte of 'tmp.gif'  is much larger than that of
logo.gif.
      So, how can I get the better output image in c++ code?
       thanks a lot.
                                    ZHOU Xiaobo


More information about the Magick-users mailing list