interface IMagickImage
implements IDisposable
Re-export
import { type IMagickImage } from "https://deno.land/x/lume@v1.18.4/deps/imagick.ts";
Properties
backgroundColor: MagickColor
borderColor: MagickColor
boundingBox: MagickGeometry | null
readonly
channels: ReadonlyArray<PixelChannel>chromaticity: ChromaticityInfo
classType: ClassType
colorFuzz: Percentage
colorSpace: ColorSpace
colorType: ColorType
compose: CompositeOperator
readonly
compression: CompressionMethoddensity: Density
endian: Endian
filterType: FilterType
format: MagickFormat
gifDisposeMethod: GifDisposeMethod
interpolate: PixelInterpolateMethod
readonly
interlace: Interlaceorientation: OrientationType
page: MagickGeometry
readonly
settings: MagickSettingsvirtualPixelMethod: VirtualPixelMethod
Methods
_use<TReturnType>(func: (image: IMagickImage) => TReturnType): TReturnType
_use<TReturnType>(func: (image: IMagickImage) => Promise<TReturnType>): Promise<TReturnType>
_use<TReturnType>(func: (image: IMagickImage) => TReturnType | Promise<TReturnType>): TReturnType | Promise<TReturnType>
alpha(value: AlphaOption): void
autoThreshold(method: AutoThresholdMethod): void
blur(channels: Channels): void
brightnessContrast(brightness: Percentage, contrast: Percentage): void
channelOffset(pixelChannel: PixelChannel): number
clone<TReturnType>(func: (image: IMagickImage) => TReturnType): TReturnType
clone<TReturnType>(func: (image: IMagickImage) => Promise<TReturnType>): Promise<TReturnType>
colorAlpha(color: MagickColor): void
compare(image: IMagickImage, metric: ErrorMetric): number
composite(image: IMagickImage): void
composite(image: IMagickImage, compose: CompositeOperator): void
composite(image: IMagickImage, point: Point): void
compositeGravity(image: IMagickImage, gravity: Gravity): void
compositeGravity(): void
image: IMagickImage,
gravity: Gravity,
compose: CompositeOperator,
point: Point,
args: string,
channels: Channels,
contrastStretch(blackPoint: Percentage): void
contrastStretch(blackPoint: Percentage, whitePoint: Percentage): void
crop(geometry: MagickGeometry): void
crop(geometry: MagickGeometry, gravity: Gravity): void
cropToTiles(geometry: MagickGeometry): IMagickImageCollection
deskew(threshold: Percentage): number
distort(method: DistortMethod, params: number[]): void
draw(drawables: IDrawable[]): void
draw(...drawables: IDrawable[]): void
extent(geometry: MagickGeometry): void
extent(geometry: MagickGeometry, gravity: Gravity): void
extent(geometry: MagickGeometry, backgroundColor: MagickColor): void
getProfile(name: string): IImageProfile | null
getWriteMask<TReturnType>(func: (mask: IMagickImage | null) => TReturnType): TReturnType
getWriteMask<TReturnType>(func: (mask: IMagickImage | null) => Promise<TReturnType>): Promise<TReturnType>
getPixels<TReturnType>(func: (pixels: IPixelCollection) => TReturnType): TReturnType
getPixels<TReturnType>(func: (pixels: IPixelCollection) => Promise<TReturnType>): Promise<TReturnType>
grayscale(method: PixelIntensityMethod): void
inverseOpaque(target: MagickColor, fill: MagickColor): void
inverseSigmoidalContrast(contrast: number, midpointPercentage: Percentage): void
inverseTransparent(color: MagickColor): void
level(blackPoint: Percentage, whitePoint: Percentage): void
linearStretch(blackPoint: Percentage, whitePoint: Percentage): void
liquidRescale(geometry: MagickGeometry): void
modulate(brightness: Percentage): void
modulate(brightness: Percentage, saturation: Percentage): void
negate(channels: Channels): void
negateGrayScale(channels: Channels): void
opaque(target: MagickColor, fill: MagickColor): void
ping(fileName: string, settings?: MagickReadSettings): void
ping(array: ByteArray, settings?: MagickReadSettings): void
read(fileName: string, settings?: MagickReadSettings): void
read(array: ByteArray, settings?: MagickReadSettings): void
resize(geometry: MagickGeometry): void
separate<TReturnType>(func: (images: IMagickImageCollection) => TReturnType): TReturnType
separate<TReturnType>(func: (images: IMagickImageCollection) => Promise<TReturnType>): Promise<TReturnType>
separate<TReturnType>(func: (images: IMagickImageCollection) => TReturnType, channels: Channels): TReturnType
separate<TReturnType>(func: (images: IMagickImageCollection) => Promise<TReturnType>, channels: Channels): Promise<TReturnType>
sepiaTone(threshold: Percentage): void
setProfile(name: string, data: ByteArray): void
setWriteMask(image: IMagickImage): void
sigmoidalContrast(contrast: number, midpointPercentage: Percentage): void
splice(geometry: MagickGeometry): void
solarize(factor: Percentage): void
statistics(): IStatistics
statistics(channels: Channels): IStatistics
transparent(color: MagickColor): void
trim(...edges: Gravity[]): void
trim(percentage: Percentage): void
write<TReturnType>(format: MagickFormat, func: (data: Uint8Array) => TReturnType): TReturnType
write<TReturnType>(format: MagickFormat, func: (data: Uint8Array) => Promise<TReturnType>): Promise<TReturnType>