Search found 8874 matches

by anthony
2016-12-15T23:11:09-07:00
Forum: Bugs
Topic: Inconsistent behavior with "-define distort:viewport"
Replies: 4
Views: 1796

Re: Inconsistent behavior with "-define distort:viewport"

If you mean that percent escapes in "define" does not expand percent escapes when used in IMv6, WHEN it is actually used... That is just a 'new feature' of IMv7 coming from the same cade that is used to set 'labels' on images as they are read in (a IMv6 feature expanded to more general use). For exa...
by anthony
2016-12-15T22:39:59-07:00
Forum: Bugs
Topic: Inconsistent behavior with "-define distort:viewport"
Replies: 4
Views: 1796

Re: Inconsistent behavior with "-define distort:viewport"

-define does not use the expressions, but saves them for later use. That was because define often had to 'save' the percent escapes until later when an image is read. Also -define does not attache to images but globally, where -set are attached to images. The quintessential case of this was -label w...
by anthony
2016-12-14T18:12:40-07:00
Forum: Users
Topic: Using connected components tool
Replies: 18
Views: 2810

Re: Using connected components tool

To distinguish between the leaves and other parts I would look at using morphology on the mask image. This is actually what morphology was designed originally to do.. find objects of particular characteristics. First I would look at closing any small 'holes' that might be in the leaves, then do some...
by anthony
2016-12-14T17:20:19-07:00
Forum: Users
Topic: Crop with negative offsets
Replies: 3
Views: 852

Re: Crop with negative offsets

There is a cavat with using -extent, for image with transparency...
But as JPEG images have no transparency that should not be a problem for you.

See IM Exmaples
http://www.imagemagick.org/Usage/crop/#extent
by anthony
2016-12-13T18:43:26-07:00
Forum: Bugs
Topic: VERY OLD BUG -- extra stroke on MVG with thick lines and round caps.
Replies: 1
Views: 1225

VERY OLD BUG -- extra stroke on MVG with thick lines and round caps.

Polyline goes wrong on thick strokes and round linejoins With a stroke of 2 this is fine. convert -size 80x60 xc:white -fill white -colorspace RGB \ -draw "stroke black stroke-width 2 stroke-linejoin round \ polyline 14,53 30,5 71,14 51,41" \ -colorspace sRGB draw_line2.png http://www.imagemagick.or...
by anthony
2016-12-13T18:04:01-07:00
Forum: Bugs
Topic: Dashed Stroke fails when drawing Fonts
Replies: 11
Views: 5777

Re: Dashed Stroke fails when drawing Fonts

I just tried the bug example with IM v6.9.3.0 (The default IM for fedora 25) convert -size 180x80 xc: -font ArialBk -pointsize 72 \ -gravity center -fill skyblue -stroke black \ -draw 'stroke-dasharray 10 1 text 0,0 "Abc" ' show: The result was that the letters were draw without dash stroke, just no...
by anthony
2016-12-11T17:13:55-07:00
Forum: Users
Topic: How could I go about creating a specific lighting effect?
Replies: 6
Views: 1161

Re: How could I go about creating a specific lighting effect?

I would create a dark grey background and blur with a 'black' virtual pixel setting...

Or add a black border and blur (a little thicker).


There are lots of ways to skin a cat, and what method you use depends
on what you want that skin for, and how messy you like the results!
by anthony
2016-12-08T22:41:47-07:00
Forum: Users
Topic: Color blur
Replies: 3
Views: 1265

Re: Color blur

It is also because the blur blurs red areas into black, and green areas into black because they are seperate color channels! Try doing the blur in a different (also more linear) colorspace. Perhaps LAB or LUV colorspace. Though snibgo is right in that the non-linear colors of sRGB is probably the ma...
by anthony
2016-12-08T22:37:02-07:00
Forum: Users
Topic: Convert Watermark Bash Script to CLI Command
Replies: 22
Views: 4049

Re: Convert Watermark Bash Script to CLI Command

I am glad to see the additions to make percent escapes more global starting to get good use!
:-)
by anthony
2016-12-08T22:05:37-07:00
Forum: Users
Topic: Trim, clone then trim
Replies: 6
Views: 1153

Re: Trim, clone then trim

This is basically what is discussed in Trimming Noisy images... http://www.imagemagick.org/Usage/#trim_noise NOTE: the techniques goes on to with an improvement by 'expanding' the resulting trim bounds using some FX maths. That is why separate percent escapes for each number may be preferable. At th...
by anthony
2016-12-06T22:26:17-07:00
Forum: Users
Topic: convert "info:" option as a way of using convert for identify?
Replies: 4
Views: 1252

Re: convert "info:" option as a way of using convert for identify?

See IM Examples... Identify Output Alternatives
http://www.imagemagick.org/Usage/basics/#identify_alt

Added in IM v6.2.4

That is you can use a number of options
info: (as final image)
-write info:
-identify
-print
by anthony
2016-12-06T21:58:52-07:00
Forum: Users
Topic: Default Sigma Value in Gaussian Blur
Replies: 8
Views: 1756

Re: Default Sigma Value in Gaussian Blur

For radiusxsigma, if radius=0, then it is computed from the sigma by some formula that is between 2 and 3 time sigma. I am not sure the exact formula. I have never used just the radius and do not know how that works or if that is a mistake in the documentation. What I'm does is a little binary sear...
by anthony
2016-12-06T21:23:23-07:00
Forum: Users
Topic: gif animation loop pause
Replies: 8
Views: 23903

Re: gif animation loop pause

You can either merge the last two frames (times are added) using... -layers RemoveDups See http://www.imagemagick.org/Usage/anim_opt/#removedups This is also automatically done by -layers OptimizePlus Or just delete the second last from using -delete -2 WARNING: you don't set a default delay for you...
by anthony
2016-11-16T23:35:45-07:00
Forum: Bugs
Topic: Mathematics, or Blend what working as expected.
Replies: 3
Views: 1269

Re: Mathematics, or Blend what working as expected.

Yes I see... for pixels that are not overlapping you get the full color with a partial transparency, and not a darker color at partial transparency In other words the mathematical operator would only apply correctly to overlapping pixels where you have no transparency, just a 'blend' of color. Stupi...
by anthony
2016-11-16T22:35:21-07:00
Forum: Bugs
Topic: Mathematics, or Blend what working as expected.
Replies: 3
Views: 1269

Re: Mathematics, or Blend what working as expected.

Hmmm.... OKAY... it may be a result of 'colorspace'. Images now using non-linear sRGB, by mathematics being applied without regard to that.

Not certian how to 'fix' the example if that is the case... can't spend that much time on it.