Page 1 of 2

Zoom to a defined screen-section while browsing

Posted: Sat Mar 29, 2008 10:47 pm
by Peter2
I have a lot of TIF-files, made by scanning old plans (road construction, architecture, ..). The files have different sizes (DIN A4, A3, A2, ..) and different rotation (landscape, portrait), but always they have in the right lower corner the header of the plan: 5 cm high and 15 long.

Sometimes I want to browse through my scans and want to display (to zoom to it; not really cropping ...) only the header.

Is it possible?

Peter

Re: Zoom to a defined screen-section while browsing

Posted: Sun Mar 30, 2008 3:01 pm
by xnview
Peter2 wrote: Sometimes I want to browse through my scans and want to display (to zoom to it; not really cropping ...) only the header.
Lock zoom?

Re: Zoom to a defined screen-section while browsing

Posted: Sun Mar 30, 2008 3:29 pm
by Peter2
xnview wrote:Lock zoom?
No - sorry.

This function locks the scale factor (i.e. 450%) and zoom always to the centre of the next image.
I need to
- lock the zoom
- on an absolute area (i.e. 15 x 5 cm or -15 x +5 cm) and
- with beginning on a point which is semi absolute/relative: the right lower corner of the image.

Peter

Loupe

Posted: Sun Mar 30, 2008 4:25 pm
by Clo
:arrow: Pierre

:) Hello !

Peter2 needs a magnifying glass (loupe) to blow up only the area of a mobile selection when you move it over the image…

:mrgreen: KR
Claude
Clo

Re: Loupe

Posted: Sun Mar 30, 2008 4:55 pm
by Peter2
Clo wrote:Peter2 needs a magnifying glass (loupe) to blow up only the area of a mobile selection when you move it over the image…
That is a fine feature too, but not the think I am looking for. I hope I described it correct in my posting above.

Peter

If default…

Posted: Sun Mar 30, 2008 5:05 pm
by Clo
:arrow: Peter2

:) Hello !
…I hope I described it correct in my posting above.
• Yes, you did. I thought that the magnifying glass could do the trick too,
supposing it's displayed by default at the right-bottom corner, with a 15×5 cm size…:wink:

:mrgreen: KR
Claude
Clo

Re: Zoom to a defined screen-section while browsing

Posted: Mon Mar 31, 2008 6:56 am
by xnview
Peter2 wrote:
xnview wrote:Lock zoom?
No - sorry.

This function locks the scale factor (i.e. 450%) and zoom always to the centre of the next image.
I need to
- lock the zoom
- on an absolute area (i.e. 15 x 5 cm or -15 x +5 cm) and
- with beginning on a point which is semi absolute/relative: the right lower corner of the image.
So something like Lock Zoom & Lock position?

Re: Zoom to a defined screen-section while browsing

Posted: Mon Mar 31, 2008 12:25 pm
by Peter2
xnview wrote:So something like Lock Zoom & Lock position?
"Lock of size and intelligent calculation of position" - I will send you some examples of the files which I mean.

Peter

Posted: Thu Apr 03, 2008 7:43 pm
by Peter2
Hello Pierre

some ideas for this problem?

Peter

Posted: Fri Apr 04, 2008 2:13 pm
by JohnFredC
You know, this seems like something that could be added to the grid functionality.

If a grid definition dialog such as the one I drew up inthis topic was available, one could set the grid to x divisions horizontally, y divisions vertically, have the grid persist between images, and then ask XnView (somehow) to center and zoom on a designated grid cell.

One could select the appropriate grid for the group of images, turn grid visibility off (if desired), then navigate the images, with XnView keeping the selected grid cell in view...

This would really work great when comparing regions in otherwise identical images of differing resolution.

Just an idea, connected to others I would find useful in XnView.

Predefined area, zoom in here only…

Posted: Fri Apr 04, 2008 4:11 pm
by Clo
:arrow: JohnFredC

:) Hello John !

• IIUC, Peter2 needs the capability to blow up the "title blocks" of his plans which are always 5×15 cm
and set at the right-bottom corner of the images.
• In XnView, a command could make that area "hot" to be blown up, then he could zoom-in it only using
either the normal zoom feature (called in that goal by the special command "cmd_ZoomHotOnly" or so),
or some kind of (Billdows ?) magnifying glass, that I thought to prior…

What do you think ? Indeed, any synthesis of all ideas is welcome… and I began a mock-up for such an option.

:mrgreen: KR
Claude
Clo

Posted: Fri Apr 04, 2008 5:07 pm
by JohnFredC
Hi Clo!

Another approach might be a "reverse loupe" where the user drags a (resizeable) marque around a small proxy of the image. The actual view and its zoom center would follow the marque in the proxy.

Then, a user could click a little "lock" symbol on the reverse loupe to force XnView to open every subsequent image at the center of the marque's relative location and with a zoom amount indicated by the size of the marque on the proxy...

This is just a recycling of the widely used (in other graphics tools) navigator thumbnail idea, but with the addition of a lock feature.

Polished up…

Posted: Fri Apr 04, 2008 10:32 pm
by Clo
:arrow: JohnFredC

:) Hi John !
…This is just a recycling of the widely used (in other graphics tools) navigator thumbnail idea…
• I thought also to use the thumb nails stuff, but as a variable size "at will",
I don't know if it's that easy to implement for the author…
- I polished up my above proposal, it could be handy and useful in other cases for many users :

ImageImage

• All fits on the current dialogue…

:mrgreen: KR
Claude
Clo

Posted: Fri Apr 04, 2008 11:31 pm
by marsh
>Clo
It would be interesting to see its position grid mapped onto the numpad keys. So pressing <numpad + 9> would teleport over to that quadrant. Just a little keyboard navigation to mix into this. Leaping from one part of huge image to another.

Posted: Sat Apr 05, 2008 12:10 am
by JohnFredC
Hi Clo...

I like your design!

But wouldn't this functionality be of a more "ad hoc" nature? By that I mean as a separate popup dialog attached to a button or menu item, perhaps.

(And that brings up the more fundamental - and OT - question of the hierarchy of XnView options. There are basic options that one changes rarely, and dynamic (?) options that one may change many times during an XnView session. Which are which?)