Omnimaga

Calculator Community => TI Calculators => TI-BASIC => Topic started by: Hexatron on November 23, 2013, 11:49:31 am

Title: Convert an image to pt-on commands?
Post by: Hexatron on November 23, 2013, 11:49:31 am
Today I wanted to make a QR-Code that would work on my TI-84+CSE.
However, because of the large size of image and pic vars, I wanted to make the image into pt-on( commands.
However, I am too lazy to hard code it :X
So I was wondering if there was a program to do it for me.
I already tried SourceCoder, but it just gives my AXE hex data.
So is there a way to do this, or am I going to have to do it all manually?
Title: Re: Convert an image to pt-on commands?
Post by: shmibs on November 23, 2013, 12:19:17 pm
if you have the data in hex then that's all you need. just stick it directly into your program, assign it a pointer, and then, during runtime, copy it to the screen buffer and update the display.
Title: Re: Convert an image to pt-on commands?
Post by: Hayleia on November 23, 2013, 12:28:28 pm
But he wants that in Basic for his 84+CSE, so I guess Axe won't do his job.
Title: Re: Convert an image to pt-on commands?
Post by: shmibs on November 23, 2013, 12:31:24 pm
oh right, i completely missed the "84+ SE" bit. yup, axe doesn't run on that model at the moment.
Title: Re: Convert an image to pt-on commands?
Post by: Hexatron on November 23, 2013, 04:38:57 pm
Thanks for the help anyway, I now know how to do it on grayscale. :)
Still wish there was an easier way then hard coding 4x4 pxl-on commands.
Title: Re: Convert an image to pt-on commands?
Post by: shmibs on November 23, 2013, 05:54:53 pm
you could use an OS Pic variable, couldn't you?
Title: Re: Convert an image to pt-on commands?
Post by: ClrDraw on November 23, 2013, 07:16:58 pm
I think he said he didn't want to do that because of the size it takes up.
Title: Re: Convert an image to pt-on commands?
Post by: Hexatron on November 23, 2013, 08:30:41 pm
Well I tried using an ImageVar anyway. Image was 265x165. Just enough for the calculator. It got scaled and all blurred.
EDIT : I'll just use AssemblyBandit's IViewer lib.