Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Incorporating On-The-Fly Graphics In CGI output

by Dr. Mu (Hermit)
on Mar 31, 2003 at 06:19 UTC ( [id://246854]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    use strict;
    ...
    print "<html>\n";
    print "<h3>Testing inline image data</h3>";
    print qq(<img src="$uri" alt="Didn't work."></html>\n);
    
  2. or download this
    Content-type:text/html
    
    <html>
    <h3>Testing inline image data</h3><img src="data:image/png;base64,iVBO
    +Rw0KGgoAAAANSUhEUgAAAGQAAABkAQMAAABKLAcXAAAABlBMVEX/AAAAAP9sof2OAAAAI
    +UlEQVR4nGNgGAWjgFTw//8HJF4Dg8CI5aGGxCgYBcQBAMULD/2Zt2wmAAAAAElFTkSuQm
    +CC" alt="Didn't work."></html>
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://246854]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (5)
As of 2024-12-12 17:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which IDE have you been most impressed by?













    Results (65 votes). Check out past polls.