RE: [PHP] Re: image size?

From: Date: Mon, 13 Sep 2004 21:39:00 +0000
Subject: RE: [PHP] Re: image size?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-196575@lists.php.net to get a copy of this message
I think you'll have to use the imagex and imagey functions to get the dimensions of the thumbnail in order to calculate the size. > -----Original Message----- > What if the values for x and y are not known? I have a function that > returns a thumbnail of a larger image; it calculates the size of the > created image based on the dimensions of the original. > > Paul Birnstihl wrote: > > > Ed Lazor wrote: > > > >> Is there a way to get the size of an image created using the > imagecreate > >> function? > > > > > > I'm guessing it would be xsize x ysize x colour depth = size in bits ? > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#196575) next »