[quake3] PNG Support

Matt Turner mattst88 at gmail.com
Sun Apr 23 13:40:40 EDT 2006


IIRC, SDL_image supports saving JPEGs.  A "IMG_LoadJPG_RW" does exist.

Matt

On 4/23/06, Joerg Dietrich <Dietrich_Joerg at t-online.de> wrote:
>
> Robert Lundmark wrote:
> > Would people find the feature useful? I like the thought because it's
> > lossless and therefore great if someone else wants to edit or reuse the
> > graphics. It's also smaller than tga. I would also like to know if ogg
> > vorbis is supported.
>
> Ogg Vorbis is supported, you just need to enable it during compilation.
> Than you can use Vorbis files as easily as Wav files in your new maps.
> I even made an oggified Demo-Pak0 for testing purposes.
> For the PNG-support : I support that! But it would be far more easy
> to "borrow" the SDL_image implementation of R_LoadImage() from the
> now defunct quakesrc.org Quake 3 port. SDL_image supports a wide range
> of image formats even PNG.
> On this way we could get rid of the local copy of jpeg-lib. I don't want
> to know how many long since fixed errors hide in there.
> The only problem are the two JPEG-writing functions in tr_image.c, which
> should be replaced by calls to the system jpeg-lib, which is anyways
> linked from SDL_image.
>
> Joerg
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://icculus.org/pipermail/quake3/attachments/20060423/e9220b66/attachment.htm>


More information about the quake3 mailing list