Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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.