LibGdX uses stb_image
for image loading.
no 16-bit-per-channel PNG
is one of the limitation of std_image
so you need to use 8 bit .png
image.
https://github.com/libgdx/libgdx/blob/master/gdx/jni/gdx2d/stb_image.h#L24
You may check your image by ImageMagick . You can also use pngcheck for the same.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.