ToME: the Tales of Maj'Eyal

Everything about ToME
It is currently Wed Dec 13, 2017 1:25 am

All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: JPEG support
PostPosted: Fri Nov 22, 2013 5:11 pm 
Offline
Thalore

Joined: Mon Mar 25, 2013 10:09 pm
Posts: 153
It looks like T-Engine only supports PNG (at least on Windows). Could JPEG support be added?

I found a very nice, absolutely huge piece of Chinese artwork that I wanted to show slowly scrolling across the background of the boot module's main menu, but a PNG version is simply too big. This is definitely just a wish list item (even a JPEG version may be too big, and there are always other things I can do for a background), but still, it'd be nice to have.

If JPEG support is added, then converting ToME's own backgrounds to JPEG should reduce the download size by a megabyte or two, for whatever that's worth.

_________________
Qi Daozei (QDZ) - an Oriental-themed fantasy game for T-Engine. ToME Tips - auto-generated spoilers for ToME.


Top
 Profile  
 
 Post subject: Re: JPEG support
PostPosted: Fri Nov 22, 2013 5:22 pm 
Offline
Master of Eyal

Joined: Wed Jul 24, 2002 9:26 pm
Posts: 10144
Location: Angolwen
JPEG is a proprietary format sorry :)

As for what you wish to do, dont ;)
GPUs have a maximum texture size and loading something much bigger than the screen is bound to fail on some sucky cards.
Best way IMO to handle is to split it in reasonable chunks (512x512 ? maybe 1024x1024) and display them side by side

_________________
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning ;)


Top
 Profile  
 
 Post subject: Re: JPEG support
PostPosted: Sat Nov 23, 2013 3:55 am 
Offline
Thalore

Joined: Mon Mar 25, 2013 10:09 pm
Posts: 153
Interesting. I didn't realize that there were concerns with JPEG.

Are there still issues with it? I tried looking around online, and it looks like all of the relevant patents expired a few years ago.

Thanks for the advice on splitting up the image. I'm new to GPU programming.

_________________
Qi Daozei (QDZ) - an Oriental-themed fantasy game for T-Engine. ToME Tips - auto-generated spoilers for ToME.


Top
 Profile  
 
 Post subject: Re: JPEG support
PostPosted: Sat Nov 23, 2013 1:52 pm 
Offline
Master of Eyal

Joined: Wed Jul 24, 2002 9:26 pm
Posts: 10144
Location: Angolwen
It may well be the case :) Still I'd rather just keep png :)

_________________
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning ;)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group