-
Notifications
You must be signed in to change notification settings - Fork 138
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LoadEXR/SaveEXR from/to memory #158
Comments
@xelatihy Rather than extending existing legacy
And example code is something like:
|
This proposal is actually might nicer! And we could deprecate the old ones. I would love to have both the |
Would be also great to have the |
You can propose API based on my draft idea and send PR. Contribution is always welcome. |
Ok, I'll try to prepare a PR. |
I took a look and it is that as simple. The easiest thing to do is to wrap into a coherent API what you have already implemented. But that would have some limitations in the API itself. I guess it may be better than nothing, but still not as nice as one would like. I might take another look later as I get more time. |
LoadEXRFromMemory already exists. Now I've added |
Describe the issue
While
LoadEXR
andSaveEXR
are deprecated functionality, they are very useful is one wants to quickly put together applications. This is in the same vein asstb_image
. It would be helpful I think to have this functionality not deprecated and add a simple to use SaveEXR to memory option. In fact, it would be great to have even simpler functions that have an API that is the same asstbi_load
andstb_write
.Expected behavior
Three things:
stb
headers to make integration trivial.The text was updated successfully, but these errors were encountered: