PNG size become bigger when after thumbnail the png

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
needkane
Posts: 47
Joined: 2014-09-11T02:19:30-07:00
Authentication code: 6789

Re: PNG size become bigger when after thumbnail the png

Post by needkane »

snibgo wrote:See http://www.imagemagick.org/script/architecture.php

Q8 uses half the memory of Q16.
Image :http://s3-us-west-2.amazonaws.com/qiniu-bs/2.png
Type :Palette2

If use command:
convert 2.png -thumbnail 400x b.png //size bigger than origin

But use command like you :
convert 2.png -thumbnail 400x -colors 2 -type Palette b.png
or
convert 2.png -thumbnail 400x -colors 1 -type Palette b.png

The result only one color and Opaque
needkane
Posts: 47
Joined: 2014-09-11T02:19:30-07:00
Authentication code: 6789

Re: PNG size become bigger when after thumbnail the png

Post by needkane »

needkane wrote:
snibgo wrote:See http://www.imagemagick.org/script/architecture.php

Q8 uses half the memory of Q16.
Image :http://s3-us-west-2.amazonaws.com/qiniu-bs/2.png
Type :Palette2

If use command:
convert 2.png -thumbnail 400x b.png //size bigger than origin

But use command like you :
convert 2.png -thumbnail 400x -colors 2 -type Palette b.png
or
convert 2.png -thumbnail 400x -colors 1 -type Palette b.png

The result only one color and Opaque

thank you again,i know the answer
-alpha on
Post Reply