Skip to content

Add support for libwebp#477

Open
bkmgit wants to merge 2 commits into
part-cw:masterfrom
bkmgit:libwebp
Open

Add support for libwebp#477
bkmgit wants to merge 2 commits into
part-cw:masterfrom
bkmgit:libwebp

Conversation

@bkmgit

@bkmgit bkmgit commented May 9, 2026

Copy link
Copy Markdown
Contributor

Add support for libwebp in libgd and also add a webp module similar to the png module.

@mgorges

mgorges commented May 10, 2026

Copy link
Copy Markdown
Contributor

Sorry, but it seems that your newly added modules/webp/webp.scm is still a PNG version, both in terms of function names and content, so that needs to be revised first before we can merge it.

@bkmgit bkmgit marked this pull request as ready for review May 17, 2026 07:32
@bkmgit

bkmgit commented May 17, 2026

Copy link
Copy Markdown
Contributor Author

Updated the module and added a demo example. In the demo example, the image is reversed for some reason, but otherwise seems ok.

Can follow up with support for animations, but will experiment with libgd to see if can produce an example for this using gifs first and see if need to additionally add support for giflib.

Add support for libwebp in libgd
@mgorges

mgorges commented Jun 3, 2026

Copy link
Copy Markdown
Contributor

This one is a bit hard to test as I can't build GD for iOS (it's fairly old, and the macOS architecture detection check fails checking host system type... Invalid configuration arm64-apple-darwin25.5.0': machine arm64-apple' not recognized.

@bkmgit

bkmgit commented Jun 3, 2026

Copy link
Copy Markdown
Contributor Author

Ok. My understanding is that GitHub actions can be used to build iOs apps:

xtool could also be helpful.

I do not have an Apple developer account though. Tools such as:

@mgorges

mgorges commented Jun 3, 2026

Copy link
Copy Markdown
Contributor

Sorry but the issue is that GD 2.3.3 doesn't compile with my current OS and toolchain, and there is no newer release, not the lack of integrated continuous integration, which you propose to add in #467, for it.

@bkmgit

bkmgit commented Jun 4, 2026

Copy link
Copy Markdown
Contributor Author

The continuous integration so far is just Linux and Android builds. I have not tried iOs builds. What version of iOs would you want to test it on? Need to see if the toolchains above can work with objective-c in addition to swift.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants