Re: ASCII output for Image::3D
| From: | Justin Patrin | Date: | Wed, 22 Feb 2006 03:01:21 +0000 |
| Subject: | Re: ASCII output for Image::3D | ||
| References: | 1 2 3 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-23079@lists.php.net to get a copy of this message | ||
On 2/21/06, Joshua Eichorn <josh@bluga.net> wrote:
> Justin Patrin wrote:
> > On 2/20/06, Mike Brittain <mike@mikebrittain.com> wrote:
> >
> >> I've been looking at the Image::3D package this week and seem to have
> >> figured out quite a bit about generating objects and using the different
> >> output drivers to create image files. One driver, 'ascii', seems to
> >> generate a lot of garbage for me. Is it supposed to do that? If so,
> >> what is the practical usage of this?
> >>
> >> Sample output from the ascii driver:
> >>
> >> [2J[0;37m##[0;37m##[0;37m##[0;37m##[0;37m##[0;37m##
> >>
> >> (and this goes on an on...)
> >>
> >>
> >
> > You're seeing color and other formatting codes as text. Try simply
> > running your script in a shell (on Linux) and see if it outputs
> > correctly.
> >
> > --
> > Justin Patrin
> >
> >
> Doesn't that actually make it a terminal (ansi shell?) driver not an
> ascii one?
I'm just suggesting a possible fix. I'm not sure if those codes and
ANSI or ASCII. It's not the shell itself certainly.
--
Justin Patrin