Difference between revisions of "ImageEncodeFormat"

(Rename and clarify)
m
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
Image file formats supported by [[ImageData:encode]].
+
Image file formats supported by [[ImageData:encode]]. See [[Image Formats]] for supported decode formats.
 
== Constants ==
 
== Constants ==
 
;tga: Targa image format.
 
;tga: Targa image format.
 
{{New feature|0.8.0|
 
{{New feature|0.8.0|
 
;png: PNG image format.}}
 
;png: PNG image format.}}
 +
{{New feature|12.0|
 +
;exr: EXR image format. Supports HDR data and other uses where the range of values can go outside of [0, 1].}}
 
{{Removed new feature|0.8.0|0.10.0|
 
{{Removed new feature|0.8.0|0.10.0|
 
;jpg: JPG image format.
 
;jpg: JPG image format.

Latest revision as of 14:30, 26 March 2023

Image file formats supported by ImageData:encode. See Image Formats for supported decode formats.

Constants

tga
Targa image format.
Available since LÖVE 0.8.0
png
PNG image format.


Available since LÖVE 12.0
exr
EXR image format. Supports HDR data and other uses where the range of values can go outside of [0, 1].


Available since LÖVE 0.8.0 and removed in LÖVE 0.10.0
jpg
JPG image format.
bmp
BMP image format.

See Also


Other Languages