PMView.com

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Paste Selection Offset Upwards By 1px, (With large magnification only)
Teijo
post Apr 13 2006, 10:58 PM
Post #1


Forum Member


Group: Members
Posts: 19
Joined: 8-September 01
Member No.: 79



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
Go to the top of the page
 
+Quote Post
Peter
post Apr 16 2006, 10:49 AM
Post #2


Forum Member


Group: Admin
Posts: 672
Joined: 14-March 00
From: Wilmington, North Carolina
Member No.: 3



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,


--------------------
Peter Nielsen (peter@pmview.com) "If you can dream it, you can do it" JFK.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



Lo-Fi Version Time is now: 31st October 2024 - 06:20 PM