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.

Returns: void


save

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

Returns: void


save

NameDescription
save (OutputStream, int)Save the image to the stream.

Returns: void


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.

Returns: void


save

NameDescription
save (OutputStream, 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.

Returns: void