Re: How does one obtain the resolution of an image in PHP?
| From: | - Edwin - | Date: | Fri, 17 Mar 2006 06:11:52 +0000 |
| Subject: | Re: How does one obtain the resolution of an image in PHP? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-232080@lists.php.net to get a copy of this message | ||
Hi!
On Thu, 16 Mar 2006 08:13:41 -0800
"Simon M. Campden-Main" <simon@freelib.org> wrote:
> [ . . . ]
> I want ppi!
> [ . . . ]
> I'm running the current Cent OS
> [ . . . ]
See if you have ImageMagick installed. You could
probably use the "identify" command to find the
info you need. For more information:
$ man identify
Of course, this solution is not *in* PHP but you can
invoke that program inside your PHP scripts (^_-)
HTH,
- Edwin -
--
"Happy are the mild-tempered ones,
since they will inherit the earth." - Matthew 5:5