Author Topic: QR Converter  (Read 3508 times)

0 Members and 1 Guest are viewing this topic.

Offline AssemblyBandit

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 374
  • Rating: +60/-1
  • ~AssemblyBandit~
    • View Profile
    • briandm82.com
QR Converter
« on: November 23, 2013, 09:41:30 pm »
This program will take a QR code image (or any black and white image) and convert it to a TI-BASIC program that uses pxl-on() commands to display it. I can't say that its efficient, pxl-on commands take up more space than a compressed 1bit image. It sets the color to black, adds X and Y offsets, and doubles the resolution so that it can be read by QR code readers. Note that the demo program uses 18k bytes of RAM!
« Last Edit: November 23, 2013, 09:43:33 pm by AssemblyBandit »

Offline Hexatron

  • LV3 Member (Next: 100)
  • ***
  • Posts: 76
  • Rating: +2/-1
    • View Profile
Re: QR Converter
« Reply #1 on: November 24, 2013, 12:52:14 am »
I'm not on that often during the day so I couldn't unlock the thread until now. :( Thanks, though. It turns out your beta IViewer was better because of the fact I could put a whole splash screen onto the homescreen. Plus, with your APP, everything stays in the ARC, and only ended up using 9k bytes with the highest colour setting. Turns out I never knew how much space pxl-on / pt-on commands took up  *.*
« Last Edit: November 24, 2013, 12:56:07 am by Hexatron »

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: QR Converter
« Reply #2 on: November 24, 2013, 02:53:07 am »
Hehe, now a QR-Code reader would be epic :P

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline Hexatron

  • LV3 Member (Next: 100)
  • ***
  • Posts: 76
  • Rating: +2/-1
    • View Profile
Re: QR Converter
« Reply #3 on: November 24, 2013, 03:46:23 am »
I was thinking about it, but the problem is the size of the code. You'd have to resize it, which would be hard enough, then, you would have to decode it, which would stink for me because it would take years in TI-BASIC. I'd have to be ASM.