Omnimaga

Calculator Community => TI Calculators => TI-BASIC => Topic started by: AssemblyBandit on November 23, 2013, 09:41:30 pm

Title: QR Converter
Post by: AssemblyBandit 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!
Title: Re: QR Converter
Post by: Hexatron 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  *.*
Title: Re: QR Converter
Post by: Sorunome on November 24, 2013, 02:53:07 am
Hehe, now a QR-Code reader would be epic :P
Title: Re: QR Converter
Post by: Hexatron 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.