The Daily Static
  The Daily Static
UF Archives
Register
UF Membership
Ad Free Site
Postcards
Community

Geekfinder
UFie Gear
Advertise on UF

Forum Rules
& FAQ


Username

Password


Create a New Account

 
 

Back to UserFriendly Strip Comments Index

SVG to JPEG with PerlMagick? by smiffy2008-07-10 03:18:48
  lets see by c3po 2008-07-10 04:36:48
you must use the imagetoblob and blob to image functions it you do not use files

the format is set by the 'virtual' extension (see manual pages):
binmode STDOUT;
$image->Write('png:-');
to put an png to stdout

should also work this the blob thingies

HTH

(i have only examples for that purpose in PHP (i.e. read /write images from a database to browser or file in different formats))
[ Reply ]

 

[Todays Cartoon Discussion] [News Index]

Come get yer ARS (Account Registration System) Source Code here!
All images, characters, content and text are copyrighted and trademarks of J.D. Frazer except where other ownership applies. Don't do bad things, we have lawyers.
UserFriendly.Org and its operators are not liable for comments or content posted by its visitors, and will cheerfully assist the lawful authorities in hunting down script-kiddies, spammers and other net scum. And if you're really bad, we'll call your mom. (We're not kidding, we've done it before.)