Search found 23893 matches

by fmw42
2018-10-20T22:32:37-07:00
Forum: Magick.NET
Topic: What Transformation For .JPG Format ?
Replies: 1
Views: 21

Re: What Transformation For .JPG Format ?

You can do most everything. The operations are not format dependent for the most part.
by fmw42
2018-10-20T22:31:21-07:00
Forum: Users
Topic: Unwanted gaps between combined PNG images
Replies: 29
Views: 812

Re: Unwanted gaps between combined PNG images

By the way, the order of the options in the code does not seem to matter in my case.
It would in ImageMagick 7.
by fmw42
2018-10-20T20:49:21-07:00
Forum: Users
Topic: Get coordinates Top, Left, size of some areas
Replies: 46
Views: 657

Re: Get coordinates Top, Left, size of some areas

Looks pretty nice. You seem to know your way around the unix tools.
by fmw42
2018-10-20T20:46:45-07:00
Forum: Users
Topic: Unwanted gaps between combined PNG images
Replies: 29
Views: 812

Re: Unwanted gaps between combined PNG images

First your syntax is not proper, but likely will work on IM 6, since it is more forgiving. Proper syntax for raster images is to read the images first, then settings, then operators, then the output. Second, your PNG images have some transparent white around the edges, which is what causes the black...
by fmw42
2018-10-20T16:03:09-07:00
Forum: Users
Topic: Unwanted gaps between combined PNG images
Replies: 29
Views: 812

Re: Unwanted gaps between combined PNG images

Snibgo is correct. We need your starting files and commands to get to PNGs or JPEGs. So the PNGs will not be needed. Post the EPS files say on dropbox.com and put the URLs here or zip all the EPS files and post it and the put that URL here.
by fmw42
2018-10-20T15:37:33-07:00
Forum: Users
Topic: Unwanted gaps between combined PNG images
Replies: 29
Views: 812

Re: Unwanted gaps between combined PNG images

Please post your PNG file so we can test to see what is the problem. You can use dropbox.com, which will not change them to JPG and then post the URLs. Or just zip your file and then post the URL of the zip file.
by fmw42
2018-10-20T15:31:39-07:00
Forum: Users
Topic: Get coordinates Top, Left, size of some areas
Replies: 46
Views: 657

Re: Get coordinates Top, Left, size of some areas

It does not look much different. Did you try to extract the colored boxes from your input.png? If that does not work, then you could make a color table image containing only the main colors in your image. The do -remap to ensure that only those colors are in the resulting image. Then do CCL on the c...
by fmw42
2018-10-20T14:22:20-07:00
Forum: Users
Topic: Get coordinates Top, Left, size of some areas
Replies: 46
Views: 657

Re: Get coordinates Top, Left, size of some areas

That is tough since I see no way to distinguish between the top red box and the one just below it. They are the same color. I think you will have to flood fill just the ones you want to keep or remove. See -fill newcolor -fuzz XX% -draw "color x,y floodfill". Perhaps flood fill all the boxes you wan...
by fmw42
2018-10-20T14:17:26-07:00
Forum: Bugs
Topic: HYSPLIT Failed to open
Replies: 1
Views: 34

Re: HYSPLIT Failed to open

What platform are you on and what version of Imagemagick did you install. Your tool may need the older Imagemagick 6 rather than the newer Imagemagick 7. Did you install all the utilities at https://www.ready.noaa.gov/HYSPLIT_util.php before installing Imagemagick?
by fmw42
2018-10-20T12:13:21-07:00
Forum: Users
Topic: Get coordinates Top, Left, size of some areas
Replies: 46
Views: 657

Re: Get coordinates Top, Left, size of some areas

@cgkas. I do not think we can help until you post your original input.png (in PNG format). Posting as JPG changes the colors and so your command to process the image won't work.
by fmw42
2018-10-20T12:03:40-07:00
Forum: Users
Topic: Get coordinates Top, Left, size of some areas
Replies: 46
Views: 657

Re: Get coordinates Top, Left, size of some areas

snibgo, I changed the code after reading your reply and cgkas reply as I mentioned just above your last post here. I think that also is cleaner code. Here is are examples from a Google search: https://unix.stackexchange.com/questions/78925/how-to-sort-by-multiple-columns/78926 https://stackoverflow....
by fmw42
2018-10-20T11:14:59-07:00
Forum: Users
Topic: Get coordinates Top, Left, size of some areas
Replies: 46
Views: 657

Re: Get coordinates Top, Left, size of some areas

I edited my code to use -k 3,3 -k 2,2 (also -k 3 -k 2 works). This produces the same results for me as with -k 3,2. Use whatever works. Thanks snibgo for looking into that on your Cygwin.
by fmw42
2018-10-19T20:44:05-07:00
Forum: Bugs
Topic: [Closed] possible bug -stereo using convert IM 6.9.10.11
Replies: 2
Views: 908

Re: possible bug -stereo using convert IM 6.9.10.11

The bug seems to be fixed in IM 6.9.10.12
by fmw42
2018-10-19T19:02:34-07:00
Forum: Users
Topic: Get coordinates Top, Left, size of some areas
Replies: 46
Views: 657

Re: Get coordinates Top, Left, size of some areas

Perhaps your sort does not know about -g. So try -n convert BW.jpeg -threshold 50% -type bilevel \ -define connected-components:verbose=true \ -define connected-components:area-threshold=2000 \ -connected-components 4 \ null: | awk 'NR>2 {print $2}' | sort -n -t "+" -k 3,2 264x40+680+109 423x145+530...
by fmw42
2018-10-19T18:52:10-07:00
Forum: Users
Topic: Get coordinates Top, Left, size of some areas
Replies: 46
Views: 657

Re: Get coordinates Top, Left, size of some areas

I suspect your sort is not sorting. Check your sort command and see if it supports the same features. Test my short code above and see if you can modify the sort to give the same order. The -g means compare according to general numerical value (not text order) The -t is the field separator. I use th...