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
Thanks for bringing Stable Diffusion to .NET. The library includes helpers to convert TextToImage output into a .NET bitmap image, but I can't see any way to run ImageToImage from a .NET bitmap. Did I miss it/is it something you plan?
The text was updated successfully, but these errors were encountered:
Since System.Drawing is windows only, .NET bitmaps will not be supported directly in the "core"-library. I'm planning on adding more helper for image handling and conversion as additional packages though, but this will take some more time.
usingBitmapbitmap=new(@"<path to image>");Image<ColorRGB>sourceImage=bitmap.ToImage();usingStableDiffusionImageimage=model.ImageToImage("<prompt>",sourceImage.ToArray(),newStableDiffusionParameter());
Overall this is not an ideal solution in terms of performance and usability but I should work for now ~
Thanks for bringing Stable Diffusion to .NET. The library includes helpers to convert TextToImage output into a .NET bitmap image, but I can't see any way to run ImageToImage from a .NET bitmap. Did I miss it/is it something you plan?
The text was updated successfully, but these errors were encountered: