spinImageResetEx

Function spinImageResetEx 

Source
pub unsafe extern "C" fn spinImageResetEx(
    hImage: spinImage,
    width: size_t,
    height: size_t,
    offsetX: size_t,
    offsetY: size_t,
    pixelFormat: spinPixelFormatEnums,
    pData: *mut c_void,
) -> spinError
Expand description

Resets an image with some set properties and image data @see spinError

@param hImage The image to reset @param width The width to be reset to @param height The height to be reset to @param offsetX The offset to be reset to along the X axis @param offsetY The offset to be reset to along the Y axis @param pixelFormat The pixel format to be reset to @param pData The image data to reset to

@return spinError The error code; returns SPINNAKER_ERR_SUCCESS (or 0) for no error