Subject Re: [firebird-php] GD Image re-size then insert as blob
Author Jochem Maas
darren_pwrs wrote:
> Hi all. Does anyone know how i can resize an image and insert it into a FB Blob field with out saving it to a temp file 1st?
>
> At the moment I convert the image to binary, then resize it, then save it to a temp file, yhen open the temp file and save it into the FB blob field.
>
> I would like to skip the saving and reading of the temp file.

the functions you use to create the images can be used to return the binary data rather than stick it in a file,
just don't pass a filename when 'saving'.
>
> Any info would be greatly appeciated.
> thanks Darren
>
>
>
>
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>