Difference between revisions of "ImageEncodeFormat"

m
m
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
Encoded image formats.
+
Image file formats supported by [[ImageData:encode]]. See [[Image Formats]] for supported decode formats.
 
== Constants ==
 
== Constants ==
;bmp: BMP image format.
 
 
;tga: Targa image format.
 
;tga: Targa image format.
{{newin|[[0.8.0]]|080|type=constants|plural=y}}
+
{{New feature|0.8.0|
;png: PNG image format.  
+
;png: PNG image format.}}
{{oldin|[[0.10.0]]|100|type=constant}}
+
{{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|
 
;jpg: JPG image format.
 
;jpg: JPG image format.
 +
;bmp: BMP image format.}}
 
== See Also ==
 
== See Also ==
 
* [[parent::love.image]]
 
* [[parent::love.image]]
 
* [[parent::ImageData]]
 
* [[parent::ImageData]]
 +
* [[ImageData:encode]]
 
[[Category:Enums]]
 
[[Category:Enums]]
{{#set:Description=Encoded image formats.}}
+
{{#set:Description=Image file formats supported by [[ImageData:encode]].}}
 
{{#set:Since=000}}
 
{{#set:Since=000}}
 
== Other Languages ==
 
== Other Languages ==
{{i18n|ImageFormat}}
+
{{i18n|ImageEncodeFormat}}

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