graphics tools

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Thomas Mondoshawan Tate
Date:  
Subject: graphics tools
--4SFOXa2GPu3tIq4H
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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.

--=20
Thomas "Mondoshawan" Tate

http://tank.dyndns.org

--4SFOXa2GPu3tIq4H
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE76gD3Yp5mUsPGjjwRApNEAJ49ZcbnNuZD42qkLAPfG9+ipqndhACcCD/D
HdO+Fz3+zmSDRhs2in1zMtU=
=lhWr
-----END PGP SIGNATURE-----

--4SFOXa2GPu3tIq4H--