Re: generating thumbnails
| From: | Dave | Date: | Wed, 23 May 2001 09:11:21 +0000 |
| Subject: | Re: generating thumbnails | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-54008@lists.php.net to get a copy of this message | ||
So how does the GD2 work.?
Does it work with gifs and jpgs?
Is the GD Library supposed be installed by the hosting provider?
"Rasmus Lerdorf" <rasmus@php.net> wrote in message
news:Pine.LNX.4.33.0105210702470.990-100000@rasmus.php.net...
> > is there any way to resize images in php and save them to a new file?
> > i want to write sort of a (db-powered) picture gallery that
automatically
> > creates thumbnails out of http-uploaded files.
>
> It's rather bleeding edge, but if your gra a copy of GD2-beta and a
> snapshot of PHP (from snaps.php.net) then you can use imagecopyresampled()
> to create thumbnails. It can be a bit slow if your originals are huge,
> but the quality is very good.
>
> -Rasmus
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>