Giter Site home page Giter Site logo

z821193713 / grok Goto Github PK

View Code? Open in Web Editor NEW

This project forked from grokimagecompression/grok

0.0 0.0 0.0 27.13 MB

World's Leading Open Source JPEG 2000 Codec

License: Other

Shell 0.12% C++ 95.85% Python 0.12% C 2.16% Makefile 0.01% CMake 1.46% Batchfile 0.01% Starlark 0.26%

grok's Introduction

World's Leading Open Source JPEG 2000 Codec

badge-license

Features

  • support for new High Throughput JPEG 2000 (HTJ2K) standard
  • fast random-access sub-image decoding using TLM and PLT markers
  • full encode/decode support for ICC colour profiles
  • full encode/decode support for XML,IPTC, XMP and EXIF meta-data
  • full encode/decode support for monochrome, sRGB, palette, YCC, extended YCC, CIELab and CMYK colour spaces
  • full encode/decode support for JPEG,PNG,BMP,TIFF,RAW,PNM and PAM image formats
  • full encode/decode support for 1-16 bit precision images
  • supported platforms: Linux x86-64, Linux AArch64, Windows, macOS and WebAssembly

Performance

Below is a benchmark comparing time and memory performance for Grok 9.7.8 and Kakadu 8.05 on the following workflows:

  1. decompress large single-tiled image of Mars to TIF output
  2. decompress region (1000,1000,5000,5000) from large single-tiled image of Mars to TIF output
  3. decompress 6 resolutions from 580000x825000 single-tiled image of Luxembourg
  4. decompress 7 resolutions from 580000x825000 single-tiled image of Luxembourg
  5. decompress 8 resolutions from 580000x825000 single-tiled image of Luxembourg
  6. decompress region (574200,816750,580000,825000) from 580000x825000 single-tiled image of Luxembourg

Benchmark Details

  • test system : 24 core / 48 thread AMD Threadripper running Fedora 36 with 5.17 Linux kernel and xfs file system
  • codecs were configured to use all 48 threads
  • file cache was cleared before each decompression using $ sudo sysctl vm.drop_caches=3
  • Grok was built in release mode using GCC 10

Results

Test Grok Kakadu
1 13.74 s / 16.6 GB 9.02 s / 0.05 GB
2 0.25 s / 0.4 GB 0.12 s
3 0.37 s / 0.7 GB 2.72 s / 1.0 GB
4 0.67 s / 1.0 GB 3.02 s / 1.0 GB
5 1.76 s / 1.8 GB 3.72 s / 1.1 GB
6 2.89 s / 6.0 GB 7.39 s / 1.1 GB

Library Details

Current Build Status

badge-actions badge-oss-fuzz

grok's People

Contributors

boxerab 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.