For Programmers: Free Programming Magazines  


Home > Archive > PHP Pear > February 2006 > Re: [PEAR] ASCII output for Image::3D









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [PEAR] ASCII output for Image::3D
Justin Patrin

2006-02-21, 9:56 pm

On 2/20/06, Mike Brittain <mike@mikebrittain.com> wrote:
> I've been looking at the Image::3D package this w 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:
>
> =1B[2J=1B[0;37m##=1B[0;37m##=1B[0;37m##=
1B[0;37m##=1B[0;37m##=1B[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
Joshua Eichorn

2006-02-21, 9:56 pm

Justin Patrin wrote:
> On 2/20/06, Mike Brittain <mike@mikebrittain.com> wrote:
>
>
> 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?
-josh
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com