I have a script which compares two images and outputs one of the images. My problem is I am trying to have the php image act as the output image. For example, <img src=outputfile.php>. I have tried using the imagegif() function but that did not work.