xulihang Well-Known Member Licensed User Longtime User Oct 14, 2020 #1 I am trying to use webp-imageio-core. The jar has native libraries stored in META-INF. It works when I run it in debug mode but not okay in release mode since the jar does not include the libraries and I have to manually add these libraries to the compiled jar.
I am trying to use webp-imageio-core. The jar has native libraries stored in META-INF. It works when I run it in debug mode but not okay in release mode since the jar does not include the libraries and I have to manually add these libraries to the compiled jar.
tchart Well-Known Member Licensed User Longtime User Oct 14, 2020 #2 Are you wrapping the library? Did you compile the library from source or download the JAR? The native libraries should be inside the JAR file. If not you may need to wrap it. With a wrapper you can include additional binaries in the "additinal\lib\" folders (example below is for Android) Upvote 0
Are you wrapping the library? Did you compile the library from source or download the JAR? The native libraries should be inside the JAR file. If not you may need to wrap it. With a wrapper you can include additional binaries in the "additinal\lib\" folders (example below is for Android)
xulihang Well-Known Member Licensed User Longtime User Oct 15, 2020 #3 I download the compiled jar from here: https://github.com/nintha/webp-imageio-core/releases/tag/v0.1.3. It uses a third-party library to load native libraries stored in the META-INF folder. The b4j project is available here: https://github.com/xulihang/WebP-Converter Upvote 0
I download the compiled jar from here: https://github.com/nintha/webp-imageio-core/releases/tag/v0.1.3. It uses a third-party library to load native libraries stored in the META-INF folder. The b4j project is available here: https://github.com/xulihang/WebP-Converter
Erel B4X founder Staff member Licensed User Longtime User Oct 15, 2020 #4 Why aren't you using: https://www.b4x.com/android/forum/threads/b4x-webp-images.119990/#content ? Upvote 0
xulihang Well-Known Member Licensed User Longtime User Oct 15, 2020 #5 Erel said: Why aren't you using: https://www.b4x.com/android/forum/threads/b4x-webp-images.119990/#content ? Click to expand... This is windows only and also, I need to convert jpg to webp as well Upvote 0
Erel said: Why aren't you using: https://www.b4x.com/android/forum/threads/b4x-webp-images.119990/#content ? Click to expand... This is windows only and also, I need to convert jpg to webp as well
Erel B4X founder Staff member Licensed User Longtime User Oct 15, 2020 #6 xulihang said: I need to convert jpg to webp as well Click to expand... This should be easy to add. The native library supports it. It also includes Linux binaries so it can run on Linux. Upvote 0
xulihang said: I need to convert jpg to webp as well Click to expand... This should be easy to add. The native library supports it. It also includes Linux binaries so it can run on Linux.
xulihang Well-Known Member Licensed User Longtime User Oct 15, 2020 #7 Thanks. I may turn to this one instead. Upvote 0