-
Notifications
You must be signed in to change notification settings - Fork 3
Modified Api #30
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
base: main
Are you sure you want to change the base?
Modified Api #30
Conversation
Hi @wandbrandon thank you for your contribution.
I'm very interested in the image crate support: I would be very happy to have your contribution to eliminate the dependency to stb_image dependency |
Hi @newfla, yep I noticed our apis were similar, which is great. Seems like the issue can be closed unless you'd like to implement the image crate support as part of it. Thank you for your help! Regarding the support for image crate, it seems to be working just fine. Tested on some generations and it works great. Im not sure if sdcpp's save image to file supports metadata baked within the png files like other frontends do, (comfyui, a11111, etc.). If it did that could be useful. That's the only reason why I would keep the stb_image dependency. Otherwise, the image buffer conversion highlighted here works well. I was going to start on img2img |
@newfla Draft of api changes. Does not support all the features of sdcpp just yet, and I don't expect a merge or anything, just curious on your opinion of the api.
notable changes:
Let me know what you think! Apologies if there are any glaring issues.