{{newinoldin|[[0.9.0]]|090|[[0.10.0]]|100|type=function|text=Use [[love.graphics.getSystemLimits]] instead}}
Gets the max supported width or height of [[Image]]s and [[Canvas]]es.

Attempting to create an Image with a width *or* height greater than this number will create a checkerboard-patterned image instead. Doing the same for a canvas will result in an error.

The returned number depends on the system running the code. It is safe to assume it will never be less than 1024 and will almost always be 2048 or greater.
== 関数 ==
=== 概要 ===
<source lang="lua">
size = love.graphics.getMaxImageSize( )
</source>
=== 引数 ===
なし。
=== 返値 ===
{{param (日本語)|number|size|The max supported width or height of Images and Canvases.}}
== 注釈 ==
There is an [http://feedback.wildfiregames.com/report/opengl/feature/GL_MAX_TEXTURE_SIZE online database] which has collected info about the max image size for various systems.
== 関連 ==
* [[parent::love.graphics (日本語)]]
* [[Image (日本語)]]
* [[Canvas (日本語)]]

[[Category:Functions (日本語)]]
{{#set:Description=Gets the max supported width or height of Images and Canvases.}}
{{#set:Sub-Category=SystemInfo (日本語)}}
== そのほかの言語 ==
{{i18n (日本語)|love.graphics.getMaxImageSize}}