-
Notifications
You must be signed in to change notification settings - Fork 4
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
Request: split the repository into 2, so that one would be a dependency all can use to decode Jpeg XL easily, using Java/Kotlin #25
Comments
The app and the lib are already separated in the repository. When the lib will be more usable, I intend to publish it (on mavencentral if I figure it out how to publish on it). |
@oupson So maybe it's possible to use Jitpack without any effort from your side, no? |
@oupson It seems it should be possible: However, for some reason there is an error with v0.3.0 |
Yeah I got the same problem with my other library, it is quite easy to fix : https://github.com/oupson/Kapng-Android/blob/master/jitpack.yml |
? |
Jitpack is still using jdk 8 when AGP require jdk 17 |
Oh.... |
Well sometimes build time out and you can't restart it, but otherwise nothing I'm aware of |
This should work (untested): dependencies {
implementation 'com.github.oupson:jxlviewer:94fe98aaa4'
} |
Thank you. Is this library better than others in some way? But I don't see a license there, and I don't see a way to downsample the image (to avoid using too much memory in case the image is huge) in the main page. |
I wasn't aware there were other libraries for android, so I don't know which one is better. However jxl-coder seems to be able to encode jxl. Down-sampling should to be possible with the jxl format. |
I haven't checked the code here. |
No sorry I don't have any example. Down sampling could probably be down when decoding each frames. I'm not aware with any integration with the glide library. I intend to invest more time to build a better library in the future, for the moment it is very simple. |
Using BitmapFactory it's possible to get information about the image without actually saving the bitmap. |
As the title says.
The text was updated successfully, but these errors were encountered: