Search found 25563 matches

by fmw42
2019-08-15T14:45:45-07:00
Forum: Users
Topic: Round corners
Replies: 15
Views: 46070

Re: Round corners

In this example posted above earlier, just add +write mask.png in the parenthesis section at the end when compositing the 4 corners the first time you use it. convert thumbnail.gif \( +clone -alpha extract \ \( -size 15x15 xc:black -draw 'fill white circle 15,15 15,0' -write mpr:arc +delete \) \ \( ...
by fmw42
2019-08-15T11:02:29-07:00
Forum: Users
Topic: Creating character sheets using IM
Replies: 16
Views: 33619

Re: Creating character sheets using IM

No problem.
by fmw42
2019-08-15T10:24:46-07:00
Forum: Users
Topic: Creating character sheets using IM
Replies: 16
Views: 33619

Re: Creating character sheets using IM

OK. But you could have explained the connection better.
by fmw42
2019-08-15T09:46:17-07:00
Forum: Users
Topic: Creating character sheets using IM
Replies: 16
Views: 33619

Re: Creating character sheets using IM

@mrvico

What does your post have to do with Creating character sheets?

Perhaps you posted to the wrong topic? If so, please delete your post and repost to the correct location. Otherwise, you post may be removed as off-topic.
by fmw42
2019-08-14T15:10:14-07:00
Forum: Users
Topic: Problem with -normalize when using Windows, ImageMagick 7.0.8-60 Q16 x64 2019-08-10
Replies: 13
Views: 14875

Re: Problem with -normalize when using Windows, ImageMagick 7.0.8-60 Q16 x64 2019-08-10

Sorry, I do not have Windows. But perhaps one of the other members could help. But I posted my example for you to use to test so that we can be sure that the image you use would show an affect and since you did not post any before and after examples. Would you confirm that the image that I provided ...
by fmw42
2019-08-14T13:01:59-07:00
Forum: Fred's Scripts
Topic: how to have emboss and deboss effect
Replies: 10
Views: 190829

Re: how to have emboss and deboss effect

You cannot use the same code for all the images. The first line of code was only for black text on a white background. It has a negate in it. That will mess up the third image, which is already white on transparent background. The transparent white will also mess it up, since it already is white and...
by fmw42
2019-08-14T11:47:52-07:00
Forum: Users
Topic: Using mathematical operators in commands?
Replies: 14
Views: 15775

Re: Using mathematical operators in commands?

I do not understand. You need the double quotes on a Mac. Are you sure you are using Unix on a Mac and not some Windows emulator on the Mac.
by fmw42
2019-08-14T10:53:50-07:00
Forum: Users
Topic: Using mathematical operators in commands?
Replies: 14
Views: 15775

Re: Using mathematical operators in commands?

I do not have \ on those parentheses. They are Unix parentheses not ImageMagick parentheses. In Unix for a computation using ImageMagick, you can use $(...) or backticks `...` Imagemagick parentheses must include \( and \) and have spaces on each side. If you are not using Unix as in Linux or Mac OS...
by fmw42
2019-08-14T10:50:59-07:00
Forum: Users
Topic: Crop Image within the border of specific color
Replies: 6
Views: 9937

Re: Crop Image within the border of specific color

This is in Unix. One of the Windows users can give you the equivalent. The technique is to clone the image to make a mask. In the clone, make anything not yellow into black and everything else white. Then flood fill from the center with white to make everything inside the yellow area including the y...
by fmw42
2019-08-14T10:37:53-07:00
Forum: Users
Topic: Using mathematical operators in commands?
Replies: 14
Views: 15775

Re: Using mathematical operators in commands?

Sorry my typo, you can only do that in IM 7 as described above. But you do need the double quotes. In IM 6, you have to compute a variable, then use the variable in the -resize. IM 7 magick input.jpg -resize "%[fx:20^2]" output.jpg IM6 var=$(convert xc: -format "%[fx:20^2]" info:...
by fmw42
2019-08-14T09:49:05-07:00
Forum: Users
Topic: Using mathematical operators in commands?
Replies: 14
Views: 15775

Re: Using mathematical operators in commands?

In Unix, you must enclose %[fx:20^2] in double quotes as per my example above.

convert input.jpg -resize "%[fx:20^2]" output.jpg
by fmw42
2019-08-14T09:47:12-07:00
Forum: Users
Topic: Crop Image within the border of specific color
Replies: 6
Views: 9937

Re: Crop Image within the border of specific color

Please post an image. You will need to upload to some free hosting service and put the URL here.
by fmw42
2019-08-14T09:45:56-07:00
Forum: Users
Topic: remove dots from picture before OCR
Replies: 3
Views: 10617

Re: remove dots from picture before OCR

You can use -connected-components to remove small dots. http://www.fmwconcepts.com/misc_tests/connected_components/img1.png convert img1.png \ \( +clone -threshold 70% -negate -type bilevel \ -define connected-components:area-threshold=5 \ -define connected-components:mean-color=true \ -connected-co...
by fmw42
2019-08-14T09:12:47-07:00
Forum: Users
Topic: Problem with -normalize when using Windows, ImageMagick 7.0.8-60 Q16 x64 2019-08-10
Replies: 13
Views: 14875

Re: Problem with -normalize when using Windows, ImageMagick 7.0.8-60 Q16 x64 2019-08-10

Normalize should not be the same as -auto-level. Auto-level stretches to full dynamic range. If the image is already at full dynamic range, it won't change. Normalize clips 2% at the black end and 1% and the white end. So it stretches a little past full dynamic range, but not much. If the image is a...
by fmw42
2019-08-14T09:04:14-07:00
Forum: Users
Topic: SVG and clipping path
Replies: 10
Views: 13672

Re: SVG and clipping path

Try removing and upgrading Inkscape. Be sure it install with no errors and has all needed delegates installed for it.