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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Good morning, Edwin.

Thank you very much for taking the time to respond to my
query.

E> See if you have ImageMagick installed.

I didn't, but do now.

E> You could probably use the "identify" command to find
the info you need. For more information:
  $ man identify

It works, Edwin.  A tad slow (3 seconds to process a 762k
jpg), but the -verbose option does provide Resolution in
PPI.

E> Of course, this solution is not *in* PHP but you can
invoke that program inside your PHP scripts (^_-)

Indeed!  For those following this thread, you can see the
various outputs at:
http://www.campden-main.com/~orchids/test/test_exif_2.php

Thanks to all and, until the next time, Take Care!
Simon
simon@xxxxxxxxxxx

"- Edwin -" <copperwa11s@xxxxxxxxxxx> wrote in message 
news:20060317151152.cc129da7.copperwa11s@xxxxxxxxxxxxxx
> Hi!
>
> On Thu, 16 Mar 2006 08:13:41 -0800
> "Simon M.  Campden-Main" <simon@xxxxxxxxxxx> 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 

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux