Search found 47 matches

by needkane
2015-03-17T00:49:16-07:00
Forum: Bugs
Topic: Colors Error
Replies: 6
Views: 5453

Re: Colors Error

So ,i think we need add alpha on not off Have you tried it? For me, IM v6.9.0-0, "-alpha on" does not work. "-alpha off" does work. 1、why this is success convert bigger.png -thumbnail 450x -colors 256 -type Palette a.png //notice :the same image,only thumbnail different It works...
by needkane
2015-03-16T22:51:58-07:00
Forum: Bugs
Topic: Colors Error
Replies: 6
Views: 5453

Re: Colors Error

I think the problem is that the total number of opaque colours plus the number of (semi-)transparent pixels must be <= 256. "-alpha off" will ensure there are no (semi-)transparent pixels. convert bigger.png -thumbnail 500x -alpha off -colors 256 -type palette a.png 1、 why this is success...
by needkane
2015-03-16T20:04:01-07:00
Forum: Bugs
Topic: ImageMagick deal with gif,has limit?
Replies: 2
Views: 3282

Re: ImageMagick deal with gif,has limit?

For animated GIFs, I suggest you read the documentation. See "animation" in http://www.imagemagick.org/Usage/ This works fine: convert 3000.gif -layers coalesce -resize 200x -layers optimize t.gif Sir,I need your help http://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=27203
by needkane
2015-03-16T18:56:03-07:00
Forum: Bugs
Topic: Colors Error
Replies: 6
Views: 5453

Colors Error

Image: http://s3-us-west-2.amazonaws.com/qiniu-bs/bigger.png //clolormodel = palette 256 Command : convert bigger.png -thumbnail 500x -colors 256 -type Palette a.png //fail convert bigger.png -thumbnail 450x -colors 256 -type Palette a.png //success debug info: fail: 2015-03-16T18:09:00+08:00 0:00.1...
by needkane
2015-03-15T22:24:10-07:00
Forum: Bugs
Topic: PNG size become bigger when after thumbnail the png
Replies: 16
Views: 10505

Re: PNG size become bigger when after thumbnail the png

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 -color...
by needkane
2015-03-15T21:28:24-07:00
Forum: Bugs
Topic: PNG size become bigger when after thumbnail the png
Replies: 16
Views: 10505

Re: PNG size become bigger when after thumbnail the png

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 -color...
by needkane
2015-03-15T21:26:59-07:00
Forum: Bugs
Topic: PNG size become bigger when after thumbnail the png
Replies: 16
Views: 10505

Re: PNG size become bigger when after thumbnail the png

What version of IM are you using? With v6.9.0-0 I get: f:\web\im>%IM%identify bigger.png bigger.png PNG 720x300 720x300+0+0 8-bit sRGB 256c 56.5KB 0.000u 0:00.000 f:\web\im>%IM%convert bigger.png -thumbnail 600x b.png f:\web\im>%IM%identify b.png b.png PNG 600x250 600x250+0+0 8-bit sRGB 124KB 0.000...
by needkane
2015-03-10T21:01:00-07:00
Forum: Bugs
Topic: PNG size become bigger when after thumbnail the png
Replies: 16
Views: 10505

Re: PNG size become bigger when after thumbnail the png

As upthread: "The "256c" label has gone. The input had only 256 colours, but interpolated resizing has increased the number of colours, so the output isn't palleted." So use "-colors 255 -type Palette" again. Do you know the rules http://www.imagemagick.org/discourse-s...
by needkane
2015-03-10T20:54:31-07:00
Forum: Bugs
Topic: PNG size become bigger when after thumbnail the png
Replies: 16
Views: 10505

Re: PNG size become bigger when after thumbnail the png

glennrp wrote:
snibgo wrote:Pngcrush may be useful.
Pngcrush won't help much if there are more than 256 colors (including the background color) present.
pngquant is a good tool,but I want use imagemagick
by needkane
2015-03-09T03:05:08-07:00
Forum: Bugs
Topic: PNG size become bigger when after thumbnail the png
Replies: 16
Views: 10505

Re: PNG size become bigger when after thumbnail the png

snibgo wrote:Pngcrush may be useful.
Your means is imagemagick can't resolve?
by needkane
2015-03-09T02:34:09-07:00
Forum: Bugs
Topic: PNG size become bigger when after thumbnail the png
Replies: 16
Views: 10505

Re: PNG size become bigger when after thumbnail the png

You can use "-quality" with webp to trade-off quality against size. For example: f:\web\im>%IM%convert upload.webp -thumbnail 200x -quality 10 x.webp upload.webp is 5400 bytes. x.webp is 2034 bytes. Sir, the same question like bmp Image:http://s3-us-west-2.amazonaws.com/qiniu-bs/bigger.pn...
by needkane
2015-03-06T00:56:27-07:00
Forum: Bugs
Topic: PNG size become bigger when after thumbnail the png
Replies: 16
Views: 10505

Re: PNG size become bigger when after thumbnail the png

See http://www.imagemagick.org/script/architecture.php Q8 uses half the memory of Q16. Thank you very much,can you help me this issue http://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=27148 Sir,another quesstion :webp image become bigger too after thumbnail Image:http://7te8ta.com...
by needkane
2015-03-05T03:30:30-07:00
Forum: Bugs
Topic: PNG size become bigger when after thumbnail the png
Replies: 16
Views: 10505

Re: PNG size become bigger when after thumbnail the png

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

Q8 uses half the memory of Q16.

Thank you very much,can you help me this issue viewtopic.php?f=3&t=27148
by needkane
2015-03-05T03:09:31-07:00
Forum: Bugs
Topic: ImageMagick deal with gif,has limit?
Replies: 2
Views: 3282

ImageMagick deal with gif,has limit?

Hi:
There is a gif which imagemagick can't convert it.
Image: http://s3-us-west-2.amazonaws.com/qiniu-bs/3000.gif

I want to thumbnail it
Command : convert 3000.gif -thumbnail 200x +repage result.gif

Can you try it
by needkane
2015-03-05T02:53:19-07:00
Forum: Bugs
Topic: PNG size become bigger when after thumbnail the png
Replies: 16
Views: 10505

Re: PNG size become bigger when after thumbnail the png

What version of IM are you using? With v6.9.0-0 I get: f:\web\im>%IM%identify bigger.png bigger.png PNG 720x300 720x300+0+0 8-bit sRGB 256c 56.5KB 0.000u 0:00.000 f:\web\im>%IM%convert bigger.png -thumbnail 600x b.png f:\web\im>%IM%identify b.png b.png PNG 600x250 600x250+0+0 8-bit sRGB 124KB 0.000...