note 37321 deleted from function.imagesx by didou

From: Date: Tue, 11 Nov 2003 09:54:53 +0000
Subject: note 37321 deleted from function.imagesx by didou
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-60234@lists.php.net to get a copy of this message
Note Submitter: sam at pucazone dot comm ---- I got the wrong width on an animated gif. The size was correct, but width was 20 pixels less than it should be. By using getimagesize() I got correct results: $image=getimagesize($file_name); $x = $image[0]; $y = $image[1]; where $x and $y will give you the width and hight!

« previous php.notes (#60234) next »