common.ts 369 Bytes
/**
 * @preserve
 * Copyright 2015-2016 Igor Bezkrovnyi
 * All rights reserved. (MIT Licensed)
 *
 * common.ts - part of Image Quantization Library
 */
import { PointContainer } from "../utils/pointContainer"
import { Palette } from "../utils/palette"

export interface IPaletteQuantizer {
    sample(pointBuffer : PointContainer) : void;
    quantize() : Palette;
}