Author Topic: Convert an image to pt-on commands?  (Read 4292 times)

0 Members and 1 Guest are viewing this topic.

Offline Hexatron

  • LV3 Member (Next: 100)
  • ***
  • Posts: 76
  • Rating: +2/-1
    • View Profile
Convert an image to pt-on commands?
« 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?

Offline shmibs

  • しらす丼
  • Administrator
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2132
  • Rating: +281/-3
  • try to be ok, ok?
    • View Profile
    • shmibbles.me
Re: Convert an image to pt-on commands?
« Reply #1 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.

Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: Convert an image to pt-on commands?
« Reply #2 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.
I own: 83+ ; 84+SE ; 76.fr ; CX CAS ; Prizm ; 84+CSE
Sorry if I answer with something that seems unrelated, English is not my primary language and I might not have understood well. Sorry if I make English mistakes too.

click here to know where you got your last +1s

Offline shmibs

  • しらす丼
  • Administrator
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2132
  • Rating: +281/-3
  • try to be ok, ok?
    • View Profile
    • shmibbles.me
Re: Convert an image to pt-on commands?
« Reply #3 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.

Offline Hexatron

  • LV3 Member (Next: 100)
  • ***
  • Posts: 76
  • Rating: +2/-1
    • View Profile
Re: Convert an image to pt-on commands?
« Reply #4 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.

Offline shmibs

  • しらす丼
  • Administrator
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2132
  • Rating: +281/-3
  • try to be ok, ok?
    • View Profile
    • shmibbles.me
Re: Convert an image to pt-on commands?
« Reply #5 on: November 23, 2013, 05:54:53 pm »
you could use an OS Pic variable, couldn't you?

Offline ClrDraw

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 627
  • Rating: +61/-2
    • View Profile
    • GitHub
Re: Convert an image to pt-on commands?
« Reply #6 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.
Visit my GitHub for all my TI programs as well as other projects.
Also check out my website.

Offline Hexatron

  • LV3 Member (Next: 100)
  • ***
  • Posts: 76
  • Rating: +2/-1
    • View Profile
Re: Convert an image to pt-on commands?
« Reply #7 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.
« Last Edit: November 23, 2013, 09:12:37 pm by Hexatron »