The image display area is off by one.

Moderator: jsachs

Post Reply
pierrelabreche
Posts: 414
Joined: January 29th, 2019, 11:47 pm
What is the make/model of your primary camera?: Nikon Z8

The image display area is off by one.

Post by pierrelabreche »

Scenario : create an 8x8 image, only 7x7 is shown.
2021-02-26 PWP8 8x8 off by one image area (only 7x7 shown).png
2021-02-26 PWP8 8x8 off by one image area (only 7x7 shown).png (100.09 KiB) Viewed 3481 times
pierrelabreche
Posts: 414
Joined: January 29th, 2019, 11:47 pm
What is the make/model of your primary camera?: Nikon Z8

Re: The image display area is off by one.

Post by pierrelabreche »

Any progress on a possible fix ?
jsachs
Posts: 4203
Joined: January 22nd, 2009, 11:03 pm

Re: The image display area is off by one.

Post by jsachs »

I believe I fixed this a while ago (see 28-Feb update)
Jonathan Sachs
Digital Light & Color
pierrelabreche
Posts: 414
Joined: January 29th, 2019, 11:47 pm
What is the make/model of your primary camera?: Nikon Z8

Re: The image display area is off by one.

Post by pierrelabreche »

Hi Jonathan

No ... the problem is still present in the latest version, 8.0.204
2021-03-14 PWP8 8x8 off by one image area (only 7x7 shown).png
2021-03-14 PWP8 8x8 off by one image area (only 7x7 shown).png (62.42 KiB) Viewed 3425 times
jsachs
Posts: 4203
Joined: January 22nd, 2009, 11:03 pm

Re: The image display area is off by one.

Post by jsachs »

If you go to File/Preferences and set Smooth Display to Yes, it works OK. I will see if I can fix what is wrong for the other case for the next release.
Jonathan Sachs
Digital Light & Color
pierrelabreche
Posts: 414
Joined: January 29th, 2019, 11:47 pm
What is the make/model of your primary camera?: Nikon Z8

Re: The image display area is off by one.

Post by pierrelabreche »

Hello Jonathan,

... not quite : using PWP8 with smooth scrolling : perimeter pixels not fully displayed (about half only).
and pixels are misaligned with an 8x8 grid.
2021-03-15 PWP8 8x8 grid , smooth scrolling, perimeter pixels not fully displayed.png
2021-03-15 PWP8 8x8 grid , smooth scrolling, perimeter pixels not fully displayed.png (58.64 KiB) Viewed 3408 times
jsachs
Posts: 4203
Joined: January 22nd, 2009, 11:03 pm

Re: The image display area is off by one.

Post by jsachs »

This is not a bug. The pixel location is at the center of the square.
Jonathan Sachs
Digital Light & Color
pierrelabreche
Posts: 414
Joined: January 29th, 2019, 11:47 pm
What is the make/model of your primary camera?: Nikon Z8

Re: The image display area is off by one.

Post by pierrelabreche »

I see that two problems remain :

1. 50% of the area of periphereral pixels is hidden, and 75% of the area of corner pixels is hidden.
2. In an image having 8x8 pixels, an 8x8 grid should align perfectly with the pixel boundaries. The resulting grid is not 8x8, as selected, but 7x7.

Thanks
jsachs
Posts: 4203
Joined: January 22nd, 2009, 11:03 pm

Re: The image display area is off by one.

Post by jsachs »

The grid has 8 divisions and grid intersections pass through the centers of the pixels.

The display window is aligned with the centers of the pixels and thus shows only part of the edge pixels when you zoom in by huge amounts as in this example. This is a total non-issue for normal photographic images. While this may not be what you expect it to do, it is perfectly consistent and the way it works.
Jonathan Sachs
Digital Light & Color
Post Reply