![]() |
![]() |
![]() |
![]() |
Duplicate an image
PhImage_t *PiDuplicateImage( PhImage_t *image, int flags );
ph
This function creates a duplicate of the Photon image defined in the PhImage_t structure pointed to by image.
The flags argument dictates special behavior of the duplication process, and can take on the following values:
A pointer to the new image on success, or NULL if an error occurred.
Photon
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |
PhCreateImage(), PhImage_t, PiCropImage(), PiFlipImage()
"Images" in the Raw Drawing and Animation chapter of the Photon Programmer's Guide
![]() |
![]() |
![]() |
![]() |