Search found 9 matches

by bwroga
2019-06-07T12:24:26-07:00
Forum: Users
Topic: Cannot compose and set extent
Replies: 3
Views: 4176

Re: Cannot compose and set extent

fmw42 wrote: 2019-06-07T09:17:40-07:00 after -composite add -compose over to reset the compose method. -extend uses the current compose, which you have as plus.
Thank you!
by bwroga
2019-06-07T08:11:21-07:00
Forum: Users
Topic: Cannot compose and set extent
Replies: 3
Views: 4176

Re: Cannot compose and set extent

I forgot to mention, I want to set the extent on the image after the two have been composited, not on just the background or overlay.
by bwroga
2019-06-07T08:07:55-07:00
Forum: Users
Topic: Cannot compose and set extent
Replies: 3
Views: 4176

Cannot compose and set extent

I am able to compose two images with this command magick original/20190604_153319_0001.TIF corrected/temp/streaks/20190604_153319_0001.png -compose plus -composite x.png but when I try to set the extent, the output image is completely white magick original/20190604_153319_0001.TIF corrected/temp/str...
by bwroga
2019-05-04T13:36:48-07:00
Forum: Users
Topic: Align Hole Punches
Replies: 17
Views: 31236

Re: Align Hole Punches

snibgo wrote: 2019-04-28T04:29:36-07:00 Can you take it from there? If you need help, I suggest you link to a couple of sample scans.
I got it working! Thanks for your help!
by bwroga
2019-05-03T16:30:23-07:00
Forum: Users
Topic: Percent Escapes with Extent
Replies: 6
Views: 5516

Re: Percent Escapes with Extent

I think I'll go ahead and upgrade, I was using 6.9.7-4. Thank you everyone.
by bwroga
2019-05-03T15:49:40-07:00
Forum: Users
Topic: Percent Escapes with Extent
Replies: 6
Views: 5516

Percent Escapes with Extent

Is it possible to use percent escapes with the -extent option? I would like to swap the width and height of an image, but keep everything else the same. I tried all of the following: convert a.png -extent %hx%w d.png convert a.png -extent '%hx%w' d.png convert a.png -extent '%[h]x%[w]' d.png convert...
by bwroga
2019-04-29T13:43:15-07:00
Forum: Users
Topic: Align Hole Punches
Replies: 17
Views: 31236

Re: Align Hole Punches

I didn't know that IM had something called connected components, I thought you were just referring to the connected components algorithm in general. That's great.

I think I have a good handle on it. Thanks for your help.
by bwroga
2019-04-27T18:35:13-07:00
Forum: Users
Topic: Align Hole Punches
Replies: 17
Views: 31236

Re: Align Hole Punches

A suppose that in each scanned image, the holes are near to one edge. Correct? Is it the same edge for all images? If so, this reduces the search area, which can be cropped. Better still, the cropped area contains just white paper, black holes and black paper-edge, with some noise. It that correct?...
by bwroga
2019-04-27T12:56:38-07:00
Forum: Users
Topic: Align Hole Punches
Replies: 17
Views: 31236

Re: Align Hole Punches

It's nine years since the original post, but I am trying to figure out how to locate the position of 'acme' elongated holes. My idea was to repeatedly thin inwards from the top, bottom, left and right until just one pixel remains and will hopefully be the center of the hole. This could even work for...