Giter Site home page Giter Site logo

astc-encoder-service's Introduction

ASTC Encoder Service

This tool is meant to integrate your infrastructure and provide realtime resource (images, textures) conversion to the ASTC compressed data format.

The ASTC compressed data format, developed by Arm® and AMD, has been adopted as an official extension to the OpenGL®, OpenGL ES, and Vulkan® graphics APIs.

See the official repository for more information: https://github.com/ARM-software/astc-encoder

Principle

  • Call the service and provide an image file (JPG, PNG, ...)
  • The service returns the converted resource in the ASTC format

Parameters

  • input_file: contains the input binary file (an image to convert); mandatory
  • block_footprint: size of your block footprint (default: 6x6)
  • mode: can be one of four choices (default which is the linear LDR color profile, sRGB, HDR1 tuned for HDR RGB and LDR A, HDR2 tuned for HDR RGBA)
  • quality: can be fastest, fast, medium, thorough, exhaustive (default medium)

TODO

  • API wrapper
  • Dockerfile
  • Default parameters

Limitations

This repository focuses on the x86_64 version of the ASTC encoder. If you wish to use another instructions set, have a look at the official releases available on the ARM-software/astc-encoder repository.

The service doesn't manage any queue because we don't need one, and it is recommended to deploy multiple instances in a cluster to handle a low or limited workload.

astc-encoder-service's People

Contributors

morveus avatar

Watchers

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