Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for webp image format once integrated into wxWidgets 3.3 #1467

Open
KeyWorksRW opened this issue Apr 27, 2024 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@KeyWorksRW
Copy link
Owner

Description:

Support for the webp image format is being added to wxWidgets, however the actual source code is not included. Linux systems may have the library as a system package, but you still have to install the libwebp-dev to get the headers. For Windows, you have to have vcpkg installed.

The other alternative is to get the source code for webp and build it as part of wxUiEditor. Source code is at https://chromium.googlesource.com/webm/libwebp -- which means we can't use this a submodule because it's not a github repository. We could copy specific files from the latest release tag (currently 1.4). We'd still have to tweak our copy of wxWidgets since the header files would not be where wxWidgets expects them.

The advantage of this approach is that it should work on Linux and Windows without requiring the user to install a package. That would allow wxUiEditor to preview the webp images -- the user will still have to install the library and build their own copy of wxWidgets to actually use them.

@KeyWorksRW KeyWorksRW added the enhancement New feature or request label Apr 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant