GithubHelp home page GithubHelp logo

Comments (2)

thorfdbg avatar thorfdbg commented on July 17, 2024

Yes, your observation is correct. What you see here are the "default Huffman tables" that include codes for symbols that are unused in the baseline and extended Huffman case, but that are actually used in some XT extended processes like the "high bitrate case" for residual coding of large bpp cases. This way the encoder can get away with a single default table instead of multiple tables.
At this version, you can avoid the trouble (if it is one) by creating an optimized Huffman table (with the -h option) and only those symbols are included in the table that are actually used.
As you state, the standard is not very expicit whether that is permissible or not. It would be interesting to see whether that causes breakage in some implementations. Do you have further information?

from libjpeg.

thorfdbg avatar thorfdbg commented on July 17, 2024

Won't fix. Work around documented if needed, though the streams should be fine.

from libjpeg.

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.