Hi Chris,

I may be way off-base here, but you might need to add a
"Content-Length: " header too-

HTH-
Kdot

On 4/18/05, Chris <[EMAIL PROTECTED]> wrote:
> I know I've seen the answer to this question in the past but I can't seem to
> find it in the archives or Google. How can I output an image directly from
> Perl? I've read about possibly using binmode, but haven't found a working
> example.
> 
> print "Content-type: image/jpeg\n\n";
> 
> open (data_In,"<small.jpg");
> 
> print <data_In>;
> 
> close (data_In);
> 
> _______________________________________________
> Perl-Win32-Users mailing list
> [email protected]
> To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
>

_______________________________________________
Perl-Win32-Users mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to