Search found 148 matches

by rmabry
2008-10-25T22:19:01-07:00
Forum: Developers
Topic: Checking out the new GradientImage in 6.4.4-2
Replies: 39
Views: 77723

Re: Checking out the new GradientImage in 6.4.4-2

el_supremo wrote: the list of floating point values for '30,0 red 0,80 blue 99,99 lime' would be

30, 0, 1, 0, 0, 0, 80, 0, 0, 1, 99, 99, 0,1,0

HTH
It does help, it works. Coulda swore I tried that, but I think I didn't have channel set.
by rmabry
2008-10-25T18:30:42-07:00
Forum: Developers
Topic: Checking out the new GradientImage in 6.4.4-2
Replies: 39
Views: 77723

Re: Checking out the new GradientImage in 6.4.4-2

Thanks, Pete, I guess I'll just be patient. Well, I am not actually so patient, but it might be forced on me. I just downloaded 6.4.5 and I see that SparseColorImage is in PerlMagick. But I can't figure out how to get the colors into the call. For this, convert -size 100x100 xc: -sparse-color Baryc...
by rmabry
2008-10-25T15:21:58-07:00
Forum: Developers
Topic: Checking out the new GradientImage in 6.4.4-2
Replies: 39
Views: 77723

Re: Checking out the new GradientImage in 6.4.4-2

el_supremo wrote:you would use

Code: Select all

$image->ReadImage("xc:");
Thanks, Pete, I guess I'll just be patient.

Funny, I never knew "xc:" made any sense without being followed by something further. I still don't know what sense it makes, but it seems to return a white image.

Rick
by rmabry
2008-10-25T09:53:03-07:00
Forum: Developers
Topic: Checking out the new GradientImage in 6.4.4-2
Replies: 39
Views: 77723

Re: Checking out the new GradientImage in 6.4.4-2

Huzzah! This is great: http://www.imagemagick.org/Usage/canvas/#gradient I tested the following (on Version: ImageMagick 6.4.4 2008-10-19 Q16): convert -size 100x100 xc: -sparse-color Barycentric '30,0 red 0,80 blue 99,99 lime' sparse_bary_triangle0.png which is just an extraction of the gradient-re...
by rmabry
2008-10-10T19:04:02-07:00
Forum: Developers
Topic: CloneImage() question
Replies: 3
Views: 9800

CloneImage() question

Veering off from a thread on the Users forum, I ran the following, which worked fine: imconvert 0001.jpg -write mpr:cap -size 600x600 xc:white -draw "image Darken 100,100 60,60 'mpr:cap'" -delete 0 test.png Now for reasons not necessary to go into here, I have a bit of debug in the source,...
by rmabry
2008-10-10T18:43:59-07:00
Forum: Users
Topic: mpr: within -draw
Replies: 5
Views: 12130

Re: mpr: within -draw

Thanks for the (as usual) speedy reply. > The -draw image primitive accepts any / all image types supported by ImageMagick including MPR Yup -- it was a string quoting-within-quotes issue. Sorry for the bother. > inline images (i.e. starts with DATA: and includes a base64-encoded string) Now that is...
by rmabry
2008-10-10T08:03:11-07:00
Forum: Users
Topic: mpr: within -draw
Replies: 5
Views: 12130

mpr: within -draw

Hi folks, I'm compositing a large number of small images onto various positions of a large image and I'm running into memory issues and inefficiency. The number of composites is in the thousands, but the actual number of files generating the small images is relatively small. Each small image is resi...
by rmabry
2008-06-06T03:20:17-07:00
Forum: Developers
Topic: circle parameters
Replies: 9
Views: 35411

Re: circle parameters

in a shell script you could do Sure, lucky *nixers. I'm more inclined to PerlMagick these days, so it is not an issue even for my Windows-bound self. But I guess I should have made it more clear that I was not looking for a way to do this, just kvetching at the syntax. Look at SVG , for instance. A...
by rmabry
2008-06-05T20:06:45-07:00
Forum: Developers
Topic: circle parameters
Replies: 9
Views: 35411

Re: circle parameters

Would be nice... A cross between a 'point' and a 'circle' Perhaps dot x,y,r Why not overload circle? For one thing, "dot" implies a fill, but I'd want to get a stroked and/or filled circle as a result. It's hardly a big deal, since one can use "circle x,y, x+r,y", for example. I...
by rmabry
2008-05-26T18:18:48-07:00
Forum: Users
Topic: -set option:
Replies: 5
Views: 12448

Re: -set option:

Thanks, Anthony. From what you say I am left with the opinion that I came with, which is that such "escaped" info is available for strings but not (yet) for input into options such as -size. In case you've been following the thread, Text with gradient stroke? , what I'm up to is trying to ...
by rmabry
2008-05-24T08:39:47-07:00
Forum: Users
Topic: -set option:
Replies: 5
Views: 12448

Re: -set option:

Anthony did something like that a while ago using FX but I can not remember how he did it or what post it was on ! Hi Bonzo, I was actually browsing Anthony's examples when I learned of it in the first place. Now I'm trying to see how far it extends. Here's where I encountered it: http://www.imagem...
by rmabry
2008-05-24T07:01:34-07:00
Forum: Users
Topic: -set option:
Replies: 5
Views: 12448

-set option:

This works; I get an image of text showing the size of the rose: convert rose: -set option:mylabel "%wx%h" -delete 0 label:"%[mylabel]" option1.png http://sun.cs.lsus.edu/~rmabry/magick/option/option1.png This works; I get the same thing but I can specify the height of the image:...
by rmabry
2008-05-24T05:28:14-07:00
Forum: Developers
Topic: circle parameters
Replies: 9
Views: 35411

circle parameters

One can use -draw to make a circle. circle x0,y0 x1,y1 The first point x0,y0 is the center, the second point x1,y1 is any other point on the circle, this being used to calculate a radius. But there are many times when it is more convenient to simply specify a radius. (It is also pretty standard). Ho...
by rmabry
2008-05-23T12:35:42-07:00
Forum: Users
Topic: Text with gradient stroke?
Replies: 27
Views: 61486

Re: Text with gradient stroke?

Why do I cant say, write the gradient, then write again an internal image, where the text lies at point 0,0 --> put there the gradient into the stroke und all these image together put back into the big one at a certain position? the problem is, if the text moves somewhere else in the image, you hav...
by rmabry
2008-05-23T06:28:34-07:00
Forum: Users
Topic: Text with gradient stroke?
Replies: 27
Views: 61486

Re: Text with gradient stroke?

I tried this, but i won't work. It seems like the gradient is put over the whole image, not only over the text. I'm confused by that statement because the code I posted above gives the following. The gradient is indeed only over the text. (I believe our terminology is clashing.) Here it is for Wind...