Skip to content

Conversation

Hecklezz
Copy link
Contributor

#3954

Fixes the above issue by ensuring that as long as the image's width and height are >= MIN_IMAGE_SIZE, set their tile counts to a minimum of 1 and not 0. Previously they were being set to 0 which caused encoding to fail, and textures that were <64 pixels in either width or height would not upload while using OpenJPEG.

Also contains a minor refactor of an old log that was incorrectly logging a warning when encoding succeeded but said it was returning false.

@marchcat
Copy link
Contributor

Thank you!

@akleshchev akleshchev merged commit 1c72cd7 into secondlife:develop Apr 28, 2025
11 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Apr 28, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

OpenJPEG issue uploading small textures can't convert to j2c

3 participants