Image

Přehled

Image is a class in Aspose.Slides FOSS for Java. Inherits from: IImage.

Image je třída v Aspose.Slides FOSS pro Java. Zdědila od: ゚IImage` .

Představuje rasterový nebo vektorový obraz.

Vlastnosti

NameTypeAccessDescription
sizeSizeReadProvides the image dimensions as a Size
widthintRead
heightintReadProvides the image height in pixels
contentTypeStringReadProvides the MIME type of the image
databyte[]ReadProvides the raw image byte array

Metody

SignatureDescription
Image()Creates an uninitialized image.
initInternal(data: byte[], contentType: String)Internal initialization with image data.
getSize()Size{@inheritDoc}
/
getWidth()int{@inheritDoc}
/
getHeight()int{@inheritDoc}
/
getContentType()StringGets the MIME content type of the image.
getData()byte[]Gets the raw image data.
save(filename: String){@inheritDoc}
/
save(filename: String, format: String){@inheritDoc}
/
save(filename: String, format: String, quality: int){@inheritDoc}
/
save(stream: OutputStream, format: String){@inheritDoc}
/
save(stream: OutputStream, format: String, quality: int){@inheritDoc}
/
close(){@inheritDoc}
/
 Čeština