Author Topic: Nspire bmp viewer  (Read 10462 times)

0 Members and 1 Guest are viewing this topic.

Offline fb39ca4

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1749
  • Rating: +60/-3
    • View Profile
Re: Nspire bmp viewer
« Reply #15 on: August 05, 2010, 02:29:16 pm »
Yaay! I just loaded up my calc with epic fail pics.
Why is the keypress detection slow?

Offline TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
Re: Nspire bmp viewer
« Reply #16 on: August 05, 2010, 02:44:19 pm »
From the previous page :):
The controls aren't very smooth since the keypress delay method I use is terrible so you may have to hold a key down for a while for it to register.

Offline fb39ca4

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1749
  • Rating: +60/-3
    • View Profile
Re: Nspire bmp viewer
« Reply #17 on: August 05, 2010, 02:58:39 pm »
I wasn't clear, I really meant why is this keypress method used?

Offline bwang

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 634
  • Rating: +30/-11
    • View Profile
Re: Nspire bmp viewer
« Reply #18 on: August 05, 2010, 04:33:07 pm »
Because I haven't figured out an intelligent way to do it, so I just refresh the screen 20 times each iteration of the loop.

Offline bwang

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 634
  • Rating: +30/-11
    • View Profile
Re: Nspire bmp viewer
« Reply #19 on: August 05, 2010, 07:12:14 pm »
Doublepost is bad, I know, but here's a minor update. It now only refreshes 3x instead of 20.
Also, you now click at the file selection screen, instead of pressing RETURN.
« Last Edit: August 05, 2010, 07:15:49 pm by bwang »

Offline DJ Omnimaga

  • Former TI programmer
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55832
  • Rating: +3151/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • DJ Omnimaga Music
Re: Nspire bmp viewer
« Reply #20 on: August 05, 2010, 07:16:35 pm »
It isn't as bad if it's made within the forum rules ;) (which is currently the case, since it has been more than one hour for a project update :P)

I'll have to give this a try again at one point. Last time I didn't get it to work, but I think I started to figure out
In case you are wondering where I went, I left Omni back in 2015 to form CodeWalrus due to various reasons explained back then, but I stopped calc dev in 2016 and am now mostly active on the CW Discord server at https://discord.gg/cuZcfcF



Official Website |T-Shirt store | Reverbnation | Facebook | Youtube | Twitter | Spotify

Offline bwang

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 634
  • Rating: +30/-11
    • View Profile
Re: Nspire bmp viewer
« Reply #21 on: August 05, 2010, 07:32:26 pm »
Yet another update! Press +/- when viewing to change the contrast.

Offline bwang

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 634
  • Rating: +30/-11
    • View Profile
Re: Nspire bmp viewer
« Reply #22 on: August 06, 2010, 01:30:29 am »
A bugfix update: the program now calls free() appropriately at the end of main() to free the malloc'd blocks of memory. This should prevent some random crashes I've been getting.
Also, attached some screenies. We all love screenies, right? :)

Offline apcalc

  • The Game
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1393
  • Rating: +120/-2
  • VGhlIEdhbWUh (Base 64 :))
    • View Profile
Re: Nspire bmp viewer
« Reply #23 on: August 06, 2010, 09:12:49 am »
Very nice bwang!

Great job :)


Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Re: Nspire bmp viewer
« Reply #24 on: August 06, 2010, 02:21:27 pm »
Wow, excellent job!  Nice work bwang! ;D

Offline DJ Omnimaga

  • Former TI programmer
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55832
  • Rating: +3151/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • DJ Omnimaga Music
Re: Nspire bmp viewer
« Reply #25 on: August 06, 2010, 09:54:58 pm »
Darn it must look quite nice on calc.
In case you are wondering where I went, I left Omni back in 2015 to form CodeWalrus due to various reasons explained back then, but I stopped calc dev in 2016 and am now mostly active on the CW Discord server at https://discord.gg/cuZcfcF



Official Website |T-Shirt store | Reverbnation | Facebook | Youtube | Twitter | Spotify

Offline apcalc

  • The Game
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1393
  • Rating: +120/-2
  • VGhlIEdhbWUh (Base 64 :))
    • View Profile
Re: Nspire bmp viewer
« Reply #26 on: August 06, 2010, 10:23:42 pm »
Heres a nice screenshot:



It looks great on hardware too!


Offline DJ Omnimaga

  • Former TI programmer
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55832
  • Rating: +3151/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • DJ Omnimaga Music
Re: Nspire bmp viewer
« Reply #27 on: August 08, 2010, 05:27:53 pm »
Nice, even better with the dithering ^^
In case you are wondering where I went, I left Omni back in 2015 to form CodeWalrus due to various reasons explained back then, but I stopped calc dev in 2016 and am now mostly active on the CW Discord server at https://discord.gg/cuZcfcF



Official Website |T-Shirt store | Reverbnation | Facebook | Youtube | Twitter | Spotify

Offline fb39ca4

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1749
  • Rating: +60/-3
    • View Profile
Re: Nspire bmp viewer
« Reply #28 on: August 09, 2010, 12:01:04 pm »
I think that dithering was from the screenshot program-it is dithered in the border of the emulator.

Offline apcalc

  • The Game
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1393
  • Rating: +120/-2
  • VGhlIEdhbWUh (Base 64 :))
    • View Profile
Re: Nspire bmp viewer
« Reply #29 on: August 09, 2010, 12:05:46 pm »
Yeah, I think that was caused by Windows Snipping Tool.  It is like that on all screenshots I take with it.