Aurigma Forums
»
Graphics Mill
»
Discussions – Graphics Mill
»
Last row and column of pixels is clipped when zoomed in BitmapViewer
Rank: Newbie
Groups: Guest
Joined: 12/11/2009(UTC) Posts: 1
|
I am attempting to use the WinControls.BitmapViewer to view large images produced from sensor arrays. It is critical that every pixel is viewable when zoomed in so that the quality of the sensor from which the image is created can be evaluated. The problem I am having is that when zooming in on an image, the last row and last column of pixels is clipped (not visible in the window). It's as if the last row and column of the image is hidded behind the scroll bars. As an example, I created a bmp file with size 1024 X 1024. The entire bitmap is all black pixels, except for column 1023 and row 1023, whose pixels are white. When I view this image using the BitmapViewer in the the main demo, and I zoom in to 1600%, my white row and column is completely clipped. The amount of the last row and column of pixels that is visible varies depending on the zoom setting. If I change the zoom to 1599%, I see a sliver of white on the bottom and right borders. Furthermore, this causes the pixel coordinates reported by the MouseMove event in the main demo app to be incorrect. When I move the mouse to the lower right most visible pixel, which is pixel (1022, 1022), it is reported as (1023, 1023). Any help in correcting this would be appreciated. I am attaching the test bitmap I used in my example above. iacobus attached the following image(s):
|
|
|
|
Rank: Advanced Member
Groups: Guest
Joined: 1/31/2005(UTC) Posts: 458
Was thanked: 5 time(s) in 5 post(s)
|
Hello iacobus,
Thank you for your bugreport. I have to confirm that we have issue with nearest neighbor downscale resize. It incorrectly treats last column/row. It will be fixed in future releases.
Is it possible for you to use other InterpolationMode? If I change ZoomQuality to "Medium" in BitmapViewer - it shows white margins on the image.
As for MouseMove event - it works correctly. It is the first issue caused you to think that it also doesn't work.
|
|
|
|
|
Aurigma Forums
»
Graphics Mill
»
Discussions – Graphics Mill
»
Last row and column of pixels is clipped when zoomed in BitmapViewer
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.