We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello,
I saw the suggestions in the ticket #57
How about the conversion from Vips to System.Windows.Media.Imaging.BitmapImage?
Currently I am doing:
var bmImage = new BitmapImage(); bmImage.BeginInit(); bmImage.StreamSource = vipsImage.WriteToStream(".tiff"); bmImage.EndInit();
Is there a better way?
The text was updated successfully, but these errors were encountered:
Hi @gil-c,
I've never did anything with WPF, so it needs to be investigated. Perhaps you need also to set
bmImage.CacheOption = BitmapCacheOption.OnLoad;
to ensure the BitmapImage doesn't try to read a closed stream.
Let's tag this as an enhancement. Very happy to accept a PR of course, if you're able.
Sorry, something went wrong.
No branches or pull requests
Hello,
I saw the suggestions in the ticket #57
How about the conversion from Vips to System.Windows.Media.Imaging.BitmapImage?
Currently I am doing:
Is there a better way?
The text was updated successfully, but these errors were encountered: