CaptureImage.reallocate Method¶
Module: CaptureImage
Definition¶
Reallocates the internal memory of the Image from parameters.
Note
If the given parameters are the same as the ones of the object, then there is nothing done in this function.
reallocate(self, width: int, height: int, pixel_format: PixelFormat) -> None
Parameters
width
intin The new width, in pixels.height
intin The new height, in pixels.pixel_format
PixelFormatin The new pixel format.
Exceptions
An error has occurred during Devices Library execution.
void reallocate(int width, int height, PixelFormat pixelFormat)
Parameters
width
intin The new width, in pixels.height
intin The new height, in pixels.pixelFormat
PixelFormatin The new pixel format.
Exceptions
An error has occurred during Devices Library execution.
public void Reallocate(int width, int height, PixelFormat pixelFormat)
Parameters
width
intin The new width, in pixels.height
intin The new height, in pixels.pixelFormat
PixelFormatin The new pixel format.
Exceptions
An error has occurred during Devices Library execution.
public void reallocate(int width, int height, PixelFormat pixelFormat) throws DevicesException
Parameters
width
intin The new width, in pixels.height
intin The new height, in pixels.pixelFormat
PixelFormatin The new pixel format.
Exceptions
An error has occurred during Devices Library execution.
int id3DevicesCaptureImage_Reallocate (
ID3_DEVICES_CAPTURE_IMAGE hCaptureImage,
int width,
int height,
id3DevicesPixelFormat ePixelFormat)
Parameters
hCaptureImage
ID3_DEVICES_CAPTURE_IMAGEin Handle to the CaptureImage object.width
intin The new width, in pixels.height
intin The new height, in pixels.ePixelFormat
id3DevicesPixelFormatin The new pixel format.
Returns