Answer the question
In order to leave comments, you need to log in
BitmapImage.EndInit throws NotSupportedException. What for?
Calling EndInit() on a BitmapImage instance throws an exception whose class is specified in the question text. Additional information - "Unable to find an imaging component that is suitable to complete this operation.". BeginInit() before it fires, in between the StreamSource is assigned to the MemoryStream. Who is to blame and what to do?
Answer the question
In order to leave comments, you need to log in
In general, it is most likely that your picture buffer (which is wrapped in a MemoryStream) contains not quite correct data. Perhaps they didn’t finish downloading if they downloaded from the Internet. Or haven't read it yet somewhere. Try to save the contents of the MemoryStream to a file in this place and try to open this file with a regular viewer.
Similar issue on SO:
stackoverflow.com/questions/7292764/no-imaging-com...
stackoverflow.com/questions/26404496/wpf-bitmapima...
stackoverflow.com/questions/3886849/error-in-my-by ...
In general, put the English studio and do not suffer with Russian error messages, there is so much sense from them that you have to translate back into English.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question