Giter Club home page Giter Club logo

Comments (16)

veluca93 avatar veluca93 commented on May 19, 2024

Interesting, what is the image that reproduces this?

from libjxl.

jonsneyers avatar jonsneyers commented on May 19, 2024

I cannot reproduce. On PNG input, it works as expected. On JPEG input, doing lossless JPEG recompression, it does do something that it probably shouldn't do (it encodes something that is the top-left quadrant, upsampled 2x, that decodes to pixels but not back to the original jpeg). I couldn't find a way to make it not produce a jxl file though.

from libjxl.

jimbo2150 avatar jimbo2150 commented on May 19, 2024

Interesting, what is the image that reproduces this?

Every image I tried causes it to fail.

from libjxl.

jonsneyers avatar jonsneyers commented on May 19, 2024

Default cjxl options?

Are you using the current latest version from git?

(we should bump up the version number because 0.3.7 can mean anything at this point)

from libjxl.

jimbo2150 avatar jimbo2150 commented on May 19, 2024

I've tried with default and adding other options, nothing worked if resampling is set to anything other than 1.

It is 0.3.7, don't know the hash it was build on. Just using a build from the Discord links. Most don't work but the two I found that do both do the same thing. One appears to have SIMD while the other doesn't. They were both built around mid to end of May.
I can build one this weekend and see what happens.

from libjxl.

jimbo2150 avatar jimbo2150 commented on May 19, 2024

I just tried Raysar's new build and it works. Possibly the other builds floating around were missing something.

from libjxl.

jimbo2150 avatar jimbo2150 commented on May 19, 2024

Running into some issues again. Any photo I try to compress with quality below 52 fails.

from libjxl.

deymo avatar deymo commented on May 19, 2024

@jimbo2150 what platform do you need builds for?

from libjxl.

jimbo2150 avatar jimbo2150 commented on May 19, 2024

@jimbo2150 what platform do you need builds for?

Windows 10, but don't really need it now. Someone just did a build - first one I've seen in a few weeks. I can build it myself, but would need to do it over a weekend. Thanks.

from libjxl.

jimbo2150 avatar jimbo2150 commented on May 19, 2024

Running into some issues again. Any photo I try to compress with quality below 52 fails.

jxl-resampling-problem

from libjxl.

veluca93 avatar veluca93 commented on May 19, 2024

Ah, I know what is going on -- try passing --progressive_dc=0 too...

from libjxl.

jimbo2150 avatar jimbo2150 commented on May 19, 2024

Ah, I know what is going on -- try passing --progressive_dc=0 too...

That worked, but odd that you have to disable progressive decoding.

from libjxl.

veluca93 avatar veluca93 commented on May 19, 2024

Ah, I know what is going on -- try passing --progressive_dc=0 too...

That worked, but odd that you have to disable progressive decoding.

Progressive DC doesn't work with downsampling - but we should not turn it on by default then :)

from libjxl.

jimbo2150 avatar jimbo2150 commented on May 19, 2024

Also fails on any speed above 7.

jxl-resampling-speed-issue

from libjxl.

veluca93 avatar veluca93 commented on May 19, 2024

Ah, yes, I can see why that would be the case - we'll make sure to return an explicit error.

from libjxl.

ziemek99 avatar ziemek99 commented on May 19, 2024

Any updates on this issue?

from libjxl.

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.