class MagickImageCollection
implements IMagickImageCollection
Re-export
import { MagickImageCollection } from "https://deno.land/x/lume@v1.16.1/deps/imagick.ts";
Methods
private
addImages(images: number, settings: MagickSettings)private
attachImages()private
checkResult(images: number, exception: Exception): numberprivate
detachImages()private
getSettings(): MagickSettingsprivate
mergeImages<TReturnType>(layerMethod: LayerMethod, func: (image: IMagickImage) => TReturnType | Promise<TReturnType>): TReturnType | Promise<TReturnType>private
throwIfEmpty()_use<TReturnType>(func: (images: IMagickImageCollection) => TReturnType): TReturnType
_use<TReturnType>(func: (images: IMagickImageCollection) => Promise<TReturnType>): Promise<TReturnType>
dispose(): void
flatten<TReturnType>(func: (image: IMagickImage) => TReturnType): TReturnType
flatten<TReturnType>(func: (image: IMagickImage) => Promise<TReturnType>): Promise<TReturnType>
merge<TReturnType>(func: (image: IMagickImage) => TReturnType): TReturnType
merge<TReturnType>(func: (image: IMagickImage) => Promise<TReturnType>): Promise<TReturnType>
montage<TReturnType>(settings: MontageSettings, func: (image: IMagickImage) => TReturnType): TReturnType
montage<TReturnType>(settings: MontageSettings, func: (image: IMagickImage) => Promise<TReturnType>): Promise<TReturnType>
mosaic<TReturnType>(func: (image: IMagickImage) => TReturnType): TReturnType
mosaic<TReturnType>(func: (image: IMagickImage) => Promise<TReturnType>): Promise<TReturnType>
read(fileName: string, settings?: MagickReadSettings): void
read(array: Uint8Array, settings?: MagickReadSettings): void
write<TReturnType>(func: (data: Uint8Array) => TReturnType, format?: MagickFormat): TReturnType
write<TReturnType>(func: (data: Uint8Array) => Promise<TReturnType>, format?: MagickFormat): Promise<TReturnType>
Static Methods
private
createObject(): MagickImageCollectionprivate
createSettings(settings?: MagickReadSettings): MagickSettings_createFromImages(images: number, settings: MagickSettings): IMagickImageCollection