mindee-api-dotnet

ImageUtils.ConvertTo3DArray Method

Declaring Type: ImageUtils
Namespace: Mindee.Image
Assembly: Mindee
Assembly Version: 3.22.0+aa1b44d54eab23ff2156f9ad9391c70a961697c0

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