---
Product: Aspose.Slides
Platform: java
Page Type: reference
Canonical URL: https://reference.aspose.org/slides/java/IPPImage
---

# IPPImage

## Overview

`IPPImage` is a interface in Aspose.Slides FOSS for Java.

Represents an image in a presentation.

This interface provides 10 methods for working with IPPImage objects in Java programs.
Available methods include: `getBinaryData`, `getContentType`, `getHeight`, `getImage`, `getWidth`, `getX`, `getY`, `replaceImage`.
All public members are accessible to any Java application after installing the Aspose.Slides FOSS for Java package.
Properties: `binaryData`, `contentType`, `height`, `image`, `width`, `x`, and 1 more.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `binaryData` | `byte[]` | Read | Returns the copy of an image's data. |
| `image` | `IImage` | Read | Returns the copy of an image. |
| `contentType` | `String` | Read | Returns a MIME type of an image. |
| `width` | `int` | Read | Returns the width of an image. |
| `height` | `int` | Read | Returns the height of an image. |
| `x` | `int` | Read | Returns the X-offset of an image. |
| `y` | `int` | Read | Returns the Y-offset of an image. |

## Methods

| Signature | Description |
|-----------|-------------|
| `getBinaryData()` → `byte[]` | Returns the copy of an image's data. |
| `getImage()` → `IImage` | Returns the copy of an image. |
| `getContentType()` → `String` | Returns a MIME type of an image. |
| `getWidth()` → `int` | Returns the width of an image. |
| `getHeight()` → `int` | Returns the height of an image. |
| `getX()` → `int` | Returns the X-offset of an image. |
| `getY()` → `int` | Returns the Y-offset of an image. |
| `replaceImage(newImageData: byte[])` | Replaces the image data with new raw binary data. |
| `replaceImage(newImage: IImage)` | Replaces the image with the specified {@link IImage}. |
| `replaceImage(newImage: IPPImage)` | Replaces the image with another presentation image. |

## See Also

- [Aspose.Slides — Enterprise API Reference](https://reference.aspose.com/slides/)