Skip to content

Conversation

akleshchev
Copy link
Contributor

Our limit is 256MB, so instead of limiting strictly by 8Kx8K, I'm limiting by area.


<string name="DefaultMimeType">none/none</string>
<string name="texture_load_dimensions_error">Can't load images larger than [WIDTH]*[HEIGHT]</string>
<string name="texture_load_dimensions_error">Can't load images larger than [PIXELS] pixels</string>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This might still be confusing. Maybe we could simplify it by stating the limit using only the larger dimension of the image.

Copy link
Contributor Author

@akleshchev akleshchev Aug 13, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

May be, but that won't be accurate either. It can be 8Kx8K it can be 32Kx2K or 1Kx64K.We are comparing an area so I think it's the most fair to show an area in the message.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, that makes sense.

@akleshchev akleshchev merged commit d859557 into release/2025.06 Aug 13, 2025
12 checks passed
@akleshchev akleshchev deleted the andreyk/viewer_4541 branch August 13, 2025 20:07
@github-actions github-actions bot locked and limited conversation to collaborators Aug 13, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants