ReFuel.StbImage (2.0.2-rc.1)
Installation
dotnet nuget add source --name ReFuel --username your_username --password your_token
dotnet add package --source ReFuel --version 2.0.2-rc.1 ReFuel.StbImage
About this package
A C# wrapper for the ubiquitous stb_image.h and stb_image_write.h library.
ReFuel.StbImage
ReFuel.StbImage is a binary distribution of the popular stb_image.h single header library. Existing packages were either bad source ports, had odd wrappers or weren't up to date.
Originally intended for my own purposes, however feel free to view the code at https://git.mixedup.dev/ReFuel/ReFuel.StbImage, and shoot me patch files through email.
2.0.2
- Fixed calling convention of unmanaged function pointers. (Thanks NogginBops!)
- Allocating a GC handle to StbiStreamWrapper class and passing it as userdata into stbi in order to prevent the object from being prematurely collected by the garbage collector when optimizations are enabled in Release mode.
2.0.1
- Enabled optimizations across the board for native and managed assemblies.
2.0.0
- Exposed stbi_image_write.h
- Moved native function calls to ReFuel.Stb.Native
Details
2024-11-18 18:19:52 +01:00
Assets (2)
Versions (12)
View all
NuGet
8
STBI Authors, H. Utku Maden
731 KiB
refuel.stbimage.2.0.2-rc.1.nupkg
729 KiB
refuel.stbimage.nuspec
1.4 KiB