You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 25, 2024. It is now read-only.
fun STBImage.loadFrom(filename:String, desiredChannels:Int? = null)
are not present in kgl-stb, and at this point, there is no good way to interact with files using kotlinx-io because of the massive restructuring they're doing right now.
The cinterop def explicitly defines STB_NO_STDIO, which prevents the generation of stbi_load, but stbi_load works fine with cinterop. What was the reason for defining STB_NO_STDIO?
The text was updated successfully, but these errors were encountered:
I'm having trouble finding the details now but the combination of JVM, Windows and stbi_load breaks because of some encoding issue (haven't tested this myself). I decided to postpone the addition of this method until I did some testing myself.
Defining STB_NO_STDIO may have been overkill 😅, so I'll remove it and let it be a workaround for now, until I add the method.
or equivalent
are not present in
kgl-stb
, and at this point, there is no good way to interact with files usingkotlinx-io
because of the massive restructuring they're doing right now.The cinterop def explicitly defines
STB_NO_STDIO
, which prevents the generation ofstbi_load
, butstbi_load
works fine with cinterop. What was the reason for definingSTB_NO_STDIO
?The text was updated successfully, but these errors were encountered: