PixInsight Forum (historical)
PixInsight => Bug Reports => Topic started by: mschuster on 2019 November 20 19:26:57
-
Hi Juan,
1) Open noise.xisf, make sure it opens in a Gray 1:2 window with no scroll bars.
2) View > Zoom In, View > Zoom Out, image display OK.
3) View > Zoom In, click the window's Zoom to Optimal Fit icon, note noise along image righthand edge.
4) Click window's Zoom to Optimal Fit icon repeated, note slight image shift on each click, small aliasing artifacts visible on each click.
noise.xisf (https://www.dropbox.com/s/8gemi0p54z6k60u/noise.xisf?dl=0)
noise.png screen shot (https://www.dropbox.com/s/q2jdfsz4xu1q34l/noise.png?dl=0)
-
Hi Mike,
Bug confirmed. To adjust the window to the dimensions of the image at a given zoom ratio, we have to calculate exactly how many pixels will be occupied by the entire image window, including its non-client areas (window borders, view selectors tray, etc), before resizing it. It seems there are small errors in these calculations under some circumstances. I have to investigate this further. Thank you for reporting this issue.