Hi, I've discovered something strange. The documentation reads:
Unary operators have a lower priority than binary operators, that is, the unary minus (negation) has lower precedence than exponentiation, so -3^2 is interpreted as -(3^2) = -9. Use parentheses to clarify your intent (e.g. (-3)^2 = 9 ...
Search found 3 matches
- 2012-12-22T11:18:22-07:00
- Forum: Bugs
- Topic: Is it a bug? Unary operator.
- Replies: 1
- Views: 2479
- 2012-11-23T14:38:01-07:00
- Forum: Users
- Topic: Something has changed around IM 6.7.2-10. Help please!
- Replies: 3
- Views: 3431
Re: Something has changed around IM 6.7.2-10. Help please!
I can't believe I havn't seen it before. There is a very vicious bug in IM.
In old Imagemagick versions the expression below is working OK, in spite the fact the is one extra parenthesis:
.... %%[fx: log(maxima.b/minima.b)/log(maxima.r/minima.r))] ...
In newer versions the expression is yelding ...
In old Imagemagick versions the expression below is working OK, in spite the fact the is one extra parenthesis:
.... %%[fx: log(maxima.b/minima.b)/log(maxima.r/minima.r))] ...
In newer versions the expression is yelding ...
- 2012-11-23T02:22:13-07:00
- Forum: Users
- Topic: Something has changed around IM 6.7.2-10. Help please!
- Replies: 3
- Views: 3431
Something has changed around IM 6.7.2-10. Help please!
Hello, I'm new here and I hope I can get some help.
I'm using ImageMagick on regular basis in my scanning workflow to automate turning the C-41 negative with orange mask (in linear TIFF file) into the positive image.
I'm very happy with it, however the script stopped working with newest IM versions ...
I'm using ImageMagick on regular basis in my scanning workflow to automate turning the C-41 negative with orange mask (in linear TIFF file) into the positive image.
I'm very happy with it, however the script stopped working with newest IM versions ...