Giter Club home page Giter Club logo

jxl-coder-swift's Issues

Method for wrapping libjxl in an XCFramework?

I’m trying to write a wrapper library for libjxl, similar to this one. I haven’t been able to figure out how to build libjxl for iOS and wrap it in an XCFramework. There isn’t much documentation on building the project for macOS/iOS.

How did you accomplish this?

macOS: Lossless PNG encoding randomly producing extreme small files

Environment:

JxlCoder (1.3.1)
macOS Ventura

Repro steps

  • Clone and compile this demo (It does a lossless PNG encoding and saves the result into a tmp file)
  • Open a PNG (I took a screenshot on my macOS, a 500KB PNG)
  • A Finder window will pop up highlighting the result file
  • Do it multiple times with the same source PNG
image

Here's the result on my side. The same 500KB PNG file could end with being 166KB or 32KB randomly.

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.