Search found 20741 matches

by fmw42
2017-04-22T22:38:56-07:00
Forum: MagickWand for PHP
Topic: Question about ImageMagick capabilities
Replies: 11
Views: 174

Re: Question about ImageMagick capabilities

Imagemagick is command line, no GUI to speak of. You have to measure the coordinates by some other means. They are integers for pixel locations, though you can provide float values, but it should not make a difference here since it is just the seed location for starting the flood fill. The origin is...
by fmw42
2017-04-21T14:32:37-07:00
Forum: Users
Topic: How to split image into uneven parts?
Replies: 6
Views: 89

Re: How to split image into uneven parts?

Alex Jr wrote:
2017-04-21T14:27:57-07:00
@snibgo, What's 83596.png and a.png supposed to represent?

This is my first time using ImageMagick.
The input and output images, respectively.
by fmw42
2017-04-21T14:14:50-07:00
Forum: Users
Topic: How to split image into uneven parts?
Replies: 6
Views: 89

Re: How to split image into uneven parts?

Please always provide your IM version and platform, since syntax and scripting may differ. How does one know where to split these, since especially some overlap horizontally? If there is not a clean separation, then you likely will have to do that manually using the -crop operator. See http://www.im...
by fmw42
2017-04-21T11:00:27-07:00
Forum: Bugs
Topic: Converting SVG does not preserve transperancy
Replies: 4
Views: 82

Re: Converting SVG does not preserve transperancy

For your gradient image, this works fine for me using IM 6.9.8.3 Q16 Mac OSX and RSVG 2.40.16 convert -background none test.svg test.png What is your SVG renderer and version? convert -list format should show what you are using for SVG, such as SVG SVG rw+ Scalable Vector Graphics ( RSVG 2.40.16 ) T...
by fmw42
2017-04-20T17:36:53-07:00
Forum: Users
Topic: Restoring quantum range after -evaluate min max
Replies: 5
Views: 66

Re: Restoring quantum range after -evaluate min max

convert -size 256x256 gradient: -evaluate min 50% result.png Shows that the maximum value will be 50% gray and minimum value is 0. So it just clips at that value and does not stretch again to full dynamic range. If you want it stretched, use -level or -contrast-stretch or add -auto-level after -eva...
by fmw42
2017-04-20T17:34:08-07:00
Forum: Users
Topic: Restoring quantum range after -evaluate min max
Replies: 5
Views: 66

Re: Restoring quantum range after -evaluate min max

I do not think the image will be automatically stretched to full dynamic range by using -evaluate min or max. It just sets the upper/lower bound.
by fmw42
2017-04-20T17:32:49-07:00
Forum: Bugs
Topic: Converting SVG does not preserve transperancy
Replies: 4
Views: 82

Re: Converting SVG does not preserve transperancy

Best if you provide your IM version and platform and an example SVG file. Also what SVG renderer are you using --- Inkscape, RSVG or IM MSVG/XML and the version.
by fmw42
2017-04-20T14:00:03-07:00
Forum: Users
Topic: Fisheye 235° to equirectangular
Replies: 7
Views: 100

Re: Fisheye 235° to equirectangular

Please identify your IM version and platform when asking questions on this forum. Please post an example input and output image (to some free hosting service and put the URLs here). Also post any links to the camera/lens system being used. I suspect you might want my script at http://www.fmwconcepts...
by fmw42
2017-04-20T13:53:08-07:00
Forum: MagickWand for PHP
Topic: Question about ImageMagick capabilities
Replies: 11
Views: 174

Re: Question about ImageMagick capabilities

You should be able to do that with a floodfill starting at some coordinate inside the area whose color you want to make transparent. convert image.png -fill none -fuzz XX% -draw "matte x,y floodfill" result.png the XX% represent how much variation in white you have inside the area. If it is perfectl...
by fmw42
2017-04-19T15:51:53-07:00
Forum: Magick++
Topic: How to draw rotated image using DrawableCompositeImage and DrawableRotation?
Replies: 11
Views: 147

Re: How to draw rotated image using DrawableCompositeImage and DrawableRotation?

You are not rotating by a simple one-time 75 degrees. If I do a 75 deg rotate, I get something different and the green and red lines are just fine. Try this in the command line to test what a 75 degree rotate should look like. convert wk3Sup6.png -rotate 75 tmp.png Your image is rotated by 75 degree...
by fmw42
2017-04-19T12:36:36-07:00
Forum: Bugs
Topic: Possibly wrong report regarding GIF transparency
Replies: 2
Views: 56

Re: Possibly wrong report regarding GIF transparency

Not every frame has transparent color of none. Your first frame reports Transparent color: srgba(171,172,173,0).

Sorry but I am not really sure what you are asking?

Please always provide your IM version and platform.
by fmw42
2017-04-19T12:33:04-07:00
Forum: Users
Topic: Using clone instead of created temp images
Replies: 4
Views: 98

Re: Using clone instead of created temp images

No clones are needed. You only need to use parenthesis processing. See http://www.imagemagick.org/Usage/basics/#parenthesis Try this (unix syntax) infile="image1.jpg" ww=`convert -ping $infile -format "%w" info:` hh=`convert -ping $infile -format "%h" info:` convert \ \( top-left.png \( top-middle.p...
by fmw42
2017-04-19T10:00:09-07:00
Forum: MagickWand for PHP
Topic: Question about ImageMagick capabilities
Replies: 11
Views: 174

Re: Question about ImageMagick capabilities

chrisrabkin wrote:What we need to do is when a customer uploads a graphic jpeg, gif, bmp, png, we need the background be removed
If the background is not nearly a constant color, then this is very hard to do automatically.
by fmw42
2017-04-19T09:59:19-07:00
Forum: MagickWand for PHP
Topic: Question about ImageMagick capabilities
Replies: 11
Views: 174

Re: Question about ImageMagick capabilities

snibgo wrote:I don't know if PHP exec() can call bash scripts. If it can, that might simplify the development.
Yes, it can. That is how many of my script clients interface the script to their web site.
by fmw42
2017-04-18T17:00:49-07:00
Forum: Bugs
Topic: Possible bug IM 7 with EPS clip path
Replies: 7
Views: 674

Re: Possible bug IM 7 with EPS clip path

Thanks for the information. That should be useful to the IM developers. It is interesting that Inkscape has decided to change their default density. I wonder what the reason was. This seems to be something that may have to be left to the user to know which renderer is being used and the correspondin...