Interface PNG

Hierarchy

  • PNG

Properties

data: number[][]
depth: number
height: number
misc?: {
    bKGD?: number | number[];
    cHRM?: Record<"white" | "red" | "green" | "blue", number[]>;
    gAMA?: number;
    hIST?: Record<number, number[]>;
    pHYs?: Record<"x" | "y" | "unit", number>;
    sBIT?: number | number[];
    sPLT?: Record<string, Record<number, number[]>>;
    sRGB?: number;
    tEXt?: Record<string, string>;
    tIME?: string;
    tRNS?: number | number[];
    zTXt?: Record<string, string>;
}

Type declaration

  • Optional bKGD?: number | number[]
  • Optional cHRM?: Record<"white" | "red" | "green" | "blue", number[]>
  • Optional gAMA?: number
  • Optional hIST?: Record<number, number[]>
  • Optional pHYs?: Record<"x" | "y" | "unit", number>
  • Optional sBIT?: number | number[]
  • Optional sPLT?: Record<string, Record<number, number[]>>
  • Optional sRGB?: number
  • Optional tEXt?: Record<string, string>
  • Optional tIME?: string
  • Optional tRNS?: number | number[]
  • Optional zTXt?: Record<string, string>
palette?: Record<number, number[]>
type: PNGType
width: number

Generated using TypeDoc