{{newin|[[11.0]]|110|type=function}}
Gets the [[PixelFormat|pixel format]] of the ImageData.
== Function ==
=== Synopsis ===
<source lang="lua">
format = ImageData:getFormat( )
</source>
=== Arguments ===
None.
=== Returns ===
{{param|PixelFormat|format|The pixel format the ImageData was created with.}}
== See Also ==
* [[parent::ImageData]]
[[Category:Functions]]
{{#set:Description=Gets the [[PixelFormat|pixel format]] of the ImageData.}}
== Other Languages ==
{{i18n|ImageData:getFormat}}