Re: [PHP] Obtaining the image size with gd library

2004-03-02 Thread Marek Kilimajer
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

[PHP] Obtaining the image size with gd library

2004-03-02 Thread Todd Cary
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 g