Author Topic: New mViewer CX 3.2 adds JPEG support  (Read 13653 times)

0 Members and 1 Guest are viewing this topic.

Offline critor

  • Editor
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2079
  • Rating: +439/-13
    • View Profile
    • TI-Planet
New mViewer CX 3.2 adds JPEG support
« on: July 28, 2012, 11:10:09 pm »
mViewer is an image reader for all TI-Nspire.
Unlike the OS, it lets you open images bigger than the screen, zoom in, zoom out, and scroll them.




The latest main improvements were TI-Nspire CX support and PNG images support thanks to a port of zlib and libPNG libraries for the TI-Nspire by JayTe.



mViewer CX 3.2 now includes a port of the libJPEG library for the TI-Nspire by myself, adding JPEG images support. :thumbsup:

You can now open BMP, PNG and JPEG images. :thumbsup:



There has also been speed improvements and many memory improvements which should help you opening bigger images on non-CX TI-Nspire which are limited in RAM (32MB SDRAM, allmost filled by the OS). :thumbsup:






Source: http://tiplanet.org/forum/viewtopic.php?f=43&t=10171
Download: http://tiplanet.org/forum/archives_voir.php?id=6601

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: New mViewer CX 3.2 adds JPEG support
« Reply #1 on: July 29, 2012, 12:05:12 am »
That's great. JPEG is much smaller than PNGs (although less quality) so hopefully for some images it should be quite handy :D

Would GIF (along with animated GIF) support be feasible?

Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: New mViewer CX 3.2 adds JPEG support
« Reply #2 on: July 29, 2012, 02:14:46 am »
This is great news :D
However, this still need Ndless, right ? So calling it mViewer 3.2 is not a good idea in my opinion. People could think it runs on OS 3.2
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 critor

  • Editor
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2079
  • Rating: +439/-13
    • View Profile
    • TI-Planet
Re: New mViewer CX 3.2 adds JPEG support
« Reply #3 on: July 29, 2012, 06:45:52 am »
This is great news :D
However, this still need Ndless, right ? So calling it mViewer 3.2 is not a good idea in my opinion. People could think it runs on OS 3.2

I understand the problem, but last version was 3.1...
TI-Planet co-admin.

Offline Reo

  • LV3 Member (Next: 100)
  • ***
  • Posts: 64
  • Rating: +15/-0
    • View Profile
Re: New mViewer CX 3.2 adds JPEG support
« Reply #4 on: July 29, 2012, 06:48:36 am »
This is great news :D
However, this still need Ndless, right ? So calling it mViewer 3.2 is not a good idea in my opinion. People could think it runs on OS 3.2

I understand the problem, but last version was 3.1...
Perhaps, until a version of ndless is released for 3.2, you could try something like 3.1x (so this might be "3.11")

Offline Lionel Debroux

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2135
  • Rating: +290/-45
    • View Profile
    • TI-Chess Team
Re: New mViewer CX 3.2 adds JPEG support
« Reply #5 on: July 29, 2012, 06:53:43 am »
Or 4.0, as this corresponds to feature level 4 ?
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.

Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: New mViewer CX 3.2 adds JPEG support
« Reply #6 on: July 29, 2012, 12:23:07 pm »
Or you just add revisions, like Ndless. This would be mViewer CX 3.1 r1.
Now that I think of it, it is the same as Reo's solution but a bit more ugly -.-
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 Lionel Debroux

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2135
  • Rating: +290/-45
    • View Profile
    • TI-Chess Team
Re: New mViewer CX 3.2 adds JPEG support
« Reply #7 on: July 29, 2012, 12:30:31 pm »
Ndless revisions refer to a revision in SCM (namely, SVN), while I'm not aware that there's a SCM for mViewer ;)
« Last Edit: July 29, 2012, 12:30:45 pm by Lionel Debroux »
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.

Offline critor

  • Editor
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2079
  • Rating: +439/-13
    • View Profile
    • TI-Planet
