[thelist] PHP File Uploading, Macintosh, and Mime Types

Carl J Meyer cjmeyer at npcc.net
Tue Dec 10 12:40:00 CST 2002

On Tue, 2002-12-10 at 09:58, lists at electricstate.com wrote:
> <tip type="Online Asset Management" author="Andrew Embler">
> Do you work with images in your web application? Do you use PHP, but the hate
> the GD library? Well, grouse no more - ImageMagick <http://www.imagemagick.org>
> to the rescue. You don't even need special PHP functions to access it; simply
> install the binary (or use an ISP that already has it installed), and access it
> from the command line. With one quick command you can convert images between
> many different formats, change color palettes, resize images to a specific size
> (or as close as possible while maintening the aspect ratio.) Get rid of the
> crummy thumbnailing that GD produces.
> </tip>

Sorry, don't have any wisdom on the MIME types issue, but I would like
to put in a positive word for GD.  It may not perform as well as
ImageMagick for format conversions or resizing (I wouldn't know, I don't
use it for those features).  But if you need to generate images on the
fly in a web application, I haven't seen anything else that compares.  I
use it (via PHP) to generate arbitrary graphical buttons for CMS
software I'm developing, it works a charm, especially in tandem with the
freetype library so the fonts actually look decent.


More information about the thelist mailing list