Replies: 1 comment
-
stb_image doesn't provide any way to do this separately, but you can do it while loading. pass in 4 for "desired_channels" and the load function will give you a 32-bit image |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello there, I was wondering on how to convert a 24bitmap png to 32bitmap png
using FreeImage you can use FreeImage_ConvertTo32Bits, but I didn't find any equivalent function in stb_image
if you have any idea how to do this using stb that would be great
Thanks for Anwsering and Best Regards
Beta Was this translation helpful? Give feedback.
All reactions