GithubHelp home page GithubHelp logo

carck / jpegli Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gen2brain/jpegli

0.0 0.0 0.0 1.2 MB

Go encoder/decoder for JPEG based on jpegli

License: BSD 3-Clause "New" or "Revised" License

C 39.90% Go 53.94% Makefile 6.16%

jpegli's Introduction

jpegli

Status Go Reference

Go encoder/decoder for JPEG.

Based on jpegli from libjxl compiled to WASM and used with wazero runtime (CGo-free).

Benchmark

goos: linux
goarch: amd64
pkg: github.com/gen2brain/jpegli
cpu: 11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz

BenchmarkDecodeStd-8       	     549	   2187227 ns/op	  407120 B/op	       7 allocs/op
BenchmarkDecode-8          	     554	   2172405 ns/op	  154672 B/op	      44 allocs/op

BenchmarkEncodeStd-8       	     260	   4601558 ns/op	    6109 B/op	       7 allocs/op
BenchmarkEncode-8          	     314	   3791604 ns/op	  394816 B/op	      13 allocs/op

BenchmarkEncodeRGBAStd-8   	     228	   5237803 ns/op	    9762 B/op	       8 allocs/op
BenchmarkEncodeRGBA-8      	     261	   4558648 ns/op	    4862 B/op	      13 allocs/op

Resources

jpegli's People

Contributors

gen2brain avatar

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.