Re: New mViewer CX 3.2 adds JPEG support
« Reply #8 on: July 29, 2012, 09:38:52 pm »
mViewer CX updated to version 3.21.

- disabled double buffering on CX because of a side bug (flickering screen) when changing screen base address (don't worry: no speed issue)

- improved scrolling on zoomed in images

- improved touchpad reactivity, espacially on zoomed in images



If you have a touchpad, try this version - you're going to love it! :D



Download:
http://tiplanet.org/forum/archives_voir.php?id=6601
« Last Edit: July 29, 2012, 09:39:30 pm by critor »
TI-Planet co-admin.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: New mViewer CX 3.2 adds JPEG support
« Reply #9 on: July 29, 2012, 09:53:24 pm »
I'Ll have to update my copy because I still got one of the first CX-compatible version XD

Offline critor

  • Editor
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2079
  • Rating: +439/-13
    • View Profile
    • TI-Planet
Re: New mViewer CX 3.2 adds JPEG support
« Reply #10 on: July 29, 2012, 11:10:46 pm »
mViewer CX updated again to version 3.22, and this time I'm very happy with this one :)

Double buffering is back on the CX, and the flickering screen side bug which had bothered me for 6 months is now fixed.

Double buffering needs 2 16-bits screen buffers.
For one of them, we can take the default OS screen buffer.
But the other has to be (m)allocated...

And the PL111 screen controller from the CX only want the screen address to be set double-word-aligned (divisible by 8 ).
http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0293c/I899134.html

So when malloc was returning addresses not divisible by 8, the screen address used by the hardware was the nearest lower number divisible by 8, so lower than the address known to mviewer, making the screen shift.


Download:
http://tiplanet.org/forum/archives_voir.php?id=6601



A similar bug might be present in nDoom on CX, as it uses an 8-bits screen buffer non-CX handhelds had to (m)allocate, which is useless on CX but I think I didn't make a CX-specific version of this line.
« Last Edit: July 29, 2012, 11:13:28 pm by critor »
TI-Planet co-admin.

Offline critor

  • Editor
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2079
  • Rating: +439/-13
    • View Profile
    • TI-Planet
Re: New mViewer CX 3.2 adds JPEG support
« Reply #11 on: August 01, 2012, 01:42:37 pm »
Updated mViewer to 3.3 with many RAM optimisations.



Just check the demo: I can open images with more than 16Mpixels! :crazy:
(TI-Nspire CX only - the 64MB SDRAM chip is needed)




Such images take something like 30-34MB in RAM when decompressed, meaning that the OS takes 30MB, and that it can't go on growing up like that on non-CX TI-Nspire (32MB RAM chip).



Source with more information:
http://tiplanet.org/forum/viewtopic.php?f=43&t=10181&p=127860#p127860

Download:
http://tiplanet.org/forum/archives_voir.php?id=6601
« Last Edit: August 01, 2012, 02:03:50 pm by critor »
TI-Planet co-admin.

Offline apcalc

  • The Game
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1393
  • Rating: +120/-2
  • VGhlIEdhbWUh (Base 64 :))
    • View Profile
Re: New mViewer CX 3.2 adds JPEG support
« Reply #12 on: August 02, 2012, 10:54:22 am »
Looks good and quite handy! ;D


Offline pojo

  • LV0 Newcomer (Next: 5)
  • Posts: 1
  • Rating: +0/-0
    • View Profile
Re: New mViewer CX 3.2 adds JPEG support
« Reply #13 on: April 01, 2013, 10:22:38 pm »
feature request : is it possible to have a feature that by pressing a forward/backward key allows the next/previous image to be shown while viewing the current image ? this would save a lot of time when searching through many images..(its slow to ESC from each image being viewed and then load another one)

thank you for all of your excellent work !

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: New mViewer CX 3.2 adds JPEG support
« Reply #14 on: April 01, 2013, 10:23:32 pm »
wow, that is a pretty high quality O.O

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