Search found 74 matches

by coloring
2019-02-11T17:11:45-07:00
Forum: Users
Topic: How would you go about separating elements from their background?
Replies: 9
Views: 2473

Re: How would you go about separating elements from their background?

Thanks! Non-GNU Linux or macOS are fine too. From there I can figure out how to translate it for Windows.
by coloring
2019-02-11T13:17:15-07:00
Forum: Users
Topic: How would you go about separating elements from their background?
Replies: 9
Views: 2473

Re: How would you go about separating elements from their background?

C:> magick.exe --version Version: ImageMagick 7.0.8-16 Q16 x64 2018-12-10 http://www.imagemagick.org Copyright: Copyright (C) 1999-2018 ImageMagick Studio LLC License: http://www.imagemagick.org/script/license.php Visual C++: 180040629 Features: Cipher DPC HDRI Delegates (built-in): bzlib cairo fli...
by coloring
2019-02-11T09:40:56-07:00
Forum: Users
Topic: How to convert color dump to image?
Replies: 3
Views: 825

Re: How to convert color dump to image?

Thanks. Can IM accept other text input formats such as csv, or must the text file's formatting match the dump format exactly?
by coloring
2019-02-11T07:52:30-07:00
Forum: Users
Topic: How to convert color dump to image?
Replies: 3
Views: 825

How to convert color dump to image?

Given: convert rose: txt: > color_dump.txt How can I convert color_dump.txt or any other text-editable list of colors and coordinates back to an image file? The goal is to be able to manually correct a few pixels from images with millions of colors, in vim without opening an image editor, so XBM, XP...
by coloring
2019-02-11T07:49:54-07:00
Forum: Users
Topic: How would you go about separating elements from their background?
Replies: 9
Views: 2473

Re: How would you go about separating elements from their background?

In this case, the borders are not fuzzy at all. I am trying to isolate widgets such as fields and buttons from a screenshot.
by coloring
2019-01-09T14:16:17-07:00
Forum: Users
Topic: How would you go about separating elements from their background?
Replies: 9
Views: 2473

How would you go about separating elements from their background?

I would like to separate "islands" (icons) from a "sea" (background). The difficulty is that the background can have more than one color depending on the area. In other words, I need to make "islands of content" stand out from the "background sea". I suppose the technique would be somewhat similar t...
by coloring
2019-01-02T14:10:30-07:00
Forum: Users
Topic: Compose: Overlay over multiple coordinates w/o loop [Solved]
Replies: 14
Views: 2519

Re: Compose: Overlay over multiple coordinates w/o loop

Something is wrong. Here is my version: C:> magick.exe --version Version: ImageMagick 7.0.8-16 Q16 x64 2018-12-10 http://www.imagemagick.org Copyright: Copyright (C) 1999-2018 ImageMagick Studio LLC License: http://www.imagemagick.org/script/license.php Visual C++: 180040629 Features: Cipher DPC HDR...
by coloring
2019-01-02T13:46:01-07:00
Forum: Users
Topic: Compose: Overlay over multiple coordinates w/o loop [Solved]
Replies: 14
Views: 2519

Re: Compose: Overlay over multiple coordinates w/o loop

Okay. It just seemed odd that they are all the same size (18,945 KB).
by coloring
2019-01-02T13:11:01-07:00
Forum: Users
Topic: Compose: Overlay over multiple coordinates w/o loop [Solved]
Replies: 14
Views: 2519

Re: Compose: Overlay over multiple coordinates w/o loop

If your command is too long for the shell, write it to a file without the executable name or shell escapes, and run it as a magick script: magick -script myscript.txt A godsend! Aren't compare.exe, composite.exe, conjure.exe, convert.exe, identify.exe, magick.exe, mogrify.exe, montage.exe, and stre...
by coloring
2018-12-31T14:04:20-07:00
Forum: Users
Topic: Compose: Overlay over multiple coordinates w/o loop [Solved]
Replies: 14
Views: 2519

Re: Compose: Overlay over multiple coordinates w/o loop

80% of the time, yes. I will add a loop to execute IM for every group of 238 coordinates to overcome this limitation. Does that mean there are no shortcuts for -clone and -set page? How come spaces inside the brackets are necessary?
by coloring
2018-12-31T13:45:36-07:00
Forum: Users
Topic: Compose: Overlay over multiple coordinates w/o loop [Solved]
Replies: 14
Views: 2519

Re: Compose: Overlay over multiple coordinates w/o loop

In Windows, with the maximum length of the command string being limited to 8191 characters and "( -clone 1 -set page +NNNN+NNNN ) " taking up 34 characters -- assuming no shorter forms exist --, the number of coordinates that can fit in a single line is at least 238.

Code: Select all

(8191-90)/34=238
by coloring
2018-12-31T11:57:23-07:00
Forum: Users
Topic: Compose: Overlay over multiple coordinates w/o loop [Solved]
Replies: 14
Views: 2519

Re: Compose: Overlay over multiple coordinates w/o loop

Thanks! What what if the number of coordinates is not fixed? Can I provide a text file with a list of coordinates? The Pins in a Map example is close, but I am running plain Windows. If not, perhaps I could use a loop to generate the command text, and then execute the result. The idea is to avoid ex...
by coloring
2018-12-31T11:00:25-07:00
Forum: Users
Topic: Compose: Overlay over multiple coordinates w/o loop [Solved]
Replies: 14
Views: 2519

Compose: Overlay over multiple coordinates w/o loop [Solved]

How can I overlay Small.png over Large.png at multiple coordinates without a loop? I am currently looping this command (+0+0 is replaced with different coordinates every iteration): convert.exe Large.png Small.png -geometry +0+0 -compose over -composite Large.png Could I "-geometry" accept a multi-l...
by coloring
2018-12-26T13:32:50-07:00
Forum: Users
Topic: Replace placeholder area with different image
Replies: 18
Views: 6034

Re: Replace placeholder area with different image

From: https://cdn.imgpaste.net/2018/12/27/HNpfS.png To: https://cdn.imgpaste.net/2018/12/27/HN8pm.png Please note that fonts are not anti-aliased, so pixel-perfect matching should be possible. Modifying the data before taking the screenshot is not an option given the amount of screenshots to process...
by coloring
2018-12-21T15:01:33-07:00
Forum: Users
Topic: Replace placeholder area with different image
Replies: 18
Views: 6034

Re: Replace placeholder area with different image

The red squares represent digits, icons, and sometimes letters in screenshots. They are always smaller than 32x32 (usually about 16x16), and there can be up to 50 instances in a single source screenshot.