A new grid system in which grid zoom in and out with the pic

Ideas for improvements and requests for new features in XnView Classic

Moderators: helmut, XnTriq, xnview

Post Reply
jeeg
Posts: 62
Joined: Wed Mar 18, 2009 8:11 pm

A new grid system in which grid zoom in and out with the pic

Post by jeeg »

Hi.
I'm working on a few spritesheet for a retro videogame.
So for the first time I wanted to use the grid of Xnview.

I'm very disappointed because that grid it's very limited. You can choose the dimension of each square of the grid in pixels only.
But mor important that grid doesn't zoom up and down when you zoom the picture. It's always at the same dimension.
The size of the squares it refers to "screen space" and so if you choose for example a grid of 20pixel it will always be 20 pixel on the monitor even if you zoom in the photograph.

I think that you should add a "screen pixel/image pixel" switch in the panel to set the grid!

Thank you.
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: A new grid system in which grid zoom in and out with the

Post by xnview »

so you would like to have an option to zoom into the grid? grid width stay with 1 pixel?
Pierre.
jeeg
Posts: 62
Joined: Wed Mar 18, 2009 8:11 pm

Re: A new grid system in which grid zoom in and out with the

Post by jeeg »

I'm sorry for my bad english. I know it's hard to understand me.

I try with an example.

In Photoshop you can specify the widht of the grid as in Xnview.
But when you zoom in and zoom out the picture the grid will zoom in and out accordingly so that all the lines of the grid will be always in the same position in the picture.

Instead in Xnview the grid doesn't zoom when you zoom the picture! So it is useless!
Attachments
griglia_xnview.jpg
griglia_xnview.jpg (235.21 KiB) Viewed 1437 times
User avatar
Peter2
XnThusiast
Posts: 1365
Joined: Thu Nov 24, 2005 3:07 pm
Location: CH

Re: A new grid system in which grid zoom in and out with the

Post by Peter2 »

jeeg wrote:...I think that you should add a "screen pixel/image pixel" switch in the panel to set the grid!...
This is exactly what jeeg shows in his examples.

At the moment the dialogue asks for "width and height in pixels", which are based on the pixels of the screen. Zooming into the picture -> more screen-pixels are used -> more grids are displayed.
If the dialogue offers also a setting based on the pixels of the image, then zooming would not change the number of the grids.

I support his suggestion too.

Peter
XnViewMP <Current version> German, XnConvert <Current version>, Win 10
User avatar
JohnFredC
XnThusiast
Posts: 2010
Joined: Wed Mar 17, 2004 8:33 pm
Location: Sarasota Florida

Re: A new grid system in which grid zoom in and out with the

Post by JohnFredC »

A simple toggle in the grid settings might work:
  • (•) Use image pixels
    ( ) Use screen pixels
John
Post Reply