RE: Thumbnails from mySQL binary data
| From: | Philip Hallstrom | Date: | Wed, 12 Jun 2002 21:12:09 +0000 |
| Subject: | RE: Thumbnails from mySQL binary data | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-101817@lists.php.net to get a copy of this message | ||
If I had the choice I would make the thumbnail when it gets uploaded using
the netpbm stuff (netpbm.sourceforge.net). I've found netpbm makes *much*
nicer and smaller (file size wise) thumbnails than GD.
-philip
On Wed, 12 Jun 2002, Shane wrote:
> I have read warnings that this (imagecreatefromstring.php) is killer
> SLOW simply because it is server side. Have you found this to be true?
>
> Would you suggest just making the thumbnail when the file is uploaded,
> or do you think it is wiser just to make a thumbnail when the user
> requests it, and just make them wait for the server side code to crunch?
>
> Thanks again group!!!
> - NorthBayShane
>
> -----Original Message-----
> From: Philip Hallstrom [mailto:philip@adhesivemedia.com]
> Sent: Wednesday, June 12, 2002 12:56 PM
> To: Shane
> Cc: php
> Subject: Re: Thumbnails from mySQL binary data
>
>
> start with this:
>
> http://www.php.net/manual/en/function.imagecreatefromstring.php
>
> On Wed, 12 Jun 2002, Shane wrote:
>
> > Greetings, I just started playing with the GD functions. (FUN!!!) And I am looking for
> > advice or scripts on how to turn binary data from my DB into thumbnails.
> >
> > I understand how to make thumbnails from existing images already "sitting in a
> > directory," but how can I get a scaled image to be made directly from the binary data in my DB.
> >
> > Your guidance or advice would be most helpful and TRULY appreciated.
> >
> > As always, my final functions will be posted for all.
> > Thanks in advance my friends!!!
> >
> > - NorthBayShane
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
>
>