import { ImageMagick } from "https://deno.land/x/lume@v1.18.5/deps/imagick.ts";
Properties
private
optional
api: ImageMagickApiprivate
readonly
loader: (wasmLocationOrData?: string | ByteArray) => Promise<void>Methods
_initialize(wasmLocationOrData?: string | ByteArray): 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: ByteArray, func: (image: IMagickImage) => TReturnType): TReturnType
read<TReturnType>(array: ByteArray, 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: ByteArray,
format: MagickFormat,
func: (images: IMagickImageCollection) => Promise<TReturnType>,
readCollection<TReturnType>(): TReturnType
array: ByteArray,
settings: MagickReadSettings,
func: (images: IMagickImageCollection) => TReturnType,
readCollection<TReturnType>(): Promise<TReturnType>
array: ByteArray,
settings: MagickReadSettings,
func: (images: IMagickImageCollection) => Promise<TReturnType>,
readCollection<TReturnType>(): TReturnType
array: ByteArray,
settings: MagickReadSettings,
func: (images: IMagickImageCollection) => TReturnType,
readCollection<TReturnType>(): Promise<TReturnType>
array: ByteArray,
settings: MagickReadSettings,
func: (images: IMagickImageCollection) => Promise<TReturnType>,
readCollection<TReturnType>(array: ByteArray, func: (images: IMagickImageCollection) => TReturnType): TReturnType
readCollection<TReturnType>(array: ByteArray, 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>