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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php