(Image):getDimensions

(Image):getDimensions Available since LÖVE 0.9.0 This function is not supported in earlier versions. Gets the width and height of the Image. Function Synopsis width, height = Image:getDimensions( ) Arguments None. Returns number width The width of the Image, in pixels. number height The height of the Image, in pixels. See Also Image

(Image):getFilter

(Image):getFilter Gets the filter mode for an image. Function Synopsis min, mag = Image:getFilter( ) Arguments None. Returns FilterMode min Filter mode used when minifying the image. FilterMode mag Filter mode used when magnifying the image. Function Available since LÖVE 0.9.0 This variant is not supported in earlier versions. Synopsis min, mag, anisotropy = Image:getFilter( ) Arguments None. Returns FilterMode min Filter mode used when minifying the image. FilterMode mag Filter mo

(Image):getFlags

(Image):getFlags Available since LÖVE 0.10.0 This function is not supported in earlier versions. Gets the flags used when the image was created. Function Synopsis flags = Image:getFlags( ) Arguments None. Returns table flags A table with ImageFlag keys. See Also Image love.graphics.newImage

(Image):getHeight

(Image):getHeight Gets the height of the Image. Function Synopsis height = Image:getHeight( ) Arguments None. Returns number height The height of the Image, in pixels. See Also Image

(Image):getMipmapFilter

(Image):getMipmapFilter Available since LÖVE 0.9.0 This function is not supported in earlier versions. Gets the mipmap filter mode for an Image. Function Synopsis mode, sharpness = Image:getMipmapFilter( ) Arguments None. Returns FilterMode mode The filter mode used in between mipmap levels. nil if mipmap filtering is not enabled. number sharpness Value used to determine whether the image should use more or less detailed mipmap levels than normal when drawing. See Also Image Image:

(Image):getWidth

(Image):getWidth Gets the width of the Image. Function Synopsis width = Image:getWidth( ) Arguments None. Returns number width The width of the Image, in pixels. See Also Image

(Image):getWrap

(Image):getWrap Gets the wrapping properties of an Image. This function returns the currently set horizontal and vertical wrapping modes for the image. Function Synopsis horiz, vert = Image:getWrap( ) Arguments None. Returns WrapMode horiz Horizontal wrapping mode of the image. WrapMode vert Vertical wrapping mode of the image. See Also Image WrapMode

(Image):isCompressed

(Image):isCompressed Available since LÖVE 0.9.0 This function is not supported in earlier versions. Gets whether the Image was created from CompressedData. Compressed images take up less space in VRAM, and drawing a compressed image will generally be more efficient than drawing one created from raw pixel data. Function Synopsis compressed = Image:isCompressed( ) Arguments None. Returns boolean compressed Whether the Image is stored as a compressed texture on the GPU. See Also Image

(Image):refresh

(Image):refresh Available since LÖVE 0.9.0 This function is not supported in earlier versions. Reloads the Image's contents from the ImageData or CompressedData used to create the image. Function Synopsis Image:refresh( ) Arguments None. Returns Nothing. Function Available since LÖVE 0.10.0 This variant is not supported in earlier versions. Synopsis Image:refresh( x, y, width, height ) Arguments number x The x-axis of the top-left corner of the area within the Image to reload. numbe

(Image):setFilter

(Image):setFilter Sets the filter mode for an image. Function Synopsis Image:setFilter( min, mag ) Arguments FilterMode min How to scale an image down. FilterMode mag How to scale an image up. Returns Nothing. Function Available since LÖVE 0.9.0 This variant is not supported in earlier versions. Synopsis Image:setFilter( min, mag, anisotropy ) Arguments FilterMode min How to scale an image down. FilterMode mag How to scale an image up. number anisotropy (1) Maximum amount of anisot