[patch] Add WEBP support in SDL_image

Hi,

I’ve added support for WEBP ( with current version of libwebp, 0.1.3
at this time ).
I’ve only tested my changes on a Linux intel i386.

A possible update for hardware with low memory should to use
WebPIDecode and WebPIAppend functions ( check
http://code.google.com/intl/fr-FR/speed/webp/docs/api.html#decodingadvancedapi
)

Tests or remarks are welcome.

Thanks in advance,

By the way, is it also necessary to submit this patch as enhancement
on http://bugzilla.libsdl.org ?–
Michael Bonfils ( http://www.murlock.org )
-------------- next part --------------
A non-text attachment was scrubbed…
Name: webp_for_SDL_image.diff
Type: text/x-patch
Size: 13521 bytes
Desc: not available
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20111127/8e8aaa05/attachment.bin

This patch looks great, thanks!

Would it be okay to release this code under the zlib license?On Sun, Nov 27, 2011 at 3:46 PM, Michael Bonfils wrote:

Hi,

I’ve added support for WEBP ( with current version of libwebp, 0.1.3
at this time ).
I’ve only tested my changes on a Linux intel i386.

A possible update for hardware with low memory should to use
WebPIDecode and WebPIAppend functions ( check

http://code.google.com/intl/fr-FR/speed/webp/docs/api.html#decodingadvancedapi
)

Tests or remarks are welcome.

Thanks in advance,

By the way, is it also necessary to submit this patch as enhancement
on http://bugzilla.libsdl.org ?


Michael Bonfils ( http://www.murlock.org )


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

2011/11/29 Sam Lantinga :

This patch looks great, thanks!
Would it be okay to release this code under the zlib license?

Let’s go for zlib license then :)–
Michael Bonfils ( http://www.murlock.org )

Great, thanks!On Tue, Nov 29, 2011 at 3:53 AM, Michael Bonfils wrote:

2011/11/29 Sam Lantinga <@slouken>:

This patch looks great, thanks!
Would it be okay to release this code under the zlib license?

Let’s go for zlib license then :slight_smile:


Michael Bonfils ( http://www.murlock.org )


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org