Re: Obtaining the image size with gd library
| From: | Marek Kilimajer | Date: | Tue, 02 Mar 2004 23:42:33 +0000 |
| Subject: | Re: Obtaining the image size with gd library | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-179319@lists.php.net to get a copy of this message | ||
Todd Cary wrote:
I have created a barcode with the gd library and I wish to use it directly with PDFLib. If I write the image to file and then read it in, all works well. However, PDFLib has a Virtual File System. To use it, I need the size of the image in bytes (the file size). Is there a function in the gd library that will give me that? Toddno, it's in filesystem functions, it's called file_size()