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

Re: [MacPerl] Troubles using GD examples



On Fri, Jul 02, 1999 at 03:28:37AM -0500, John C. Potter wrote:
} Paul,

} 
} I needed to pick among bigappl or appl_cfm68k.  I believe the other choices
} dealt with MPW which I don't currently have running.  I chose bigappl.

Right.  It's been so long since I set up my 68k machine that I forgot
about that.  I chose appl_cfm68k myself, for the following reason.
bigappl has modules statically compiled in.  You're fortunate that GD
is one of the ones that Matthias put in.  But if you ever want to use
one of the other modules that Chris or Arved has compiled and made
available at <http://pudge.net/mmp>, and it isn't in biggapl, you're
out of luck.  With the cfm68k version, you can use any shared library
available (well, a few of them don't work as I recall because of bugs
in the 68k side of things), including GD.

} .
} binmode STDOUT;
} 
} # print the image to stdout
} print $im->gif;
} 
} 
} I took the first assumption that binmode was not functioning on my machine.
} I tried commenting out the binmode line.  This doesn't work either.
} Is there something else I am missing?

As Arved said, your code just worked.  Print into a file and use an
image viewer to look at the result.

} 
} Thanks,
} John
} 
} 

-- 
Paul Schinder
schinder@pobox.com

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