Re: [PHP] Re: How does one obtain the resolution of an image inPHP?

2006-03-17 Thread Barry

- Edwin - wrote:


Reading the surrounding sentences, I think I can see where
you're coming from. But, the above statement is a bit
confusing.

There is a reason why it's called pixel per INCH. And it
definitely have something to do whether your monitor
is set to 800x600, 1024x768, etc.

It's confusing but it's not ;)
It's quite hard to explain but having the monitor set to 800x600 the 
physical inch isn't anymore.
the image is still in 80ppi but using now the bigger pixels as 
reference per inch.


This is very confusing and this whole ppi is very disturbing, because 
there isn't any real standard applyable for screens.


A 15-inch monitor at 800x600 will have around 53ppi x 40ppi
(800 pixels divided by 15 inches, etc.) and *the same* monitor
at 1024x768 will have around 68ppi x 51ppi.

That's correct the ppi (theoretically) will be 53 or 68.


If your 15' monitor is normally setup at 1024x768, everything
(images, etc.) will look a bigger if the same image is viewed
using the same monitor at 800x600. This happens because
the pixels are now bigger. (One image pixel is now compose
of many physical dots on the screen.) But, I guess, you already
knew that. (^_^)

Right ;)
But the image is still in 80 ppi ;)

And you probably now get where the problems are ;)

Barry

--
Smileys rule (cX.x)C --o(^_^o)
Dance for me! ^(^_^)o (o^_^)o o(^_^)^ o(^_^o)

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Re: How does one obtain the resolution of an image inPHP?

2006-03-17 Thread Ford, Mike
On 17 March 2006 11:15, - Edwin - wrote:

 A 15-inch monitor at 800x600 will have around 53ppi x 40ppi
 (800 pixels divided by 15 inches, etc.) and *the same* monitor
 at 1024x768 will have around 68ppi x 51ppi.

Er, no.  The 15inches is a diagonal measure, so the screen is actually about 
12x9, giving 67ppi in both directions.

Cheers!

Mike

-
Mike Ford,  Electronic Information Services Adviser,
Learning Support Services, Learning  Information Services,
JG125, James Graham Building, Leeds Metropolitan University,
Headingley Campus, LEEDS,  LS6 3QS,  United Kingdom
Email: [EMAIL PROTECTED]
Tel: +44 113 283 2600 extn 4730  Fax:  +44 113 283 3211 




To view the terms under which this email is distributed, please go to 
http://disclaimer.leedsmet.ac.uk/email.htm

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: How does one obtain the resolution of an image inPHP?

2006-03-17 Thread - Edwin -
Hi!

On Fri, 17 Mar 2006 13:12:21 -
Ford, Mike wrote:

 On 17 March 2006 11:15, - Edwin - wrote:
 
  A 15-inch monitor at 800x600 will have around 53ppi x 40ppi
  (800 pixels divided by 15 inches, etc.) and *the same* monitor
  at 1024x768 will have around 68ppi x 51ppi.
 
 Er, no.  The 15inches is a diagonal measure, so the screen is
 actually about 12x9, giving 67ppi in both directions.

But of course! You're right (^_^)

I was thinking more of if or for example as in for example
you have a 25x25-inch monitor... But, yeah, a 25x25-inch
monitor is rather ridiculous, I guess.

 Cheers!
 
 Mike

- Edwin -

-- 
Better is a needy but wise child than an
 old but stupid king... - Ecclesiastes 3:18

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php