Re: Detecting image types for uploaded images

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

 



Hi,

   same thing mate - comes up as "image/jpeg image/jpeg" - The images
in question are definitely pjpegs - i.e. checking file type during
uploads registers them as pjpegs.

Cheers,
-K

On Mon, 8 Nov 2004 01:17:24 -0800, nate@xxxxxxxxxxxxxxxx
<nate@xxxxxxxxxxxxxxxx> wrote:
> What about mime_content_type()... see what that returns.
> 
> Nate
> 
> -----Original Message-----
> From: Karthik [mailto:narakasura@xxxxxxxxx]
> Sent: Monday, November 08, 2004 12:35 AM
> To: php-general@xxxxxxxxxxxxx
> Subject:  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


[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