Search found 25563 matches

by fmw42
2008-10-16T22:29:25-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

radial-gradient-small: for the smaller dimension achievable by using border You generate a square image using the smaller dimension (no clip) then pad to the final size using -border. Right! Got it. You may also like to look at the final distorted (using wave) example I also added... http://www.ima...
by fmw42
2008-10-16T21:49:10-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

I have submitted my change in the sources, and took your suggestion for the radial to be the edge further away from the center. It was a good call, and I have added examples and demonstrations to IM examples Actually I was suggesting using he smaller radius (see the following): radial-gradient-smal...
by fmw42
2008-10-16T20:55:48-07:00
Forum: Bugs
Topic: documentation error or confusing for -contrast-stretch
Replies: 17
Views: 33594

Re: documentation error or confusing for -contrast-stretch

I have always struggled with exactly what -contrast-stretch and -linear-stretch actually does, and how best to example the command. Because of this I have only even provided minimal examples for these command. I believe that my tests (see above) have clearly demonstrated how -contrast-stretch works...
by fmw42
2008-10-16T16:56:15-07:00
Forum: Bugs
Topic: documentation error or confusing for -contrast-stretch
Replies: 17
Views: 33594

Re: documentation error or confusing for -contrast-stretch

Well, for the most part we both agree. So I guess we have to leave the decision up to the IM folks. However, correct me if I am wrong, but did you write a code update for the count part that you were offering to IM? Yes, at the beginning of my thread entitled "-contrast-stretch problem?"....
by fmw42
2008-10-16T14:47:38-07:00
Forum: Bugs
Topic: documentation error or confusing for -contrast-stretch
Replies: 17
Views: 33594

Re: documentation error or confusing for -contrast-stretch

That was my point. The changes have only to do with argument parsing. The code can be made to find the total pixels and subtract white-point or use 100%-white-point and core algorithm does not have to be changed. Ok, then we agree. Sorry, I misunderstood you. I believe strongly in consistency!!!! S...
by fmw42
2008-10-16T11:29:58-07:00
Forum: Bugs
Topic: documentation error or confusing for -contrast-stretch
Replies: 17
Views: 33594

Re: documentation error or confusing for -contrast-stretch

Maybe I missed something when I looked at the code (which is entirely possible) but what I saw was that the it was simply the argument parsing that interpreted white-point. A percentage white-point is converted to a total number of pixels and then a function is called to do the heavy lifting. That ...
by fmw42
2008-10-16T11:02:36-07:00
Forum: Users
Topic: Caption Challenge?
Replies: 1
Views: 4030

Re: Caption Challenge?

Hello - I am fairly new to imagemagick so not sure what to do with this. I have narrowed down a command that I run via a php script on a dedicated server. What we are trying to do is simply create a canvas and then drop a caption onto that canvas such that it sizes itself properly. Does anyone know...
by fmw42
2008-10-16T10:59:31-07:00
Forum: Users
Topic: STR without -distort
Replies: 1
Views: 4249

Re: STR without -distort

hi I am trying to make a STR (Scale Translate Rotate) but without the -distort option, as many hosted servers have older versions of IM. i managed to make it with a code like this convert -size 600x480 xc:black -draw "translate 219,324 rotate 21 image over -330,-264 660,528 'e.jpg' " nat....
by fmw42
2008-10-16T10:32:43-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

Hold on Fred. As Cristy said before, it would be hard to figure out an option set that would continue to allow easy use (like gradient: does currently) with all the numerous options that users may like to have available. I'm not saying that it isn't possible, just a lot more work. If you can come u...
by fmw42
2008-10-16T10:00:06-07:00
Forum: Bugs
Topic: documentation error or confusing for -contrast-stretch
Replies: 17
Views: 33594

Re: documentation error or confusing for -contrast-stretch

However, given the fact that the documentation had it wrong, a change isn't going to break documented behaviour. More to the point, the change would make a non-percent -contrast-stretch behave as was documented. The real issue is that the function needs to behave the same whether using count or per...
by fmw42
2008-10-15T23:10:21-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

The gradient: and radial-gradient: formats are not very useful with only two stop colors and with offsets that span the image width and height. Can the image generator radial-gradient: be modified to produce a circular gradient more like http://www.imagemagick.org/Usage/canvas/gradient_circle.jpg t...
by fmw42
2008-10-15T21:15:06-07:00
Forum: Developers
Topic: documentation question in -threshold IM 6.4.4.-6
Replies: 5
Views: 11973

Re: documentation question in -threshold IM 6.4.4.-6

One 'auto thresholding' method is to reduce the image to two colors without dither. I look at this in IM examples, quantization, Two color quantization http://www.imagemagick.org/Usage/quantize/#two_color How does -monochrome handle its thresholding? Does it dither? Either way, your approach with -...
by fmw42
2008-10-15T17:16:31-07:00
Forum: Bugs
Topic: documentation error or confusing for -contrast-stretch
Replies: 17
Views: 33594

Re: documentation error or confusing for -contrast-stretch

Certainly correcting the documentation to describe the actual semantics is an improvement but I'd argue that having -contrast-stretch black-point x white-point white-out at most white-point pixels is far more useful than having it white-out at most (total pixels - white-point ) pixels, even if the ...
by fmw42
2008-10-15T11:48:17-07:00
Forum: Bugs
Topic: documentation error or confusing for -contrast-stretch
Replies: 17
Views: 33594

Re: documentation error or confusing for -contrast-stretch

We believe you have write privileges to the ImageMagick documentation on magick.imagemagick.org. Feel free to correct or enhance the documentation as needed. Recall it takes 24-48 hours for any changes you make to mirror world-wide. Thanks. I will do that. Just wanted to be sure I was correct about...
by fmw42
2008-10-15T11:20:31-07:00
Forum: Bugs
Topic: documentation error or confusing for -contrast-stretch
Replies: 17
Views: 33594

documentation error or confusing for -contrast-stretch

The documentation for -contrast-stretch is either in error or at least confusing with regard to the white point value to use (when not expressed as percent). It says: "While doing so black-out at most black-point pixels and white-out at most white-point pixels" This is misleading as if one...