Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Generating pngs with Mason

by Ovid (Cardinal)
on Dec 04, 2005 at 01:51 UTC ( #513880=note: print w/ replies, xml ) Need Help??


in reply to Generating pngs with Mason

I don't think this is what you're wanting, but on the off chance you're trying to embed the image data directly in a Web page rather than just linking to an image, you can check out the "data" URL scheme:

<img src="data:image/gif;base64,R0lGODdhMAAwAPAAAAAAAP///ywAAAAAMAAw AAAC8IyPqcvt3wCcDkiLc7C0qwyGHhSWpjQu5yqmCYsapyuvUUlvONmOZtfzgFz ByTB10QgxOR0TqBQejhRNzOfkVJ+5YiUqrXF5Y5lKh/DeuNcP5yLWGsEbtLiOSp a/TPg7JpJHxyendzWTBfX0cxOnKPjgBzi4diinWGdkF8kjdfnycQZXZeYGejmJl ZeGl9i2icVqaNVailT6F5iJ90m6mvuTS4OK05M0vDk0Q4XUtwvKOzrcd3iq9uis F81M1OIcR7lEewwcLp7tuNNkM3uNna3F2JQFo97Vriy/Xl4/f1cf5VWzXyym7PH hhx4dbgYKAAA7" alt="Larry">

Cheers,
Ovid

New address of my CGI Course.


Comment on Re: Generating pngs with Mason
Download Code
Re^2: Generating pngs with Mason
by water (Chaplain) on Dec 04, 2005 at 02:00 UTC
    Thanks, Ovid!

    The PNG is short enuff to stuff in the tag itself as you suggested; works like a charm.

    I could struggle to figure out what was wrong with the dhanlder, but this moves me along, so I'll go with the simple.

    thanks!

Re^2: Generating pngs with Mason
by water (Chaplain) on Dec 04, 2005 at 09:47 UTC

      IE is certainly a consideration one should ponder and after giving this quite a bit of thought, I can only conclude

      I friggin' hate IE!

      What a rotten, stinkin' miserable piece of crap!

      I hate that browser with a passion. In all fairness, I'm not as "anti-Microsoft" as most of my compatriots but when it comes to IE, my zealotry is limitless. I hate that damned browser. It's caused me no end of pain in its lack of support for standards. Unfortunately, as the lowest common denominator, we've no choice but to pander to it. How incredibly frustrating.

      Side note: anyone else notice how they said their users don't want tabs but they're adding them in the latest version?.

      Cheers,
      Ovid

      New address of my CGI Course.

      Hmmm ... I hit 50,000 XP (archbishop) when I posted this. Maybe the universe is trying tell me something. Damned if I know what it's saying, though.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (9)
As of 2014-07-25 11:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (170 votes), past polls