RE: [PHP] Detecting image types for uploaded images
| From: | nate at savingadvice dot com | Date: | Mon, 08 Nov 2004 09:17:24 +0000 |
| Subject: | RE: [PHP] Detecting image types for uploaded images | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-201502@lists.php.net to get a copy of this message | ||
What about mime_content_type()... see what that returns.
Nate
-----Original Message-----
From: Karthik [mailto:narakasura@gmail.com]
Sent: Monday, November 08, 2004 12:35 AM
To: php-general@lists.php.net
Subject: [PHP] Detecting image types for uploaded images
Hi,
How do I differentiate between progressive and standard jpegs for
files "already" on the server ? getimagesize does return a mime type,
but doesn't seem to differentiate between image/jpeg and image/pjpeg
and returns image/jpeg for all jpeg images.
Any ideas?
Thanks
-K
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php