Search found 13 matches

by IM.nut
2019-12-21T13:43:16-07:00
Forum: Users
Topic: Center-justified Montage with No Resizing - Is Possible?
Replies: 1
Views: 1979

Center-justified Montage with No Resizing - Is Possible?

Having the dickens getting IM to montage up what I want. Input is 20+ png images of varied width and height (600>w>300, 400>h>200), total image files always a multiple of 3. Desired output is : A 3-column array, no constraint on overall width and height Each image at full scale (no image resizing!) ...
by IM.nut
2019-12-06T15:25:34-07:00
Forum: Developers
Topic: Gravity and justify...
Replies: 11
Views: 20107

Re: Gravity and justify...

IM is already an incredibly powerful tool; this would make it more so. Partially deferring to you, but keeping the dream alive.
by IM.nut
2019-12-06T13:33:20-07:00
Forum: Developers
Topic: Gravity and justify...
Replies: 11
Views: 20107

Re: Gravity and justify...

I'm not sure what you are asking for. "-define pango:justify=true" will split at work boundaries, and justify the left and right sides. It's the same as @cedk referenced back in 2010 in OP (not changing anything myself). The code snippet you mention does work great when used as intended. This sugge...
by IM.nut
2019-12-06T09:17:21-07:00
Forum: Developers
Topic: Gravity and justify...
Replies: 11
Views: 20107

Re: Gravity and justify...

Ancient request, but highest page rank (in two hours of searching) so posting here. Pango seemed like the best hope, but as @anthony notes in the Text reference doc , "I have not been able to get pango to selectively center just a single line of text." So it appears the workaround remains transformi...
by IM.nut
2019-12-02T15:37:43-07:00
Forum: Users
Topic: deskew
Replies: 11
Views: 9188

Re: deskew

To tie up this loose end, everything's ok without doing the 'resize' -- which is faster and easier so, a big NM. The test/setup images were from a batch of approx 200, which caused them to receive excessive scrutiny, I think. On running the full batch, IM7 deskewed everything amazingly well, and all...
by IM.nut
2019-11-13T20:19:36-07:00
Forum: Users
Topic: deskew
Replies: 11
Views: 9188

Re: deskew

My worst nightmare; answering one of the pros. Ha, but at least my entire post wasn't invalidated by something simple. Answers inline... What version of IM? "running 7.0.9-2 in Linux" (first line of second paragraph) Are your images "clean"...? Images are bona fide clean: At full resolution, GIMP au...
by IM.nut
2019-11-13T16:07:16-07:00
Forum: Users
Topic: Deskew not working, is it me?
Replies: 9
Views: 9645

Re: Deskew not working, is it me?

In this thread, @snibgo provides the following in second post:

Code: Select all

magick 300_01.tif ( +clone -fuzz 10% -fill White +opaque Black -deskew 40% -set option:DESK %[deskew:angle] +delete ) -rotate %[DESK] out.png
Maybe a little easier...
by IM.nut
2019-11-13T15:45:49-07:00
Forum: Users
Topic: deskew
Replies: 11
Views: 9188

Re: deskew

It's a bug, you say. So it is. At least, that's what I'm seeing and OP confirms. (Or maybe he sees and I...) Deskew worked perfectly on all image sizes with IM6. In IM7 (running 7.0.9-2 in Linux), apparently the deskew angle diminishes with increasing image sizes beyond a threshold. In my testing, t...
by IM.nut
2019-11-12T08:30:07-07:00
Forum: Users
Topic: reducing one channel while enhancing others
Replies: 4
Views: 5369

Re: reducing one channel while enhancing others

Confirming the code from three posts up works perfectly to alter single channels. Snippet: -channel g -evaluate multiply 0.9 +channel For this specific case, OP also wanted browns enhanced. (past tense; two years ago) IM, as stated, can do anything -- but not simultaneously lighten and darken the sa...
by IM.nut
2019-11-11T15:27:40-07:00
Forum: Users
Topic: How do you make configure run correctly on Debian?
Replies: 5
Views: 7895

Re: How do you make configure run correctly on Debian?

Fred's first answer was exactly right; the required packages have to be installed first. (The solution at his second post is scattershot. :) ) The task can seem daunting, but is simple: Find the package names for the delegate(s) desired, install, then re-run config and check near the bottom of the p...
by IM.nut
2014-02-25T06:19:57-07:00
Forum: Users
Topic: How to darken only pixels that meet a certain criteria?
Replies: 6
Views: 3274

Re: How to darken only pixels that meet a certain criteria?

That is amazing.

So it appears IM really can do everything. And if this kind of support is typical, it's certainly tops in the open source world.

Let me play with this to check the extremes, then apply to the whole batch. Will report back on results and list code that finally worked.

Many thanks.
by IM.nut
2014-02-24T16:52:47-07:00
Forum: Users
Topic: How to darken only pixels that meet a certain criteria?
Replies: 6
Views: 3274

Re: How to darken only pixels that meet a certain criteria?

What version of Imagemagick? What platform? Can you post a link to an example image? You can upload to some free hosting service such as dropbox and put a link here. Best to have an example to test with. Apologies, Fred (and thanks for your excellent IM scripts page), meant to include that in the O...
by IM.nut
2014-02-24T14:13:38-07:00
Forum: Users
Topic: How to darken only pixels that meet a certain criteria?
Replies: 6
Views: 3274

How to darken only pixels that meet a certain criteria?

Admittedly new to IM, but already having success with it. This challenge, though, has me stumped (after several more hours of research) so asking here. Dealing with scans of 100-year-old, pencil-written notes in which the paper has darkened and the pencil lightened so contrast and readability have b...