mindee-api-dotnet

ImageUtils.ConvertTo3DArray Method

Declaring Type: ImageUtils
Namespace: Mindee.Image
Assembly: Mindee
Assembly Version: 3.21.0+995c229708fe61b0dacbe0bfca8ad9e39db87623

Converts a raw sequence of bytes representing an image into a 3D pixel array.

public static byte[,,] ConvertTo3DArray(byte[] input, int width, int height);

Parameters

input byte[]

Input byte sequence.

width int

Width of the image.

height int

Height of the image

Returns

byte[]

A 3D array of pixels.

Exceptions

ArgumentException


Documentation generated by MdDocs