You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/reference/loadImage.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# loadImage()
2
2
3
-
Loads an image from a specified file path. Possible image formats accepted are: `.jpg`, `.jpeg`, `.png`, `.bpm`, `.tga`, `.hdr`, `.pic`, `.exr`. **Unsupported filetypes include `.png` and `.gif`.**
3
+
Loads an image from a specified file path. Possible image formats accepted are: `.jpg`, `.jpeg`, `.png`, `.bpm`, `.tga`, `.hdr`, `.pic`, `.exr`. **Unsupported filetypes include `.webp` and `.gif`.**
4
4
5
5
Alternatively, `loadImage()` can also take a [FileData, ImageData, CompressedImageData or ByteData object](https://www.love2d.org/wiki/love.graphics.newImage) via underlying Love2d framework.
0 commit comments