Printable Version of Topic

Click here to view this topic in its original format

PMView Pro Forums _ PMView - OS/2 Technical Support _ Paste Selection Offset Upwards By 1px

Posted by: Teijo Apr 13 2006, 10:58 PM

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

Posted by: Peter Apr 16 2006, 10:49 AM

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,

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)