Git Product home page Git Product logo

Comments (14)

OkyDooky avatar OkyDooky commented on August 10, 2024 1

Well, at least it's noted. But, I'll leave that aspect for the upstream parts, like Awxkee's coder and libjxl proper.
Thanks for bearing with me, regardless.

from imagetoolbox.

OkyDooky avatar OkyDooky commented on August 10, 2024

For comparison, I do not have this issue with this app: https://play.google.com/store/apps/details?id=ebusky.jpeg.xl.image.viewer.converter

from imagetoolbox.

T8RIN avatar T8RIN commented on August 10, 2024

i will check 😃

from imagetoolbox.

OkyDooky avatar OkyDooky commented on August 10, 2024

Thanks! Also, the input file size is only 2.5MB! Not sure how it got so large, then. (12MP, if that has anything to do with it: 3024 x 4032)

from imagetoolbox.

T8RIN avatar T8RIN commented on August 10, 2024

Maybe that my fault, and i'm passing wrong args, but if not, that's may be related to libjxl or coder which i use

from imagetoolbox.

OkyDooky avatar OkyDooky commented on August 10, 2024

Hopefully it's an easy fix. I found this, because I'm trying to help with getting JXL support into Fossify Gallery and I'm helping QuackDoc test his PR. It seems that all viewing apps suffer from the decoder (my guess), because all of them show a lower-resolution version than the actual file. The only one that seems to show it correctly is https://github.com/oupson/jxlviewer except it doesn't zoom in past 100% and isn't a gallery app.
So, there could be something funky with the libjxl implementation for Android, in general. Maybe something changed recently, because the PlayStore app I linked was last updated in Feb. of this year.

from imagetoolbox.

T8RIN avatar T8RIN commented on August 10, 2024

Try to open it in image preview screen

from imagetoolbox.

OkyDooky avatar OkyDooky commented on August 10, 2024

Is that the +Magnifier button in the upper right (like in the second screenshot)?

from imagetoolbox.

T8RIN avatar T8RIN commented on August 10, 2024

It's in the third section

from imagetoolbox.

OkyDooky avatar OkyDooky commented on August 10, 2024

Got it.
Well, that's weird. I imported the JXL of the flowers and the JPG original and the JXL looked crappier. But, after going back and forth, then it looked fine at some point? Hmmm.
But, weirdly, one other file that I converted twice with this app had one that looked just as bad as I described, while the first attempt now looked fine(ish).
...okay, hold up. I just imported the original for that other image just to see (since I couldn't remember if I did anything different with the settings between the two conversion attempts) and I didn't notice anything different between it (the original) and the first attempt. So, I checked the second attempt and...it looked just as fine as the other two. It definitely looked way worse before. And this is all in one session (I didn't exit out of the Image Preview during making this post).
That seems like it might be the decoder, after all. 🤔

from imagetoolbox.

T8RIN avatar T8RIN commented on August 10, 2024

interesting indeed, i have no idea what's wrong 🧮

from imagetoolbox.

T8RIN avatar T8RIN commented on August 10, 2024

Theres update in libjxl and jxlcoder, maybe that will help

from imagetoolbox.

OkyDooky avatar OkyDooky commented on August 10, 2024

Okay. I'm using Obtainium. So, as soon as the new binary releases for ImageTooolbox, I'll test it out and let you know if it's working for me.

from imagetoolbox.

OkyDooky avatar OkyDooky commented on August 10, 2024

I think I need to either rename this issue or create a new one, because it isn't just JXL that's having this problem. I tested converting to MozJpeg, WebP, and Avif and all of them came out much larger than the preview file size claimed (I think it even low balls the input size, saying a 2.2MB PNG was 1.0MB). MozJpeg also came out massively bloated compared to what it should be. That 2.2MB PNG turned into a 597KB Jpeg when converting using Aves Gallery (which uses the system's built in libjpeg-turbo) at Q=93, while ImageToolbox output a 924KB Jpeg when using MozJpeg at Q=85! And the preview estimated it would be around 171KB.
Update: just tried converting that PNG to Jpeg (using the Jpg setting) in ImageToolbox using Q=93 and it output to 1MB (preview said 302KB), which is roughly double what Aves output.

from imagetoolbox.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.