Re: How creat image pointer from JPG/GIF string?
| From: | M | Date: | Wed, 10 Apr 2002 10:08:17 +0000 |
| Subject: | Re: How creat image pointer from JPG/GIF string? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-92356@lists.php.net to get a copy of this message | ||
Robert Cummings wrote:
> M wrote:
> >
> > I have stored lot of images into BLOB Mysql fields, and need recover it
> > to resize. How can I create some image pointer from string stored into
> > BLOB field?
> >
> > Thanks
> >
> > Miguel
>
> imagecreatefromstring() seems to be the candidate... however a comment
> attached to the help page indicates it is buggy. I suggest trying it out
> and if that fails then pull your image from the database, write to a
> temporary file, and then use imagecreatefromjpeg() as per usual.
>
> Cheers,
> Rob.
Hello Rob, just to inform that function ImageCreateFromString works ok
Thanks for your valuable info
Miguel