Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
platform
active.directory
adsi
adsi.iis-admin
base
com_ole
complus_mts
component_svcs
database
directx
gdi
graphics_mm
internet.client
internet.server
internet.server.isapi-dev
localization
mapi
messaging
msi
mslayerforunicode
multimedia
networking
networking.ipv6
sdk_install
security
shell
telephony.tapi_2
telephony.tapi_3
telephony.tsp
telephony.wte
tools
ui
ui_shell
win_base_svcs
win16
  
 
date: Fri, 13 Jun 2008 09:54:01 -0700,    group: microsoft.public.platformsdk.gdi        back       


Tilting a picture   
I have a program that tilts a picture by 30 degrees( for example). It is 
based on the assumption that pixel dimension is the same for vertical and 
horizontal pixel size in inches.

When the monitor screen is different, the pixel size can be different in 
vertical and horizontal directions, and we don’t know what these dimensions 
are. In such case the picture shows up skewed. But since we do not have the 
pixel size( inches) we can not correct it.

Has anyone tackled this situation ? 

Thank you,
ChangChi The Graphics
date: Fri, 13 Jun 2008 09:54:01 -0700   author:   ChangChiTheGraphics

Re: Tilting a picture   
ChangChiTheGraphics wrote:
> I have a program that tilts a picture by 30 degrees( for example). It is 
> based on the assumption that pixel dimension is the same for vertical and 
> horizontal pixel size in inches.
> 
> When the monitor screen is different, the pixel size can be different in 
> vertical and horizontal directions, and we don’t know what these dimensions 
> are. In such case the picture shows up skewed. But since we do not have the 
> pixel size( inches) we can not correct it.
> 
> Has anyone tackled this situation ? 

Pixels should be square on all hardware.
They just change the amount of pixels to create another aspect ratio.

Further to this, there is NO standard way to get the DPI as very few 
peopel actually change it from the default of 96.

-- 
Dean Earley (dean.earley@icode.co.uk)
i-Catcher Development Team

iCode Systems
date: Mon, 16 Jun 2008 09:13:41 +0100   author:   Dean Earley

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us