Search found 8849 matches

by anthony
2017-01-22T18:19:24-07:00
Forum: Users
Topic: Amazon Linux ImageMagick with AutoTrace
Replies: 7
Views: 324

Re: Amazon Linux ImageMagick with AutoTrace

The following was extracted from my personal notes on creating a autotrace package for fedora Basically I wanted to remove its dependency on imagemagick and pstoedit -- neither of which it really needs. Other than creating a replacement 'package' for fedora, without those dependancys the notes boile...
by anthony
2017-01-22T17:58:48-07:00
Forum: Users
Topic: Split and extend chest sprite.
Replies: 4
Views: 203

Re: Split and extend chest sprite.

I downloaded the left image. It consists of a chest with black space on the left, an area of shadow on the right and 5 'bands' making up the chest proper. left edge, one band, center lock, another band, and right edge. A total of 7 thin vertical segments in the image I gather you want to clone the t...
by anthony
2017-01-22T16:45:31-07:00
Forum: Users
Topic: How To Enable Autotrace? -- Installed IM with OSX MacPorts
Replies: 10
Views: 16752

Re: How To Enable Autotrace? -- Installed IM with OSX MacPorts

IM may need to be rebuilt with configuration option --with-autotrace For example convert -list Configure | grep trace shows me my current version (a software package) has --with-autotrace=no So it was not built with autotrace While my IMv7 version (self compiled) magick -list Configure | grep trace ...
by anthony
2017-01-19T16:17:22-07:00
Forum: Users
Topic: -define png:size={size}?
Replies: 11
Views: 482

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

LOL... I wrote that advise!!!
by anthony
2017-01-17T17:41:18-07:00
Forum: Users
Topic: Making a gif by rotating an image
Replies: 6
Views: 349

Re: Making a gif by rotating an image

See... GIF Animations Basics....
http://www.imagemagick.org/Usage/anim_basics/#gif_anim

Also see Basics, Setting/Changing Image Attributes/Properities
http://www.imagemagick.org/Usage/basics/#attributes
by anthony
2017-01-16T22:59:06-07:00
Forum: Users
Topic: add text by "annotate"
Replies: 2
Views: 248

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: 482

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: 199

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: 349

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: 477

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: 477

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: 177

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: 156

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: 156

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: 213

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...