Skip to content

Commit

Permalink
fixed quantize typings
Browse files Browse the repository at this point in the history
  • Loading branch information
jtlapp committed Jan 18, 2018
1 parent d0bdcb7 commit 4e79052
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions index.d.ts
Expand Up @@ -122,11 +122,11 @@ export namespace GifUtil {
}
function getMaxDimensions(frames: GifFrame[]): { maxWidth: number, maxHeight: number };
function quantizeDekker(imageOrImages: BitmapImage|BitmapImage[], maxColorIndexes: number,
dither?: Dither): this;
dither?: Dither): void;
function quantizeSorokin(imageOrImages: BitmapImage|BitmapImage[], maxColorIndexes: number,
histogram?: string, dither?: Dither): this;
histogram?: string, dither?: Dither): void;
function quantizeWu(imageOrImages: BitmapImage|BitmapImage[], maxColorIndexes: number,
significantBits?: number, dither?: Dither): this;
significantBits?: number, dither?: Dither): void;
function read(source: string|Buffer, decoder?: GifDecoder): Promise<Gif>;
function write(path: string, frames: GifFrame[], spec?: GifSpec, encoder?: GifEncoder):
Promise<Gif>;
Expand Down

0 comments on commit 4e79052

Please sign in to comment.