import { ImageMagick } from "https://deno.land/x/lume@v1.17.2/deps/imagick.ts";
Properties
private
optional
api: ImageMagickApiMethods
_initialize(wasmLocationOrData?: string | Buffer | Uint8Array): Promise<void>
Static Properties
_api: ImageMagickApi
_create: () => ImageMagick
Static Methods
read<TReturnType>(): TReturnType
read<TReturnType>(): Promise<TReturnType>
color: MagickColor,
width: number,
height: number,
func: (image: IMagickImage) => Promise<TReturnType>,
read<TReturnType>(): TReturnType
read<TReturnType>(): Promise<TReturnType>
read<TReturnType>(): TReturnType
read<TReturnType>(): Promise<TReturnType>
read<TReturnType>(array: Uint8Array, func: (image: IMagickImage) => TReturnType): TReturnType
read<TReturnType>(array: Uint8Array, func: (image: IMagickImage) => Promise<TReturnType>): Promise<TReturnType>
read<TReturnType>(): TReturnType
read<TReturnType>(): Promise<TReturnType>
read<TReturnType>(): TReturnType
read<TReturnType>(): Promise<TReturnType>
read<TReturnType>(fileName: string, func: (image: IMagickImage) => TReturnType): TReturnType
read<TReturnType>(fileName: string, func: (image: IMagickImage) => Promise<TReturnType>): Promise<TReturnType>
readCollection<TReturnType>(): TReturnType
readCollection<TReturnType>(): Promise<TReturnType>
array: Uint8Array,
format: MagickFormat,
func: (images: IMagickImageCollection) => Promise<TReturnType>,
readCollection<TReturnType>(): TReturnType
array: Uint8Array,
settings: MagickReadSettings,
func: (images: IMagickImageCollection) => TReturnType,
readCollection<TReturnType>(): Promise<TReturnType>
array: Uint8Array,
settings: MagickReadSettings,
func: (images: IMagickImageCollection) => Promise<TReturnType>,
readCollection<TReturnType>(): TReturnType
array: Uint8Array,
settings: MagickReadSettings,
func: (images: IMagickImageCollection) => TReturnType,
readCollection<TReturnType>(): Promise<TReturnType>
array: Uint8Array,
settings: MagickReadSettings,
func: (images: IMagickImageCollection) => Promise<TReturnType>,
readCollection<TReturnType>(array: Uint8Array, func: (images: IMagickImageCollection) => TReturnType): TReturnType
readCollection<TReturnType>(array: Uint8Array, func: (images: IMagickImageCollection) => Promise<TReturnType>): Promise<TReturnType>
readCollection<TReturnType>(): TReturnType
fileName: string,
settings: MagickReadSettings,
func: (images: IMagickImageCollection) => TReturnType,
readCollection<TReturnType>(): Promise<TReturnType>
fileName: string,
settings: MagickReadSettings,
func: (images: IMagickImageCollection) => Promise<TReturnType>,
readCollection<TReturnType>(fileName: string, func: (images: IMagickImageCollection) => TReturnType): TReturnType
readCollection<TReturnType>(fileName: string, func: (images: IMagickImageCollection) => Promise<TReturnType>): Promise<TReturnType>
readFromCanvas<TReturnType>(canvas: HTMLCanvasElement, func: (image: IMagickImage) => TReturnType): TReturnType
readFromCanvas<TReturnType>(canvas: HTMLCanvasElement, func: (image: IMagickImage) => Promise<TReturnType>): Promise<TReturnType>