in reply to Re: CGI: Raw image data
in thread CGI: Raw image data

Don't forget to add
binmode STDOUT;
before you print the image data, just to be safe.