in reply to Display a generated image using Mason
Note: this code is untested and not all browsers can handle this.#assuming $image contains the gif and $q is a CGI object use URI; my $u = URI->new("data:"); $u->media_type("image/gif"); $u->data($image); print $q->img(-src => "$u");
--
flounder
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
| A reply falls below the community's threshold of quality. You may see it by logging in. |