Re: How creat image pointer from JPG/GIF string?

From: Date: Tue, 09 Apr 2002 21:10:10 +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-92304@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. ops!, thanks Rob, it appears my PHP local manual is old version. I checked around the net and really this function exists. I am going to checkt it now. Thanks again Miguel

« previous php.general (#92304) next »