in reply to Delivering an image to a client browser/PC

delivered in such a way (perhaps with a .TIF extension?)

You can do this with a content-disposition header

Did you try  binmode the file?

Try also  do { local $/; $img = <TIF> };

Replies are listed 'Best First'.
Re: Re: Delivering an image to a client browser/PC
by MrCromeDome (Deacon) on Sep 03, 2002 at 19:18 UTC
    Tried to binmode the file prior to reading it, but it didn't change the outcome. I also tried substituting in the code you suggested, but again, the outcome was undesirable.

    How would that content-disposition header look? Outside of cookies and redirects, I've never had occasion to alter the header before.

    Thanks for your assistance,
    MrCromeDome