IImage

IImage class

Represents the raster or vector image.

IImage

NameDescription
IImage()

Returns: IImage


getHeight

NameDescription
getHeight ()Gets the height of the image.

Returns: int


getSize

NameDescription
getSize ()Gets an image size.

Returns: Dimension


getWidth

NameDescription
getWidth ()Gets the width of the image.

Returns: int


save

NameDescription
save (String)Save the image to the file.

save

NameDescription
save (String, int)Save the image to the file.

saveToStream

NameDescription
saveToStream (IImage, WriteStream, int)Save the image to the stream.

save

NameDescription
save (String, int, int)Save the image to the file in the specified format and quality. The quality parameter can take values from 0 to 100 and only affects saving in ImageFormat.Jpeg. For all other formats, this parameter is ignored.

saveToStream

NameDescription
saveToStream (IImage, WriteStream, int, int)Save the image to the stream in the specified format and quality. The quality parameter can take values from 0 to 100 and only affects saving in ImageFormat.Jpeg. For all other formats, this parameter is ignored.