Help - Search - Members - Calendar
Full Version: Paste Selection Offset Upwards By 1px
PMView Pro Forums > PMView Pro Discussion > PMView - OS/2 Technical Support
Teijo
Open image
ctrl-8
zoom in further (e.g. * * * * * * * *)
Select and copy a vertical two pixel area
paste

Only one pixel of the pasted selection is seen on-screen. The whole area exists, but the upper pixel is hidden under the upper border.

A single pixel paste is completely hidden from view, and accordingly cannot be moved/manipulated.

This only seems to happen at very large magnifications.

PMView 3.24, Japanese OS/2 CP2
Peter
This is a result of floating point precision and rounding. The solution to avoid the problem is to only allow certain fixed zoom points to be used.

Since PMView does not restrict the zooming, what you see is bound to happen. Generally speaking, it should never happen if you make sure that the zoom factor is even (e.g. 200%, 400%, 800%, 1600% or 1:2, 1:4, 1:8, 1:16, 1:32,...)

Thanks,
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2024 Invision Power Services, Inc.