graphics tools

Carl Parrish plug-discuss@lists.PLUG.phoenix.az.us
Thu, 08 Nov 2001 10:45:07 -0700


I've got a thumb nail program I was going to release to the php user 
group as soon as I cleaned it up a bit. Doing what you want in php is a 
piece of cake with gd.

Carl P.

Thomas Mondoshawan Tate wrote:

> On Wed, Nov 07, 2001 at 06:55:15PM -0700, David P. Schwartz wrote:
> 
>>I need a standard tool that will take an arbitrary image file (probably a
>>GIF, JPG, or TIF) and scale it to a fixed size (eg., 150x200 pixels) and
>>color depth (eg., 24 bits) from a php script.  Any suggestions?  In case it
>>matters, we're running php4 on a Debian 2.2 distro.
>>
> 
> PHP comes (usually) precompiled with libgd support -- should be some GD
> functions in there to do exactly this. If not, you can always relegate the
> task to ImageMagick's mogrify program.
> 
>