Open GoogleCodeExporter opened 8 years ago
I'm getting the same issue... Looking into the problem I believe it's because
Flex
uses pixels and the output is in points. The conversion between the two is:
points = pixels * 72 / ScreenDPI
On the Mac the standard ScreenDPI is 72 so this comes out as a 1:1 ratio,
however,
on Windows it's 96 meaning the image is larger than it should be.
Unfortunately, not only does this change between operating system, this is also
user
specific. Flex does have a function to return the ScreenDPI -
Capabilities.ScreenDPI. However, there is a flash bug
(http://bugs.adobe.com/jira/browse/SDK-13778) which always returns this as 72
too!
Original comment by robert.c...@gmail.com
on 1 Apr 2009 at 9:36
override the addImage method and set the transformation matrix with
matrix.createBox(ratio, ratio) when transformation is set to false (ratio is
the reqd
width & height ratio of your image). Now in addImage set resize mode to
ResizeMode.NONE and set transformation parameter to false. This should fix the
problem hopefully.
Original comment by p.gau...@gmail.com
on 10 Jul 2009 at 9:45
Original issue reported on code.google.com by
gerald.l...@aon.at
on 23 Mar 2009 at 11:03