Omnimaga
Omnimaga => News => Topic started by: critor on February 16, 2012, 09:35:27 am
-
Today, you get the new mViewer CX 3.0, which adds compatibility with all TI-Nspire! ;D(http://www.omnimaga.org/Themes/default/images/gpbp_arrow_up.gif)
Meaning that you can now view PNG and BMP images on both color and monochrome Nspire.
PNG support was enhanced and file associations ".png.tns" and ".bmp.tns" are now supported.
Enjoy!
Download:
http://tiplanet.org/forum/archives_voir.php?id=3900
Cross-posted from:
http://tiplanet.org/forum/viewtopic.php?t=8799
-
Great ! :D
Now I don't have to put all my images in the same folder :)
(You'll say, you didn't have to, even before. I'll answer yes but it is much more convenient)
-
Great news! Excellent work critor! ;)
-
Very nice and good work Critor :)
-
great job ;) I'm really thankful for this!
-
How does work mv() or mvl()?
-
What do you mean?
-
He's probably talking about a newer mViewer version that creates hooks so it's opened when you type mv() in a calc page.
French news on TI-Planet: https://tiplanet.org/forum/viewtopic.php?f=43&t=11994&hilit=mvl (https://tiplanet.org/forum/viewtopic.php?f=43&t=11994&hilit=mvl)
It's explained how it works there.
-
Yes... It works now. Thanks.
I have one additional question. I want to open with mv() or mvl() a defined image (e.g. mv(/.../image.jpg)). Where are the functions mv() and mvl() defined? I have seen the code in mviewer.c. I understand the code, but i don't see where the functions mv() and mvl() are defined.
Could someone help me?
Thank you.
-
Hi,
The TSR code for now just checks with a memcmp if the input matches the "mv()" or "mvl()" strings.
Those strings are hard-coded in mviewer.c:
// mv()
const unsigned char mviewerstring1[] = {0x6D, 0x00, 0x76, 0x00, 0x28, 0x00, 0x29, 0x00, 0x00, 0x00};
// mvl()
const unsigned char mviewerstring2[] = {0x6D, 0x00, 0x76, 0x00, 0x6C, 0x00, 0x28, 0x00, 0x29, 0x00, 0x00, 0x00};
I'll be happy to read about your achievements.