bkaradzic / bimg

Image library.
BSD 2-Clause "Simplified" License
333 stars 271 forks source link

Why the library depends on both `LodePNG` and `stb_image`? #1

Closed zapolnov closed 7 years ago

zapolnov commented 7 years ago

Hi there!

Just got curious why bimg depends on both these libraries while stb_image handles PNG files quite well.

bkaradzic commented 7 years ago

STB doesn't have support for 16-bit PNGs.

zapolnov commented 7 years ago

The latest version does and they even added 'stbi_load_16' if you want to get real 16bit and not downscale to 8.