SimonBoorer / Quantize

A utility for quantizing an image using the Gervautz-Purgathofer octree method

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Quantize

A utility for quantizing an image using the Gervautz-Purgathofer octree method:

Build Instructions

  1. Install CMake 3.1.0 or later

  2. Install Boost

  3. Install OpenImageIO 1.6 or later

  4. Clone a copy of the repository:

    git clone https://github.com/SimonBoorer/Quantize.git
    
  5. Build with CMake:

    cd Quantize
    mkdir build
    cd build
    cmake ..
    make
    

Usage

Usage: Quantize [options] input-file output-file
Allowed options:
  -h [ --help ]                   produce help message
  -m [ --max-colours ] arg (=255) maximum number of colours in the palette
  -b [ --colour-bits ] arg (=8)   number of significant bits in each 8-bit 
                                  colour compartment

About

A utility for quantizing an image using the Gervautz-Purgathofer octree method

License:MIT License


Languages

Language:C++ 87.2%Language:CMake 12.8%