note 1573 modified in Image functions by ronabop

From: Date: Wed, 04 Oct 2000 14:44:53 +0000
Subject: note 1573 modified in Image functions by ronabop
Groups: php.notes 
Request: Send a blank email to php-notes+get-6028@lists.php.net to get a copy of this message
It is easy to use ImageMagick to generate images dynamically in php3. Here is an example: <?php Header("Content-type: image/gif"); passthru("/opt/x11/bin/convert -crop 0x0 -bordercolor white -border 10x10 inputfile.gif GIF:- ?> The header is important, the passthru functions means binary data will be safe, and "-" means ImageMagick will print to stdout instead of saving to a file. http://www.php.net/manual/image-functions.php

« previous php.notes (#6028) next »