Omnimaga

Calculator Community => TI Calculators => Axe => Topic started by: Blue Raven on January 15, 2012, 01:28:33 pm

Title: How to display a Pic
Post by: Blue Raven on January 15, 2012, 01:28:33 pm
Hello everyone !
I have a question : is it possible to use a Pic variable from the calc and display it in an Axe program ? And if yes, how ? I tried a lot of stuff, but nothing worked.
Thanks a lot !
Title: Re: How to display a Pic
Post by: saintrunner on January 15, 2012, 01:29:27 pm
Like a pic you made on calc?
Title: Re: How to display a Pic
Post by: Darl181 on January 15, 2012, 01:30:35 pm
The simplest way is to do
[Pic#]→GDB#
And when compiled GDB# should have the pic inside of it.
Title: Re: How to display a Pic
Post by: Blue Raven on January 15, 2012, 01:32:38 pm
Ok, but how I can display it ? Pt-On doesn't work... Maybe Bitmap ?
Title: Re: How to display a Pic
Post by: saintrunner on January 15, 2012, 01:33:25 pm
Copy([Pic0],L6,768)
Title: Re: How to display a Pic
Post by: Darl181 on January 15, 2012, 01:33:27 pm
You can copy it to your buffer of choice, with something like
Copy(GDB#,L6,768)
Title: Re: How to display a Pic
Post by: saintrunner on January 15, 2012, 01:33:51 pm
You can copy it to your buffer of choice, with something like
Copy(GDB#,L6,768)

I ninja!  :ninja:
Title: Re: How to display a Pic
Post by: Blue Raven on January 15, 2012, 01:35:09 pm
Ok, it works ! And Bitmap( works too btw...
Thanks a lot guys !
Title: Re: How to display a Pic
Post by: Runer112 on January 15, 2012, 01:37:36 pm
Don't use Bitmap() unless you absolutely need it, which you don't for just displaying full-screen pictures. The Bitmap() routine adds over 200 bytes to your program.
Title: Re: How to display a Pic
Post by: Hayleia on January 15, 2012, 02:29:21 pm
And if you just want to display it without it to go on the buffer (like a splash), you can do
[Pic#]->GDB#
DispGraph(GDB#)