mirror of
https://github.com/swc-project/swc.git
synced 2024-12-23 05:32:09 +03:00
28 lines
450 B
TypeScript
28 lines
450 B
TypeScript
// Loaded from https://deno.land/x/deno_image@v0.0.3/lib/decoders/fast-png/internalTypes.ts
|
|
|
|
|
|
export enum ColorType {
|
|
UNKNOWN = -1,
|
|
GREYSCALE = 0,
|
|
TRUECOLOUR = 2,
|
|
INDEXED_COLOUR = 3,
|
|
GREYSCALE_ALPHA = 4,
|
|
TRUECOLOUR_ALPHA = 6,
|
|
}
|
|
|
|
export enum CompressionMethod {
|
|
UNKNOWN = -1,
|
|
DEFLATE = 0,
|
|
}
|
|
|
|
export enum FilterMethod {
|
|
UNKNOWN = -1,
|
|
ADAPTIVE = 0,
|
|
}
|
|
|
|
export enum InterlaceMethod {
|
|
UNKNOWN = -1,
|
|
NO_INTERLACE = 0,
|
|
ADAM7 = 1,
|
|
}
|