in reply to Getting the picture

Have you put $png_image_fh in binmode as well?

Have you printed another content-type header before this?

--
<http://www.dave.org.uk>

"The first rule of Perl club is you do not talk about Perl club."
-- Chip Salzenberg

Replies are listed 'Best First'.
Re^2: Getting the picture
by bret.foreman (Acolyte) on Aug 11, 2004 at 17:03 UTC
    No, I wasn't putting $png_image_fh in binmode, but I just tried it with no change in behavior.

    No, I am not printing a content-type header before this.

    Bret