Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/lume/deps/imagick.ts>ImageMagick

🔥 Static site generator for Deno 🦕
Very Popular
Go to Latest
class ImageMagick
Re-export
import { ImageMagick } from "https://deno.land/x/lume@v1.16.1/deps/imagick.ts";

Constructors

new
private
ImageMagick()

Properties

private
optional
api: ImageMagickApi
private
readonly
loader: () => Promise<void>

Methods

_initialize(): Promise<void>

Static Methods

read<TReturnType>(
color: MagickColor,
width: number,
height: number,
func: (image: IMagickImage) => TReturnType,
): TReturnType
read<TReturnType>(
color: MagickColor,
width: number,
height: number,
func: (image: IMagickImage) => Promise<TReturnType>,
): Promise<TReturnType>
read<TReturnType>(
array: Uint8Array,
format: MagickFormat,
func: (image: IMagickImage) => TReturnType,
): TReturnType
read<TReturnType>(
array: Uint8Array,
format: MagickFormat,
func: (image: IMagickImage) => Promise<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>(array: Uint8Array, func: (image: IMagickImage) => TReturnType): TReturnType
read<TReturnType>(array: Uint8Array, func: (image: IMagickImage) => Promise<TReturnType>): Promise<TReturnType>
read<TReturnType>(
fileName: string,
format: MagickFormat,
func: (image: IMagickImage) => TReturnType,
): TReturnType
read<TReturnType>(
fileName: string,
format: MagickFormat,
func: (image: IMagickImage) => Promise<TReturnType>,
): Promise<TReturnType>
read<TReturnType>(
fileName: string,
func: (image: IMagickImage) => TReturnType,
): TReturnType
read<TReturnType>(
fileName: string,
func: (image: IMagickImage) => Promise<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>(
array: Uint8Array,
format: MagickFormat,
func: (images: IMagickImageCollection) => TReturnType,
): TReturnType
readCollection<TReturnType>(
array: Uint8Array,
format: MagickFormat,
func: (images: IMagickImageCollection) => Promise<TReturnType>,
): Promise<TReturnType>
readCollection<TReturnType>(
array: Uint8Array,
func: (images: IMagickImageCollection) => TReturnType,
): TReturnType
readCollection<TReturnType>(
array: Uint8Array,
func: (images: IMagickImageCollection) => Promise<TReturnType>,
): Promise<TReturnType>
readCollection<TReturnType>(
array: Uint8Array,
func: (images: IMagickImageCollection) => TReturnType,
): TReturnType
readCollection<TReturnType>(
array: Uint8Array,
func: (images: IMagickImageCollection) => Promise<TReturnType>,
): Promise<TReturnType>
readCollection<TReturnType>(array: Uint8Array, func: (images: IMagickImageCollection) => TReturnType): TReturnType
readCollection<TReturnType>(array: Uint8Array, func: (images: IMagickImageCollection) => Promise<TReturnType>): Promise<TReturnType>
readCollection<TReturnType>(
fileName: string,
func: (images: IMagickImageCollection) => TReturnType,
): TReturnType
readCollection<TReturnType>(
fileName: string,
func: (images: IMagickImageCollection) => Promise<TReturnType>,
): 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>