Skip to content

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

License

Notifications You must be signed in to change notification settings

SimonBoorer/Quantize

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published