Search found 25047 matches

by fmw42
2019-06-12T15:45:21-07:00
Forum: Users
Topic: Cut image in horizontal slices
Replies: 9
Views: 633

Re: Cut image in horizontal slices

Please do not post in two places. Try this with the image you posted. Put it in a folder (I called it testing). In the future, I suggest you do not put spaces in file names. It just makes it harder to process. You must then put quotes about the name. I make no guarantees that the blur value of 0x4 a...
by fmw42
2019-06-12T14:06:23-07:00
Forum: Users
Topic: Cut image in horizontal slices
Replies: 9
Views: 633

Re: Cut image in horizontal slices

-connected components list regions from largest to smallest. So you will need to filter on the bounding box Y coordinate to sort in top to bottom order.
by fmw42
2019-06-12T14:03:35-07:00
Forum: Bugs
Topic: Problem with Group 4 compression on B&W TIFF
Replies: 10
Views: 665

Re: Problem with Group 4 compression on B&W TIFF

Proper IM syntax would be to read the image first. Though that may not make a difference in some cases. ImageMagick see your image as uncompresses with Filesize: 3706920B So 3.7 MB I ran convert 00000004.tif -compress group4 x.tif On my Mac OSX Sierra using IM 6.9.10.49 Q16 with LIBTIFF, Version 4.0...
by fmw42
2019-06-12T11:29:34-07:00
Forum: Users
Topic: Lower half of tikzcd images truncated by convert
Replies: 4
Views: 396

Re: Lower half of tikzcd images truncated by convert

As best as I can tell, it is not ImageMagick truncating it. Your PS file has a ps:HiResBoundingBox: 178x90+245+603 that limits what is used and tells IM what to convert. I see the same result using Mac Preview and Photoshop.
by fmw42
2019-06-12T08:23:22-07:00
Forum: Users
Topic: Cut image in horizontal slices
Replies: 9
Views: 633

Re: Cut image in horizontal slices

One way is to average your images down to 1 column. Then scan the column for the middle of pure white (or max gray level) and split there. You will have to combine the titles back with the first bar.
by fmw42
2019-06-12T08:21:34-07:00
Forum: Users
Topic: Lower half of tikzcd images truncated by convert
Replies: 4
Views: 396

Re: Lower half of tikzcd images truncated by convert

Post one of your PS files so we can test. Also GS 9.26 has been know to be buggy as is 9.27. Try downgrading to 9.23 - 9.25
by fmw42
2019-06-09T15:12:16-07:00
Forum: Developers
Topic: multipage tiff file to array of regular images using ImageMagick functions
Replies: 4
Views: 533

Re: multipage tiff file to array of regular images using ImageMagick functions

Please always provide your IM version when asking questions and platform/OS. What have you tried? Do you have any code?
by fmw42
2019-06-09T10:27:49-07:00
Forum: Users
Topic: New to Imagemagick, need something to be clarified
Replies: 14
Views: 754

Re: New to Imagemagick, need something to be clarified

(first one is dead tho)
Yes, it was lost some weeks ago and cannot be retrieved. So I will take that out of my list. It was advice how to ask intelligent questions on this forum.
by fmw42
2019-06-08T23:21:39-07:00
Forum: Users
Topic: how to specify diffferent color in a loop in script
Replies: 10
Views: 2760

Re: how to specify diffferent color in a loop in script

(Is there some way to tell im to consider origin at bottom left ?)
Not that I am aware. But you can flip the image vertically, then process, then flip vertically again.
by fmw42
2019-06-08T19:36:03-07:00
Forum: Users
Topic: [SOLVED] append colored text to an image
Replies: 4
Views: 373

Re: append colored text to an image

You can do that by splicing white at the bottom, then using -annotate, then splicing a bit more. convert logo: -background white -gravity south -splice 0x20 -fill red -pointsize 18 -annotate +0+0 "testing" -splice 0x5 result.png or you can use montage. montage -label "testing" logo: -background whit...
by fmw42
2019-06-08T18:41:41-07:00
Forum: Users
Topic: Drawing different shapes with Imagemagick
Replies: 1
Views: 260

Re: Drawing different shapes with Imagemagick

In ImageMagick command line (last line of code) and bash shell scripting, this draws polygons, in this case 6 sides (hexagon). It does so by drawing x,y coordinates along the perimeter of a circle (given radius) equally spaced. The offset controls the starting vertex. In this case 30 deg so that one...
by fmw42
2019-06-08T16:40:06-07:00
Forum: Users
Topic: New to Imagemagick, need something to be clarified
Replies: 14
Views: 754

Re: New to Imagemagick, need something to be clarified

See parenthesis processing at https://imagemagick.org/Usage/basics/#parenthesis For novices, see http://www.imagemagick.org/discourse-server/viewtopic.php?f=1&t=9620 http://www.imagemagick.org/script/command-line-processing.php http://www.imagemagick.org/Usage/reference.html http://www.imagemagick.o...
by fmw42
2019-06-08T16:37:57-07:00
Forum: Users
Topic: ImageMagick with Preview
Replies: 12
Views: 859

Re: ImageMagick with Preview

Option-right-click gets me a new window with 3x magnification and as long as I don't let go, I can move around the image with it. The coords of the pixel under the cursor are given in the new window.
That is what I cannot get to work. Perhaps I have a shortcut involving option- that interferes.
by fmw42
2019-06-08T16:36:43-07:00
Forum: Bugs
Topic: compare of identical tiffs returns all points are different
Replies: 13
Views: 693

Re: compare of identical tiffs returns all points are different

Is your TIFF jpg compressed? If so and that is an old jpg compression format, that could be an issue.
by fmw42
2019-06-08T13:32:05-07:00
Forum: Bugs
Topic: Negative gray gradients
Replies: 5
Views: 380

Re: Negative gray gradients

Thanks. I understand.