Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Image

class Image extends Userdata<"fz_image"> {
constructor(pointer: Pointer<"fz_image">);
constructor(data: AnyBuffer);
constructor(pixmap: Pixmap, mask?: Image);
getBitsPerComponent(): number;
getColorSpace(): ColorSpace | null;
getHeight(): number;
getImageMask(): boolean;
getMask(): Image | null;
getNumberOfComponents(): number;
getWidth(): number;
getXResolution(): number;
getYResolution(): number;
toPixmap(): Pixmap;
 
static readonly _drop: (p: Pointer<"fz_image">) => void;
}

§Extends

§
Userdata<"fz_image">
[src]

§Constructors

§
new Image(pointer: Pointer<"fz_image">)
[src]
§
new Image(data: AnyBuffer)
[src]
§
new Image(pixmap: Pixmap, mask?: Image)
[src]

§Methods

§
getBitsPerComponent(): number
[src]
§
getColorSpace(): ColorSpace | null
[src]
§
getHeight(): number
[src]
§
getImageMask(): boolean
[src]
§
getMask(): Image | null
[src]
§
getNumberOfComponents(): number
[src]
§
getWidth(): number
[src]
§
getXResolution(): number
[src]
§
getYResolution(): number
[src]
§
toPixmap(): Pixmap
[src]

§Static Properties

§
_drop: (p: Pointer<"fz_image">) => void
[src]