AlpacaToolsToImageArray Method
Alpaca Extension - Convert a byte array to a 2D or 3D mage array based on the array metadata.
Namespace: ASCOM.Common.AlpacaAssembly: ASCOM.Common (in ASCOM.Common.dll) Version: 4.0.0+77e18c564bf9ecdb0ef30166e894390d1b7d077c
public static Array ToImageArray(
this byte[] imageBytes
)
<ExtensionAttribute>
Public Shared Function ToImageArray (
imageBytes As Byte()
) As Array
- imageBytes Byte
- byte array to convert
Array2D or 3D array as specified in the array metadata.In Visual Basic and C#, you can call this method as an instance method on any object of type
Byte. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
Supported in: .NET Standard 2.0, .NET 8 .NET 9. .NET 10