I tried as following...
But it prints only some arbitory characters, not an image!!#!/usr/bin/perl -w use CGI; my $query = new CGI; $query->header(); $query->start_html(); print "Content-type:image/x-png\n\n"; open (I, '<', "/tmp/upload/EMBOSS_001.png"); binmode I; print while <I>; close I; $query->endform(); $query->end_html();
In reply to Re^4: CGI-Perl:: Location for saving the GD output
by cool
in thread CGI-Perl:: Location for saving the GD output
by cool
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |