Back to the Shapespark home page

PNG or JPG - best performance vs quality?

Hi.

I usually use PNG files for objects with transparency and JPG for standard textures. If I use PNG for standard materials, is this a difference in size/performance later?
Will PNG files be compressed during the export by Shapespark?

There won’t be a difference in size/performance. Input textures are converted into GPU compressed formats (DXT for desktops, PVRTC for ios and ETC1 for Androids). A handful of devices do not support any of these three formats, but for such devices PNG textures without transparency are converted to JPGs.

For quality using PNG textures as inputs may in some cases be slightly better, because it avoids double compression to lossy format (first to JPG, then to DXT/PVRTC/ETC1).

Okay. Thank you for your detailed explanation, @jan .