Image de

Vue de l’ensemble

‘Image’ est une classe dans Aspose.Slides FOSS pour Java.Déduit de: ‘IImage’.

Il représente une image de raster ou vecteur.

Cette classe fournit 13 méthodes pour travailler avec des objets Image dans les programmes Java. Les méthodologies disponibles comprennent: ‘Image’, ‘close’, getContentType', ‘getData’, 'getHeight', ’getSize', ‚getWidth',‘initInternal, ‘save’. Tous les membres publics sont accessibles à n’importe quelle application Java après l’installation de l’Aspose.Slides FOSS pour le package Java . Propriétés : ‘contentTyp’, ‘‘data , 'height et ‘story`.

Propriétés

NameTypeAccessDescription
sizeSizeRead{@inheritDoc}
/
widthintRead{@inheritDoc}
/
heightintRead{@inheritDoc}
/
contentTypeStringReadGets the MIME content type of the image.
databyte[]ReadGets the raw image data.

méthodes

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}
/

Voir aussi

  • Aspose.Slides - référence API d’entreprise
 Français