LWJGL Forum

Please login or register.

Login with username, password and session length

Author Topic: lwjPNG - Lightweight Java PNG loading library  (Read 163 times)

Mike-C

  • Newbie
  • *
  • Offline Offline
  • Posts: 1
lwjPNG - Lightweight Java PNG loading library
« on: August 15, 2017, 00:42:15 »

Hello,

For anyone interested, I have just released a very simple PNG loading library, you can use for LWJGL textures.

https://github.com/Mike-C/lwjPNG

It currently supports only 24&32 bit PNG, interlaced or not, and also scale, if you need texture sizes to be power of two.

Actually there is some extra overhead for scaling, which also uses more memory, but I wonted to keep the release simple, interlace mode compatible.
And whole image file is read during initialization, not only the image info chunk, that possibly will be fixed later.

Hope that you can find it useful!

Best regards,
Logged