getStride method

int getStride()

Gets the stride in bytes.

return Stride in bytes. throws FaceException An error has occurred during Face Library execution.

Implementation

int getStride() {
  Pointer<Int> pStride = calloc();
  try {
    var err = faceSDK.id3FaceImage_GetStride(_pHandle.value, pStride);
    if (err != FaceError.success.value) {
      throw FaceException(err);
    }
    final vStride = pStride.value;
    return vStride;
  } finally {
    calloc.free(pStride);
  }
}