Version 0.3.2
LÖVE Documentation
OverviewLicenseCreditsInstallingGetting started
Devices
love.graphicslove.audiolove.keyboardlove.mouselove.filesystemlove.timerlove.system
Types
AnimationColorFontFileImageMusicParticleSystemSound
Callbacks
loadupdatedrawmousepressedmousereleasedkeypressedkeyreleased
Miscellaneous
ConstantsConfig filesKeyboard shortcuts
Function
love.graphics.newImage( filename )
Usage
love.graphics.newImage( filename )
Arguments
filenameThe filepath to the image file.
Returns
ImageAn Image object containing the display data.
Examples
Example 1: Add an image. picture = love.graphics.newImage("picture.jpg")