class MagickImageCollection
implements IMagickImageCollection
Re-export
import { MagickImageCollection } from "https://deno.land/x/lume@v1.18.5/deps/imagick.ts";
Methods
private
addImages(images: number, settings: MagickSettings)private
attachImages()private
checkResult(images: number, exception: Exception): numberprivate
createImage<TReturnType>(createImages: (instance: number, exception: Exception) => number, func: (image: IMagickImage) => TReturnType | Promise<TReturnType>): TReturnType | Promise<TReturnType>private
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>
appendHorizontally<TReturnType>(func: (image: IMagickImage) => TReturnType): TReturnType
appendHorizontally<TReturnType>(func: (image: IMagickImage) => Promise<TReturnType>): Promise<TReturnType>
appendVertically<TReturnType>(func: (image: IMagickImage) => TReturnType): TReturnType
appendVertically<TReturnType>(func: (image: IMagickImage) => Promise<TReturnType>): Promise<TReturnType>
clone<TReturnType>(func: (images: IMagickImageCollection) => TReturnType): TReturnType
clone<TReturnType>(func: (images: IMagickImageCollection) => Promise<TReturnType>): Promise<TReturnType>
dispose(): void
evaluate<TReturnType>(evaluateOperator: EvaluateOperator, func: (image: IMagickImage) => TReturnType): TReturnType
evaluate<TReturnType>(evaluateOperator: EvaluateOperator, func: (image: IMagickImage) => Promise<TReturnType>): Promise<TReturnType>
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: ByteArray, settings?: MagickReadSettings): void
write<TReturnType>(func: (data: Uint8Array) => TReturnType): TReturnType
write<TReturnType>(format: MagickFormat, func: (data: Uint8Array) => TReturnType): TReturnType
write<TReturnType>(func: (data: Uint8Array) => Promise<TReturnType>): Promise<TReturnType>
write<TReturnType>(format: MagickFormat, func: (data: Uint8Array) => Promise<TReturnType>): Promise<TReturnType>
Static Methods
private
createObject(): MagickImageCollectionprivate
createSettings(settings?: MagickReadSettings): MagickSettings_createFromImages(images: number, settings: MagickSettings): IMagickImageCollection
create(array: ByteArray): IMagickImageCollection