jpg files for backgrounds

Got a cool idea that should be in R'n'D? Let's hear it!

Moderators: Flumminator, Zomis

Post Reply
richard
Posts: 199
Joined: Fri Jun 18, 2004 9:00 pm

jpg files for backgrounds

Post by richard »

I have a small problem... I have background pictures for the menu, and I have to set a 900 kb pcx file for it. With a jpg it could do it with only 90 kb. My idea: Allowing to set also jpgs for backgrounds. I mean to allow more image types... at least please jpg.
User avatar
Holger
Site Admin
Posts: 4081
Joined: Fri Jun 18, 2004 4:13 pm
Location: Germany
Contact:

Post by Holger »

As not all versions for the various supported platforms (like native X11) can use SDL_image to easily load other image formats, there will only be support for the PCX format for now (which is a format which can easily be decoded and does not need lots of library dependencies, like JPG or PNG would do).

So, for now you have to convert it to PCX, I'm afraid.

(Which should be no problem for now, as hard disk space is cheap these days, and download packages are additionally compressed. Using relatively weak compression formats like zip and the run-length encoding in PCX is just a tradeoff for having only a very small number of library dependencies, so most people have a good chance to be able to play the game on their preferred computer platform.)
Post Reply