[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] Troubles using GD examples



Hi, John

Your GD is working. binmode() is a NOOP for MacOS - you can leave it in,
or better, comment it out or remove that line.

The garbage being printed to console *IS* the GIF. Open a filehandle to a
diskfile, print the stuff to that filehandle instead, and use an imaging
program to examine it. You'll see that you are indeed producing GIFs.

I can think of a number of uses for printing GIFs to stdout, and in this
case it was likely meant that the output of the script would be piped to
something else. Binmode()... probably just there to cover the Windows
case.

Arved




===== Want to unsubscribe from this list?
===== Send mail with body "unsubscribe" to macperl-request@macperl.org