Search found 12151 matches

by snibgo
2019-10-16T20:17:41-07:00
Forum: Users
Topic: How delete rows from pictures?
Replies: 2
Views: 45

Re: How delete rows from pictures?

For the examples given, connected components would work. Turn non-white into black, with a fuzz factor eg 5% because the input is JPG. Find the largest black object. Use that as a mask to get just the object. magick dimmed02.jpg ^ ( +clone -fuzz 5% -fill Black +opaque white ^ -define "connected-comp...
by snibgo
2019-10-16T18:58:02-07:00
Forum: Magick++
Topic: Do the Windows binary releases contain Magick++?
Replies: 2
Views: 80

Re: Do the Windows binary releases contain Magick++?

If I knew the answer, I'd happily tell you.

At the binary installation, there is a option for "Install development headers and libraries for C and C++". I've never tried this, and don't know if it provides whatever your build tools need.

Perhaps you can try it, and tell us if it works?
by snibgo
2019-10-16T10:19:42-07:00
Forum: Bugs
Topic: Issue with "-compose lighten" with IM 7.0.8-68
Replies: 3
Views: 82

Re: Issue with "-compose lighten" with IM 7.0.8-68

It seems to work fine on v7.0.8-64 on Windows 8.1.
by snibgo
2019-10-16T09:04:28-07:00
Forum: Users
Topic: Convert - Mogrify - Append - Same Filename | Windows IM7.0.8
Replies: 5
Views: 108

Re: Convert - Mogrify - Append - Same Filename | Windows IM7.0.8

The question is really about scripting, not ImageMagick. This is an ImageMagick forum, not a scripting forum. But I'm feeling generous. Windows BAT syntax: for %%Z in (*-001-*.png) do ( echo %%Z for /F "tokens=1-5 delims=-." %%A in ("%%Z") do set PREFIX=%%A-%%B-%%C-%%D-%%E- echo PREFIX=!PREFIX! for ...
by snibgo
2019-10-16T05:55:10-07:00
Forum: Users
Topic: Convert - Mogrify - Append - Same Filename | Windows IM7.0.8
Replies: 5
Views: 108

Re: Convert - Mogrify - Append - Same Filename | Windows IM7.0.8

For IM v7, I suggest you use "magick". ...images all named "year-month-day-hour-minute-###-tags" I suppose an example filename would be 2019-10-16-13-46-003-dogs-people.png". Is that correct? If not, please give some samples. Do all the files with the same date/time have the same tags, so they diffe...
by snibgo
2019-10-15T16:34:26-07:00
Forum: Users
Topic: Use of smush when combining images
Replies: 4
Views: 88

Re: Use of smush when combining images

Umm, smush can overlap. As far as I know, smush always places the second on top of the first, and the third on top of that, and so on. A couple of rotations will effectively reverse the order: convert granite: rose: -rotate 180 -background none -gravity west +smush -10 -rotate 180 rosegran.png http:...
by snibgo
2019-10-15T10:04:50-07:00
Forum: Users
Topic: Convert image from clipboard to clipboard (?)
Replies: 1
Views: 49

Re: Convert image from clipboard to clipboard (?)

What version of IM, on what platform?

On Windows, you can use "clipboard:" for input or output, eg:

Code: Select all

convert %1 -fuzz 0 -fill "#FFFFFF" -opaque "#000000" clipboard:
convert clipbord: -fuzz 0 -fill "#FFFFFF" -opaque "#000000" %1
by snibgo
2019-10-15T03:31:56-07:00
Forum: Users
Topic: Color banding with high blur values
Replies: 4
Views: 98

Re: Color banding with high blur values

Your output.png is still only 8-bit. Is that also a screenshot? Please post the actual file, not a screenshot. As a test, I suggest you insert "+write abc.png" after the blur, to save just that image. Check this is 16-bit. Then: magick abc.png -auto-level abc2.png This may show clear banding. With G...
by snibgo
2019-10-15T02:13:41-07:00
Forum: Users
Topic: Color banding with high blur values
Replies: 4
Views: 98

Re: Color banding with high blur values

Your linked image is 8-bit.

Your code doesn't have "-depth 16".

What version of IM? What does "magick -version" say?

I suggest you use "magick", not "magick convert".
by snibgo
2019-10-14T23:00:25-07:00
Forum: Fred's Scripts
Topic: Multicrop fails to output files
Replies: 5
Views: 134

Re: Multicrop fails to output files

You use "-u 2" which, as the script says, calls Fred's unrotate script. The error message "unrotate: command not found" suggests you don't have that.
by snibgo
2019-10-14T13:03:44-07:00
Forum: Bugs
Topic: Issue with color conversion IM 6.9.10.68 Q16 Mac OSX
Replies: 3
Views: 127

Re: Issue with color conversion IM 6.9.10.68 Q16 Mac OSX

The problem is that HSV text output, for the hue channel, is in degrees (scale 0 to 360). But the input is a percentage (scale 0 to 100). For example: f:\web\im>%IMG7%magick xc:hsv(10,100%,100%) txt: # ImageMagick pixel enumeration: 1,1,65535,hsv 0,0: (6553.5,65535,65535) #199AFFFFFFFF hsv(36,100%,1...
by snibgo
2019-10-14T10:28:23-07:00
Forum: Users
Topic: Generate tiles for all pages of multi-page PDF
Replies: 4
Views: 90

Re: Generate tiles for all pages of multi-page PDF

I have experimented with positioning the -flatten argument in various positions in the above command, ... Why? You don't want to flatten the pages together, do you?. See http://www.imagemagick.org/script/command-line-options.php#flatten For percent-escapes, see http://www.imagemagick.org/script/esc...
by snibgo
2019-10-14T08:52:33-07:00
Forum: Users
Topic: Generate tiles for all pages of multi-page PDF
Replies: 4
Views: 90

Re: Generate tiles for all pages of multi-page PDF

You "-flatten" all the pages together.
by snibgo
2019-10-14T06:51:12-07:00
Forum: Users
Topic: Split image into large tiles?
Replies: 8
Views: 123

Re: Split image into large tiles?

magick frames.png -crop 216x120 tile%03d.png :info magick: unable to open image 'tile%03d.png': No such file or directory @ error/blob.c/OpenBlob/3497. That command is garbage. Try the commands I showed you. info: frames.png PNG 216x8880 216x120+0+0 8-bit sRGB 3.5611MiB 0.000u 0:00.000 That's the p...
by snibgo
2019-10-14T06:35:00-07:00
Forum: Users
Topic: Split image into large tiles?
Replies: 8
Views: 123

Re: Split image into large tiles?

Your command works fine for me, using v7.0.8-64 on Windows 8.1. I suggest you use "magick", not "magick convert". The usual Windows directory separator is backslash \ not forward-slash /. However, these make no difference for me. What does identify say about your input frames.png? Please post the te...