westonmr has asked for the wisdom of the Perl Monks concerning the following question:
The previous code works with very small images (1x1 px), but when the files get bigger, perl dosen't print it correctly. What is wrong?print "Content-type: image/gif\n\n"; open(GIFIMAGE, "agif.gif"); while (<GIFIMAGE>) {print $_}; close(GIFIMAGE);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Print Image File
by turnstep (Parson) on Mar 30, 2000 at 04:33 UTC | |
|
RE: Print Image File
by Anonymous Monk on Mar 11, 2000 at 22:35 UTC | |
|
Re: Print Image File
by Anonymous Monk on Mar 11, 2000 at 23:28 UTC |