[PHP] image upload - determining image resolution in pixels ?

2001-05-22 Thread Nicolas Mermet
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

Re: [PHP] image upload - determining image resolution in pixels ?

2001-05-22 Thread Chris Lee
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,

Re: [PHP] image upload - determining image resolution in pixels ?

2001-05-22 Thread Markus Fischer
On Tue, May 22, 2001 at 10:38:32AM -0700, Nicolas Mermet wrote : I was wondering if there is a way to analize an uploaded jpeg file in order to extract its resolution in pixels. GetImageSize() is a favourite one here. Would that be also possible with a quicktime movie ? Possibly,