##### Views

- Page
- Discussion
- View source
- History

# Image

Drawable image type.

## Constructors

love.graphics.newImage | Creates a new Image. |  |

## Functions

These functions have parentheses in odd places. This is because the Image: namespace is reserved in Mediawiki.

(Image):getData | Gets the original ImageData or CompressedData used to create the Image. | 0.9.0 |
(Image):getDimensions | Gets the width and height of the Image. | 0.9.0 |
(Image):getFilter | Gets the filter mode for an image. |  |
(Image):getHeight | Gets the height of the Image. |  |
(Image):getMipmapFilter | Gets the mipmap filter mode for an Image. | 0.9.0 |
(Image):getWidth | Gets the width of the Image. |  |
(Image):getWrap | Gets the wrapping properties of an Image. |  |
(Image):isCompressed | Gets whether the Image was created from CompressedData. | 0.9.0 |
(Image):refresh | Reloads the Image's contents from the Data used to create the image. | 0.9.0 |
(Image):setFilter | Sets the filter mode for an image. |  |
(Image):setMipmapFilter | Sets the mipmap filter mode for an Image. | 0.9.0 |
(Image):setWrap | Sets the wrapping properties of an Image. |  |
Object:type | Gets the type of the object as a string. |  |
Object:typeOf | Checks whether an object is of a certain type. |  |

## Supertypes

- Texture
- Drawable
- Object

## See Also

- love.graphics

## Other Languages

Dansk – Deutsch – English – Español – Français – Indonesia – Italiano – Lietuviškai – Magyar – Nederlands – Polski – Português – Română – Slovenský – Suomi – Svenska – Türkçe – Česky – Ελληνικά – Български – Русский – Српски – Українська – עברית – ไทย – 日本語 – 正體中文 – 简体中文 – Tiếng Việt – 한국어
More info

Retrieved from "https://www.love2d.org/wiki/Image"
Category: Types

##### Personal tools

- Log in

##### Search

##### Toolbox

- What links here
- Related changes
- Special pages
- Printable version
- Permanent link
- Browse properties