Search found 69 matches

by Draoidh
2012-10-04T16:48:01-07:00
Forum: Users
Topic: [SOLVED] create multi-colour chequer pattern
Replies: 7
Views: 10766

Re: create multi-colour chequer pattern

anthony wrote:Animated Distorts - distorting multiple image based on image index
http://www.imagemagick.org/Usage/anim_mods/#distort
This is ingenious but I am struggling with this expression:

Code: Select all

%[fx:w*t/n],%[fx:h*t/n]
Looking at ImageMagick Escapes, what is t? Surely not the filename?!
by Draoidh
2012-10-02T15:45:26-07:00
Forum: Users
Topic: [SOLVED] create multi-colour chequer pattern
Replies: 7
Views: 10766

Re: create multi-colour chequer pattern

I have created the tile: convert \( \( +size xc:red xc:yellow xc:green +append \) \) \( +clone -roll +1+0 \) \( +clone -roll +1+0 \) -append tile.png My script gets the colours as parameter: xc:red xc:yellow xc:green . Depending on the number of colours I need to repeat the clone and roll x times. I...
by Draoidh
2012-10-02T07:45:03-07:00
Forum: Users
Topic: [SOLVED] ImageMagick download version crisis
Replies: 9
Views: 13322

Re: [SOLVED] ImageMagick download version crisis

Nicolas, thanks for your advice. My newly compiled IM had been installed into /usr/local/bin . My PATH variable already pointed to this directory and pulled the correct executable from there. However, without ldconfig the convert command pulls up the old libraries (if present) rather than the new li...
by Draoidh
2012-10-02T02:52:50-07:00
Forum: Users
Topic: [SOLVED] horizontal gradient
Replies: 6
Views: 8342

Re: horizontal gradient

Anthony, thanks for pointing me to the Barycentric Gradients. I'll keep that in mind for future reference. So many ways to skin a cat with IM! I don't think it's quite the right thing for linear gradients (which is all that I am after albeit at different angles): convert -size 100x100 xc: -sparse-co...
by Draoidh
2012-09-30T09:43:08-07:00
Forum: Users
Topic: [SOLVED] create multi-colour chequer pattern
Replies: 7
Views: 10766

[SOLVED] create multi-colour chequer pattern

I currently have four threads in the top ten of this forum! Here's number five! I would like to create a chequer pattern from two are more colours. The colours are handed down as a parameter in the following format: xc:blue xc:yellow xc:red Another parameter specifies the overall dimension of the re...
by Draoidh
2012-09-30T08:00:55-07:00
Forum: Users
Topic: [SOLVED] squaring cropped image nightmare
Replies: 9
Views: 11628

Re: squaring cropped image nightmare

Your use of a rotated version and mosaic (canvas filling composite) is a rather clever method. But, why not just use -background black -gravity center -extent ... [...] In IM7 one will be able to extract the dimensions and use them in one command line, as I understand it. I just had to remind mysel...
by Draoidh
2012-09-30T04:07:11-07:00
Forum: Users
Topic: [SOLVED] horizontal gradient
Replies: 6
Views: 8342

Re: horizontal gradient

Likewise, based on the same generated code pieces, I need to produce diagonal gradients. Diagonal gradient, first attempt: convert \( -size $dim gradient: -interpolate Bicubic -distort SRT 45 \ \( +size $colours -reverse +append \) -clut \) diagonal.png But when the target dimension is a sliver (e.g...
by Draoidh
2012-09-30T03:11:24-07:00
Forum: Users
Topic: [SOLVED] horizontal gradient
Replies: 6
Views: 8342

Re: horizontal gradient

I think I might have oversimplified the example. What I am really after is a multi-colour gradient. Vertical gradient example: convert \( -size 400x50 gradient: -interpolate Bicubic \ \( +size xc:blue xc:yellow xc:red -reverse +append \) -clut \) vertical.png The following parts of the code have bee...
by Draoidh
2012-09-29T16:08:20-07:00
Forum: Bugs
Topic: possible bug in -border X% in IM 6.7.8.6 Q16
Replies: 24
Views: 30864

Re: possible bug in -border X% in IM 6.7.8.6 Q16

Just in case anyone else gets caught out by the slightly changed percentage border behaviour: The behavior will remain intact then. A single percent argument specifies a width and height as a percentage of the width. I just installed version 6.7.9-8 2012-09-29 Q16 and I am finding the behaviour has ...
by Draoidh
2012-09-29T15:40:19-07:00
Forum: Users
Topic: [SOLVED] horizontal gradient
Replies: 6
Views: 8342

[SOLVED] horizontal gradient

How to create a horizontal gradient ? Create a vertical gradient: convert -size 400x50 gradient: vertical.png Ok, I could create a horizontal gradient like this: convert -size 50x400 gradient: -rotate 90 horizontal.png But how can I do it without transposing width and height ? The reason I am askin...
by Draoidh
2012-09-29T14:59:19-07:00
Forum: Users
Topic: [SOLVED] multi-colour gradient, dreadful banding
Replies: 36
Views: 55453

Re: [SOLVED] multi-colour gradient, dreadful banding

Installed 6.7.9-8. Yeah - my gradients are working!!!
by Draoidh
2012-09-29T14:48:44-07:00
Forum: Users
Topic: [SOLVED] ImageMagick download version crisis
Replies: 9
Views: 13322

Re: ImageMagick download version crisis

Panic over. Sys admin had not run

Code: Select all

ldconfig /usr/local/lib
Sorted.
by Draoidh
2012-09-29T14:45:38-07:00
Forum: Users
Topic: [SOLVED] ImageMagick download version crisis
Replies: 9
Views: 13322

Re: ImageMagick download version crisis

I found what is causing the problem: The executables in /usr/local/bin (convert, mogrify, ...) are just wee stubs. The magick code is in the libraries. And it was still pulling up my old libraries from /usr/lib. When I de-installed the Debian package imagemagick-common, convert pulled the newly inst...
by Draoidh
2012-09-29T14:16:53-07:00
Forum: Users
Topic: [SOLVED] ImageMagick download version crisis
Replies: 9
Views: 13322

Re: ImageMagick download version crisis

Hello Fred, Tried that and had already done a "whereis convert" before: the only executable "convert" on my system /usr/local/bin/convert and this is the one that was compiled to-day. (I also checked the file date.) And as you can see from my previous post, I even used a fully qu...
by Draoidh
2012-09-29T11:46:55-07:00
Forum: Users
Topic: [SOLVED] ImageMagick download version crisis
Replies: 9
Views: 13322

[SOLVED] ImageMagick download version crisis

A couple of months ago we had a long thread about my IM 6.7.7 gradient problem: multi-colour gradient, dreadful banding . The upshot of it was that I had to upgrade to a higher version, at least IM 6.7.8.6 Q16. My sys admin downloaded ImageMagick-6.7.9-8 and installed to-day following these instruct...