[Gimp-user] Binary Search Zoom?

These old gimp forums gimptalk.com, gimpforums.com...etc dead because
owner abandoned / not maintained / only contain spam.

This is not the best forum for your question, it is linked to a
mailing list which is unlikely to help. I can think of one actual
gimpusers.com forum member here that might give scripting advice.

There are other forums, even reddit might get you somewhere. You have
some very definite requirements, not too sure what you mean by a
manual binary search, presumably looking at images to determine
matching areas.

Using a tape measure to determine a scale? Depends on the images but
you can do the same (perhaps with sufficient accuracy) with a path and
in Gimp 2.10 using the handle transform tool. Easier scaling-down, but
scaling-up is possible with some canvas resizing.

best of luck.

Thanks - I asked in the GIMP subreddit, we'll see what happens.

What I mean by manual binary search is to zoom in/out until the image shows at
scale. Something like this (note, numbers aren't exact binary search numbers
because that would be too tedious to calculate, but you get the idea):

1) Image loads at 50% zoom.
2) Image is too big. Zoom to 33.3%.
3) Image is too small. Zoom to 44%.
4) Image is too big. Zoom to 40%.
5) Image is close but too small. Zoom to 40.5%

etc, until the image is life scale. It usually takes 10-15 steps. Not a big
deal, but entering zoom percentages manually over and over gets tedious. It
would be faster to just have "make it larger" and "make it smaller" buttons that
worked in a binary search manner.

We aren't modifying the image in any way, just changing the zoom.

Smo (via www.gimpusers.com/forums)

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]