An efficient image format for SDL

This page summarizes the projects mentioned and recommended in the original post on /r/gamedev

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • LZ4

    Extremely Fast Compression algorithm

  • After some investigations and experiments, I found out that it was the PNG compression (well, decompression I should say) that took a while. So I've made some experiments using the LZ4 compression library, which is focused on decompression speed, and it turned out to be an excellent solution!

  • stb

    stb single-file public domain libraries for C/C++

  • This is honestly wonderful. I've faced similar problems and my ad hoc solution was to use stb_image (which from my testing was a good bit faster than SDL_Image) and make a simple multithreaded asset loader to spread out the work load. All that said, thank you! I'm definitely going to be playing around with this.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • basis_universal

    Basis Universal GPU Texture Codec

  • You could check out Binomial's basis_universal. After Google bought them, they open sourced it and allowed use for free.

  • love

    LÖVE is an awesome 2D game framework for Lua.

  • If you ever get around to it, you could look at how love2d does it. It's also built on SDL but uses OpenGL for rendering. The code is MIT, so if it's neat enough, you could pull it out and plunk it into your engine.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts