Search found 47 matches

by needkane
2015-03-05T00:02:30-07:00
Forum: Bugs
Topic: PNG size become bigger when after thumbnail the png
Replies: 16
Views: 10505

PNG size become bigger when after thumbnail the png

Hi: Recently ,more and more png image size become bigger when after thumbnail. Image:http://s3-us-west-2.amazonaws.com/qiniu-bs/bigger.png ( 720x300,57kb) http://s3-us-west-2.amazonaws.com/qiniu-bs/bigger2.png (681x337,97.1kb) Command: convert bigger.png -thumbnail 600x +repage result.png We find th...
by needkane
2015-03-02T23:17:06-07:00
Forum: Bugs
Topic: Image crop and offset, the offset value is equal to the width or height
Replies: 0
Views: 4210

Image crop and offset, the offset value is equal to the width or height

Image crop and offset, the offset value is equal to the width or height return the original image. But the offset value is greater than image's width or height return 1x1 picture. We need a standard. In my opinion,only the offset value is smaller than width and height return normal cropped image. Ot...
by needkane
2014-12-29T01:21:54-07:00
Forum: Bugs
Topic: exif orientation bug
Replies: 1
Views: 3646

exif orientation bug

http://marry.qiniudn.com/o_198pf52es1rge1ssg1ucuaop5ha6v.jpg //this picture has exif information. http://needkane.qiniudn.com/error6/jpg //this picture is the result that the first picture remove exif information. Two pictures look the same.Now I want change the picture size. Use command : convert [...
by needkane
2014-10-10T20:27:24-07:00
Forum: Users
Topic: Can't convert image format
Replies: 5
Views: 5389

Re: Can't convert image format

glennrp wrote:Sequential decoders like ImageMagick, pngcrush, etc., can't read it.
You could display the useable part of the image using a progressive reader
(firefox or chrome will do it) and then take a screen shot.
OK.thank you very much
by needkane
2014-10-08T19:46:32-07:00
Forum: Users
Topic: Can't convert image format
Replies: 5
Views: 5389

Re: Can't convert image format

Your input PNG image is corrupted. It has an "iDOT" chunk which is not defined in the PNG spec, at least one iDAT chunk is truncated, and the IEND chunk is missing. pngcheck -v 51922d* File: 51922de0fc1692de9201385f7db3ab33.png (84202 bytes) chunk IHDR at offset 0x0000c, length 13 200 x 2...
by needkane
2014-10-08T01:11:26-07:00
Forum: Users
Topic: Can't convert image format
Replies: 5
Views: 5389

Can't convert image format

source photo: http://user-avatar.u.qiniudn.com/avatar ... b3ab33.png
I want convert the photo's format is jpg
Command:
mogrify -auto-orient -format jpg -thumbnail 200x200> -strip -quality 85 abnormal.png

But the result is wrong
by needkane
2014-09-21T23:54:25-07:00
Forum: Users
Topic: Thumbnail Invalid
Replies: 4
Views: 3501

Re: Thumbnail Invalid

identify -verbose error.bmp Short summary: Type: GrayscaleAlpha Base type: GrayscaleAlpha Endianess: Undefined Colorspace: Gray Depth: 8-bit Channel depth: gray: 8-bit alpha: 1-bit Channel statistics: Pixels: 31500 Gray: min: 2 (0.00784314) max: 255 (1) mean: 231.142 (0.906439) standard deviation: ...
by needkane
2014-09-21T22:57:44-07:00
Forum: Users
Topic: Thumbnail Invalid
Replies: 4
Views: 3501

Re: Thumbnail Invalid

The file you posted is BMP and not JPG and has a alpha channel that may not be formed correctly. It is pure black (transparent), but when displaying the BMP file it shows as opaque. This works for me by removing the alpha channel. Your BMP file has no EXIF data, so -auto-orient will do not good, no...
by needkane
2014-09-21T22:18:49-07:00
Forum: Users
Topic: Thumbnail Invalid
Replies: 4
Views: 3501

Thumbnail Invalid

Source photop: http://kakapart.qiniudn.com/2013-4-11-1-2013411111143390.jpg I want to change the photo's width and height.but thumbnail invalid My command: convert error.jpg -auto-orient -thumbnail 200x200> -strip -quality 85.0 +repage /tmp/imgview228325518 But this command apply others photo is ok
by needkane
2014-09-18T20:46:15-07:00
Forum: Magick++
Topic: In convert what is equivalent of composite'disslove
Replies: 11
Views: 23479

Re: In convert what is equivalent of composite'disslove

What version of IM and what platform are you using? This works for me. You need to use -layers composite not -composite and you need the NULL: Unix convert draw.gif -coalesce NULL: \ p.png -gravity center -define compose:args=50x100 \ -compose dissolve -layers composite -layers optimize \ draw2.gif...
by needkane
2014-09-18T20:11:51-07:00
Forum: Magick++
Topic: In convert what is equivalent of composite'disslove
Replies: 11
Views: 23479

Re: In convert what is equivalent of composite'disslove

There are many ways to do this. Here is one. Windows syntax. convert ^ draw.gif ^ -layers coalesce ^ NULL: ^ ( p.png -alpha set -channel A -evaluate multiply 0.5 +channel ) ^ -layers composite ^ d2.gif Could you help resolve the problem,use one line command complete Text watermark also can disslove...
by needkane
2014-09-18T19:54:55-07:00
Forum: Users
Topic: Image Geometry bug about percent
Replies: 3
Views: 3246

Re: Image Geometry bug about percent

snibgo wrote:Try "-thumbnail 75x100%"

[Mod note: as this is a usage question, not Magick++, I'm moving it to Users.]
I know the answer is ok ,but x75% accomplish the purpose desired (only height change)
by needkane
2014-09-17T19:55:06-07:00
Forum: Users
Topic: Image Geometry bug about percent
Replies: 3
Views: 3246

Image Geometry bug about percent

magick syntax: scale-x%xscale-y% Height and width individually scaled by specified percentages. (Only one % symbol needed.) Now my problem: convert a.gif -coalesce -thumbnail 75%x -layers optimize /tmp/imgmogr2-875452210.gif //Height and width both scaled by specified percentage,but according magick...
by needkane
2014-09-17T19:44:03-07:00
Forum: Magick++
Topic: In convert what is equivalent of composite'disslove
Replies: 11
Views: 23479

Re: In convert what is equivalent of composite'disslove

snibgo wrote:There are many ways to do this. Here is one. Windows syntax.

Code: Select all

convert ^
  draw.gif ^
  -layers coalesce ^
  NULL: ^
  ( p.png -alpha set -channel A -evaluate multiply 0.5 +channel ) ^
  -layers composite ^
  d2.gif
Thank you very much,it's ok now
by needkane
2014-09-16T20:43:38-07:00
Forum: Magick++
Topic: In convert what is equivalent of composite'disslove
Replies: 11
Views: 23479

Re: In convert what is equivalent of composite'disslove

See "convert ... -compose dissolve" at http://www.imagemagick.org/Usage/compose/#dissolve Thanks for your reply,but the answer is wrong. Now i give you a picture and a watermark,could you help me generate a result which i want. If you can ,please show your command. Source picture: http://...