{"repo":"zig-gamedev/zstbi","free":true,"listed":false,"github":"https://github.com/zig-gamedev/zstbi","clone":"git clone https://github.com/zig-gamedev/zstbi.git","description":"Zig bindings and build package for stb_image, stb_image_resize and stb_image_write","language":"C++","stars":36,"topics":["bindings","gamedev","stb-image","zig"],"license":"MIT","category":"game-templates","readme_excerpt":"zstbi Zig bindings and build package for stb image, stb image resize and stb image write from Sean Barrett's stb single-file C libraries Features Supports Zig memory allocators Supports decoding most popular formats Supports HDR images Supports 8-bits and 16-bits per channel Supports image resizing Supports image writing (.png, .jpg) Getting started Add zstbi to your build.zig.zon .dependencies with: and in your build.zig add: Now in your code you may import and use zstbi . Init the lib. zstbi.init() is cheap and you may call it whenever you need to change memory allocator. Must be called from the main thread. Misc functions:","default_branch":null,"files":null,"tree":[],"storefront":"/r/zig-gamedev","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/zig-gamedev/zstbi/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}