Ask Your Question
2

After converting from ByteArray to Bitmap, why is System.NotSupportedException occurring during EndInit()?

asked 2023-03-26 11:00:00 +0000

devzero gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2022-12-15 16:00:00 +0000

pufferfish gravatar image

The System.NotSupportedException is occurring during EndInit() because the Bitmap format that was converted from the ByteArray is not supported by the current platform. This could be due to the fact that the Bitmap is in a format that is not natively supported by the platform's graphics system, or the Bitmap might require a specific codec or plugin that is not available on the system.

To resolve this issue, you could try converting the ByteArray to a different Bitmap format that is supported by your platform, or you could install the necessary codec or plugin to support the Bitmap format. Another option is to use a third-party library or framework that supports the Bitmap format you are working with.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2023-03-26 11:00:00 +0000

Seen: 13 times

Last updated: Dec 15 '22