How do I get the resolution of an image accessed by a Player?
Eric Chatonet
eric.chatonet at sosmartsoftware.com
Mon Jul 18 07:07:47 EDT 2005
Hi Dave,
Resolution depends on the ratio between the actual size and the
current size of the image.
If the current size is the actual size, the resolution is 72 DPI with
most monitors.
At half size 144 DPI, etc.
With Rev objects all this does not make sense since I think Rev
recalculates all prints at 72 DPI when they are resized.
All things change when you want to print a TIFF image from the actual
file by using the printer prefs. Then it works as above.
But within Rev, you always get a 72 DPI resolution.
I'm not a specialist of these things, others will correct me and
bring to you more precise information.
It's just my two cents.
Le 18 juil. 05 à 12:23, David Burgun a écrit :
> I am open ing a TIFF file via a "player" object, I can get the
> Width and Height of the image with the "formattedWidth"/"Height"
> properties, but how can I get the resolution or DPI?
Best Regards from Paris,
Eric Chatonet.
----------------------------------------------------------------
So Smart Software
For institutions, companies and associations
Built-to-order applications: management, multimedia, internet, etc.
Windows, Mac OS and Linux... With the French touch
Free plugins and tutorials on my website
----------------------------------------------------------------
Web site http://www.sosmartsoftware.com/
Email eric.chatonet at sosmartsoftware.com/
Phone 33 (0)1 43 31 77 62
Mobile 33 (0)6 20 74 50 86
----------------------------------------------------------------
More information about the use-livecode
mailing list