open the file with gd and use imagesx() and imagesy()
<?php
$img = imagecreatefromjpeg($file_name)
$x = imagesx($img);
$y = imagesy($img);
?>
gd does not handel quicktime, only jpeg, gif (older, dont go there), png,
tiff I think thts it. I havent checked. but never the less, images, not
movies.
--
Chris Lee
[EMAIL PROTECTED]
"Nicolas Mermet" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi,
> I was wondering if there is a way to analize an uploaded jpeg file in
> order to extract its resolution in pixels.
> Would that be also possible with a quicktime movie ?
> thanks,
> Nicolas
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]