graphics tools

Thomas Mondoshawan Tate plug-discuss@lists.PLUG.phoenix.az.us
Wed, 7 Nov 2001 20:50:16 -0700


--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
phoenix@psy.ed.asu.edu
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--