In article <mac-perl.v03007809b1cd30ee41bd@[209.150.228.35]>, Strider <Strider@baka.com> wrote: >I'm writing a CGI, and it's going to be a little different than most- it >generates its own page (as 'default.pl' or whathaveyou) and calls itself, a >little like an .asp. Anyway, one thing it needs is a .gif file included in >it- and although I could use GD and generate it on the fly, it's pretty >complex (anti-aliased text) and I'd rather just store the info in the >script, and dump it into a binary file when necessary. > >What would be the best way to do that? Once you make your GIF in an image editing program, you can open that with a text editor and just copy it--it's just text. You may have to backslash some of the special characters, though. This will definitely work, but on the other hand why not just leave the GIF in a separate (accessible) file and just read it in from your script at run-time? -- __________________________________________________________________________ Jeff Clites Online Editor http://www.MacTech.com/ online@MacTech.com MacTech Magazine __________________________________________________________________________ ***** Want to unsubscribe from this list? ***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch