Search found 8874 matches

by anthony
2017-01-16T22:59:06-07:00
Forum: Users
Topic: add text by "annotate"
Replies: 2
Views: 1133

Re: add text by "annotate"

See...

A Word about Vector Image formats
http://www.imagemagick.org/Usage/formats/#vector
by anthony
2017-01-16T22:54:41-07:00
Forum: Users
Topic: -define png:size={size}?
Replies: 11
Views: 3087

Re: -define png:size={size}?

No. It is something that can be passed to the JPEG library. The PNG library has no such option available.

But remember it just removes pixel rows and columns from the final result. It is not really a good method of re-sizing an image.
by anthony
2017-01-16T22:46:53-07:00
Forum: Users
Topic: +distort Plane2Cylinder center_x,y usage
Replies: 5
Views: 1005

Re: +distort Plane2Cylinder center_x,y usage

You can you either spaces, tabs, newlines or commas. in the arguments. But it must be given as a single argument which for whitespace means quotes around the argument.\ Basically quoting makes more sense as the spacing helps distinguish the x,y argument from the rest, but IM itself does not care. It...
by anthony
2017-01-16T22:32:32-07:00
Forum: Users
Topic: Making a gif by rotating an image
Replies: 6
Views: 2084

Re: Making a gif by rotating an image

See IM Examples, GIF animations, for an explanation of this technique...
http://www.imagemagick.org/Usage/anim_mods/#distort

For older technique see
Simple Image Warping, Animations
http://www.imagemagick.org/Usage/warping/#animations
by anthony
2017-01-12T16:16:57-07:00
Forum: Users
Topic: How to remove MS Word Spellcheck wavy lines
Replies: 14
Views: 2165

Re: How to remove MS Word Spellcheck wavy lines

Hmmm ... The kernel generated is for a convolution, not a dilatation. I am also not sure if it is inverted. After making the conversions, and reformatting so as to make it more 'human readable' the resulting kernel did not look much like a wavy line, but more like a hash pattern! 24x8: 1 1 1 1 - - -...
by anthony
2017-01-11T18:25:06-07:00
Forum: Users
Topic: How to remove MS Word Spellcheck wavy lines
Replies: 14
Views: 2165

Re: How to remove MS Word Spellcheck wavy lines

Nice use of morphology... Exactly what it is meant for ;-) Use Erode to locate image parts that match the given kernel set a conditional dilation mask, and dilate the result back to the matching lines remove the found lines. It might be improved by replacing the kernel with a DIY kernel of the 'wavy...
by anthony
2017-01-02T19:27:56-07:00
Forum: Users
Topic: Why is the Default Gravity Not The Same As Northwest?
Replies: 1
Views: 759

Re: Why is the Default Gravity Not The Same As Northwest?

Annotate was created so as to avoid the need for 'doubled quoting', when using Draw. See Text to Image Handling, Annotate http://www.imagemagick.org/Usage/text/#annotate Without gravity, the text position is the most logical method. Position the 'cursour' or 'caret' of the text before rendering it. ...
by anthony
2017-01-02T17:42:29-07:00
Forum: Users
Topic: How to batch resize to a specific aspect ratio by adding white borders
Replies: 2
Views: 845

Re: How to batch resize to a specific aspect ratio by adding white borders

Additional...
This is also related.. Rotate with internal crop Preserving Aspect Ratio
http://www.imagemagick.org/Usage/distor ... te_methods
by anthony
2017-01-02T17:36:35-07:00
Forum: Users
Topic: How to batch resize to a specific aspect ratio by adding white borders
Replies: 2
Views: 845

Re: How to batch resize to a specific aspect ratio by adding white borders

LOok at the examples in Thumbnails, Padding Images http://www.imagemagick.org/Usage/thumbnails/#pad However if you are not after a specific size just a specific ratio. That can be trickier. See 'Squaring an image' whcih is very simular to what you are after. http://www.imagemagick.org/Usage/thumbnai...
by anthony
2017-01-02T17:22:37-07:00
Forum: Users
Topic: Using -distort vs -rotate with a pattern:
Replies: 4
Views: 996

Re: Using -distort vs -rotate with a pattern:

For the reasons why Distort in a non-rotation 'NO-OP' (which is what you did) produces a change see.. IM Examples, Distort, No-Op Distortions http://www.imagemagick.org/Usage/distorts/#distort_noop Now -rotate actually uses distort to do the rotations! But it also will short-circuit on a NO-OP (or u...
by anthony
2016-12-30T03:21:58-07:00
Forum: Users
Topic: Merry Christmas: 3D Halographic effect
Replies: 3
Views: 1112

Re: Merry Christmas: 3D Halographic effect

I can think of a number of methods to do something like that! Have a look at the 'Star' generation script.... http://www.imagemagick.org/Usage/advanced/#stars You should be able to extract the bright points, convert those into 'stars' and then overlay that. In may way that is what those glasses are ...
by anthony
2016-12-22T16:36:53-07:00
Forum: Users
Topic: Adding image to pdf
Replies: 3
Views: 1396

Re: Adding image to pdf

First PDF is a vector image format, but ImageMagick is a raster image processor. If IM reads a PDF it will render it into a raster (pixel array) at a specific resolution/density. That is probably not what you want. See the warning... A word about Vector Image formats http://www.imagemagick.org/Usage...
by anthony
2016-12-22T16:27:52-07:00
Forum: Users
Topic: Convert Watermark Bash Script to CLI Command
Replies: 22
Views: 4036

Re: Convert Watermark Bash Script to CLI Command

Did you want to overlay of top of the image, or append to the side of the image?

See Annotating Images for LOTS of different techniques.
http://www.imagemagick.org/Usage/annotating/#annotating
by anthony
2016-12-21T20:34:12-07:00
Forum: Users
Topic: 0-padding numbers in filename when using fx calculation
Replies: 2
Views: 790

Re: 0-padding numbers in filename when using fx calculation

At the moment there is no way to 'format' the number output from a FX calcualtion. It was thought about an planned though. see the Plan.... in Future Developments section of IM Examples http://www.imagemagick.org/Usage/bugs/ IMv7 Percent Escapes and FX Expression Development Section "Formatting Perc...
by anthony
2016-12-21T19:18:13-07:00
Forum: Users
Topic: cropping noisy background/border
Replies: 3
Views: 900

Re: cropping noisy background/border

Also see... trimming noisy image
http://www.imagemagick.org/Usage/crop/#trim_noisy

This blurs the image to filter out the noise, trims it with an appropriate fuzz, then applies that trim results to the unblurred image with some adjustments.