Skip to content

Expected KTX2 file sizes #443

Answered by donmccurdy
gjcope asked this question in Q&A
Dec 2, 2021 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

I do expect UASTC to be larger than JPEG in most cases, and possibly lossier, so if transmission size is a big concern then keeping those textures in other formats like JPEG, PNG, or WebP might be preferable at the cost of memory footprint. To my understanding the size of a UASTC texture (before ZSTD compression) is a function of its resolution, whereas JPEG or PNG textures could become arbitrarily small. And then with ZSTD applied, compression ratio is pretty sensitive to the amount of entropy in the image, so the final ratio between JPEG and UASTC can vary a lot.

I'm not sure whether the numbers you're seeing are general or not though. What's the resolution on these textures? It could b…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@gjcope
Comment options

@lexaknyazev
Comment options

Answer selected by gjcope
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
3 participants