#!/usr/local/bin/perl # These pathnames must be adjusted for your system $CONVERT = '/usr/local/bin/convert'; # conversion options -- interlaced, transparent image $CONVERTOPT = '-interlace LINE -transparency white'; $|=1; # to prevent buffering problems print "Content-type: image/gif\n\n"; # required header # Something nice to print. $my_picture = <