From 4f7296a869b64c578a23f25856b19a11b55987d7 Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Fri, 17 Apr 2020 16:04:32 +0200 Subject: [PATCH] Document image size limits This closes #30238. (cherry picked from commit 5497cec7a1c6e724f979b506a53bb07b5f71ce17) --- doc/classes/Image.xml | 1 + doc/classes/ImageTexture.xml | 1 + 2 files changed, 2 insertions(+) diff --git a/doc/classes/Image.xml b/doc/classes/Image.xml index a4578b1520d..700d8f582d8 100644 --- a/doc/classes/Image.xml +++ b/doc/classes/Image.xml @@ -5,6 +5,7 @@ Native image datatype. Contains image data, which can be converted to a [Texture], and several functions to interact with it. The maximum width and height for an [Image] are [constant MAX_WIDTH] and [constant MAX_HEIGHT]. + [b]Note:[/b] The maximum image size is 16384×16384 pixels due to graphics hardware limitations. Larger images will fail to import. diff --git a/doc/classes/ImageTexture.xml b/doc/classes/ImageTexture.xml index 028639da1cd..39848e14946 100644 --- a/doc/classes/ImageTexture.xml +++ b/doc/classes/ImageTexture.xml @@ -5,6 +5,7 @@ A [Texture] based on an [Image]. Can be created from an [Image] with [method create_from_image]. + [b]Note:[/b] The maximum image size is 16384×16384 pixels due to graphics hardware limitations. Larger images will fail to import.