The functions in this section provide access to information and functionality of images. This includes creation, destruction, and saving as well as a wealth of information including things like width, height, stride, and timestamp. More...
Functions | |
| SPINNAKERC_API | spinImageCreateEmpty (spinImage *phImage) |
| Creates an empty image; images created this way must be destroyed. More... | |
| SPINNAKERC_API | spinImageCreate (spinImage hSrcImage, spinImage *phDestImage) |
| Creates an image from another; images created this way must be destroyed. More... | |
| SPINNAKERC_API | spinImageCreateEx (spinImage *phImage, size_t width, size_t height, size_t offsetX, size_t offsetY, spinPixelFormatEnums pixelFormat, void *pData) |
| Creates an image with some set properties; images created this way must be destroyed. More... | |
| SPINNAKERC_API | spinImageCreateEx2 (spinImage *phImage, size_t width, size_t height, size_t offsetX, size_t offsetY, spinPixelFormatEnums pixelFormat, void *pData, spinTLPayloadType dataPayloadType, size_t dataSize) |
| Creates an image with some set properties; images created this way must be destroyed. More... | |
| SPINNAKERC_API | spinImageDestroy (spinImage hImage) |
| Destroys an image. More... | |
| SPINNAKERC_API | spinImageGetColorProcessing (spinImage hImage, spinColorProcessingAlgorithm *pAlgorithm) |
| Retrieves the color processing algorithm of a specific image. More... | |
| SPINNAKERC_API | spinImageReset (spinImage hImage, size_t width, size_t height, size_t offsetX, size_t offsetY, spinPixelFormatEnums pixelFormat) |
| Resets an image with some set properties. More... | |
| SPINNAKERC_API | spinImageResetEx (spinImage hImage, size_t width, size_t height, size_t offsetX, size_t offsetY, spinPixelFormatEnums pixelFormat, void *pData) |
| Resets an image with some set properties and image data. More... | |
| SPINNAKERC_API | spinImageGetID (spinImage hImage, uint64_t *pId) |
| Retrieves the ID of an image. More... | |
| SPINNAKERC_API | spinImageGetData (spinImage hImage, void **ppData) |
| Retrieves the image data of an image. More... | |
| SPINNAKERC_API | spinImageGetPrivateData (spinImage hImage, void **ppData) |
| Retrieves the private data of an image. More... | |
| SPINNAKERC_API | spinImageGetBufferSize (spinImage hImage, size_t *pSize) |
| Retrieves the buffer size of an image. More... | |
| SPINNAKERC_API | spinImageDeepCopy (spinImage hSrcImage, spinImage hDestImage) |
| Creates a deep copy of an image (the destination image must be created as an empty image prior to the deep copy) More... | |
| SPINNAKERC_API | spinImageGetWidth (spinImage hImage, size_t *pWidth) |
| Retrieves the width of an image. More... | |
| SPINNAKERC_API | spinImageGetHeight (spinImage hImage, size_t *pHeight) |
| Retrieves the height of an image. More... | |
| SPINNAKERC_API | spinImageGetOffsetX (spinImage hImage, size_t *pOffsetX) |
| Retrieves the offset of an image along its X axis. More... | |
| SPINNAKERC_API | spinImageGetOffsetY (spinImage hImage, size_t *pOffsetY) |
| Retrieves the offset of an image along its Y axis. More... | |
| SPINNAKERC_API | spinImageGetPaddingX (spinImage hImage, size_t *pPaddingX) |
| Retrieves the padding of an image along its X axis. More... | |
| SPINNAKERC_API | spinImageGetPaddingY (spinImage hImage, size_t *pPaddingY) |
| Retrieves the padding of an image along its Y axis. More... | |
| SPINNAKERC_API | spinImageGetFrameID (spinImage hImage, uint64_t *pFrameID) |
| Retrieves the frame ID of an image. More... | |
| SPINNAKERC_API | spinImageGetTimeStamp (spinImage hImage, uint64_t *pTimeStamp) |
| Retrieves the timestamp of an image. More... | |
| SPINNAKERC_API | spinImageGetPayloadType (spinImage hImage, size_t *pPayloadType) |
| Retrieves the payload type of an image (as an enum, spinPayloadTypeInfoIds) More... | |
| SPINNAKERC_API | spinImageGetTLPayloadType (spinImage hImage, spinTLPayloadType *pPayloadType) |
| Retrieves the transport layer payload type of an image (as an enum, spinPayloadTypeInfoIds) More... | |
| SPINNAKERC_API | spinImageGetPixelFormat (spinImage hImage, spinPixelFormatEnums *pPixelFormat) |
| Retrieves the pixel format of an image (as an enum, spinPixelFormatEnums) More... | |
| SPINNAKERC_API | spinImageGetTLPixelFormat (spinImage hImage, uint64_t *pPixelFormat) |
| Retrieves the transport layer pixel format of an image (as an unsigned integer) More... | |
| SPINNAKERC_API | spinImageGetTLPixelFormatNamespace (spinImage hImage, spinTLPixelFormatNamespace *pPixelFormatNamespace) |
| Retrieves the transport layer pixel format namespace of an image (as an enum, spinPixelFormatNamespaceID) More... | |
| SPINNAKERC_API | spinImageGetPixelFormatName (spinImage hImage, char *pBuf, size_t *pBufLen) |
| Retrieves the pixel format of an image (as a symbolic) More... | |
| SPINNAKERC_API | spinImageIsIncomplete (spinImage hImage, bool8_t *pbIsIncomplete) |
| Checks whether an image is incomplete. More... | |
| SPINNAKERC_API | spinImageGetValidPayloadSize (spinImage hImage, size_t *pSize) |
| Retrieves the valid payload size of an image. More... | |
| SPINNAKERC_API | spinImageSave (spinImage hImage, const char *pFilename, spinImageFileFormat format) |
| Saves an image using a specified file format (using an enum, spinImageFileFormat) More... | |
| SPINNAKERC_API | spinImageSaveFromExt (spinImage hImage, const char *pFilename) |
| Saves an image using a specified file format (using the extension of the filename) More... | |
| SPINNAKERC_API | spinImageSavePng (spinImage hImage, const char *pFilename, const spinPNGOption *pOption) |
| Saves an image as a PNG image. More... | |
| SPINNAKERC_API | spinImageSavePpm (spinImage hImage, const char *pFilename, const spinPPMOption *pOption) |
| Saves an image as a PPM image. More... | |
| SPINNAKERC_API | spinImageSavePgm (spinImage hImage, const char *pFilename, const spinPGMOption *pOption) |
| Saves an image as an PGM image. More... | |
| SPINNAKERC_API | spinImageSaveTiff (spinImage hImage, const char *pFilename, const spinTIFFOption *pOption) |
| Saves an image as a TIFF image. More... | |
| SPINNAKERC_API | spinImageSaveJpeg (spinImage hImage, const char *pFilename, const spinJPEGOption *pOption) |
| Saves an image as a JPEG image. More... | |
| SPINNAKERC_API | spinImageSaveJpg2 (spinImage hImage, const char *pFilename, const spinJPG2Option *pOption) |
| Saves an image as a JPEG 2000 image. More... | |
| SPINNAKERC_API | spinImageSaveBmp (spinImage hImage, const char *pFilename, const spinBMPOption *pOption) |
| Saves an image as a BMP image. More... | |
| SPINNAKERC_API | spinImageGetChunkLayoutID (spinImage hImage, uint64_t *pId) |
| Retrieves the chunk layout ID of an image. More... | |
| SPINNAKERC_API | spinImageCalculateStatistics (spinImage hImage, const spinImageStatistics hStatistics) |
| Calculates the image statistics of an image. More... | |
| SPINNAKERC_API | spinImageGetStatus (spinImage hImage, spinImageStatus *pStatus) |
| Retrieves the image status of an image. More... | |
| SPINNAKERC_API | spinImageGetStatusDescription (spinImageStatus status, char *pBuf, size_t *pBufLen) |
| Retrieves the description of image status. More... | |
| SPINNAKERC_API | spinImageRelease (spinImage hImage) |
| Releases an image. More... | |
| SPINNAKERC_API | spinImageHasCRC (spinImage hImage, bool8_t *pbHasCRC) |
| Checks whether an image has CRC. More... | |
| SPINNAKERC_API | spinImageCheckCRC (spinImage hImage, bool8_t *pbCheckCRC) |
| Checks whether the CRC of an image is correct. More... | |
| SPINNAKERC_API | spinImageGetBitsPerPixel (spinImage hImage, size_t *pBitsPerPixel) |
| Retrieves the number of bits per pixel of an image. More... | |
| SPINNAKERC_API | spinImageGetSize (spinImage hImage, size_t *pImageSize) |
| Retrieves the size of an image. More... | |
| SPINNAKERC_API | spinImageGetStride (spinImage hImage, size_t *pStride) |
| Retrieves the stride of an image. More... | |
The functions in this section provide access to information and functionality of images. This includes creation, destruction, and saving as well as a wealth of information including things like width, height, stride, and timestamp.
| SPINNAKERC_API spinImageCalculateStatistics | ( | spinImage | hImage, |
| const spinImageStatistics | hStatistics | ||
| ) |
Calculates the image statistics of an image.
| hImage | The image to be saved |
| hStatistics | The image statistics context in which the calculated statistics are returned |
| SPINNAKERC_API spinImageCheckCRC | ( | spinImage | hImage, |
| bool8_t * | pbCheckCRC | ||
| ) |
Checks whether the CRC of an image is correct.
| hImage | The image to be saved |
| pbCheckCRC | The boolean pointer to return whether the image CRC passes |
| SPINNAKERC_API spinImageCreate | ( | spinImage | hSrcImage, |
| spinImage * | phDestImage | ||
| ) |
Creates an image from another; images created this way must be destroyed.
| hSrcImage | The image to be copied |
| phDestImage | The image handle pointer of the image to be created |
| SPINNAKERC_API spinImageCreateEmpty | ( | spinImage * | phImage | ) |
Creates an empty image; images created this way must be destroyed.
| phImage | The image handle pointer in which the empty image is returned |
| SPINNAKERC_API spinImageCreateEx | ( | spinImage * | phImage, |
| size_t | width, | ||
| size_t | height, | ||
| size_t | offsetX, | ||
| size_t | offsetY, | ||
| spinPixelFormatEnums | pixelFormat, | ||
| void * | pData | ||
| ) |
Creates an image with some set properties; images created this way must be destroyed.
| phImage | The image handle pointer in which the image is returned |
| width | The width to set |
| height | The height to set |
| offsetX | The offset along the X axis to set |
| offsetY | The offset along the Y axis to set |
| pixelFormat | The pixel format to set |
| pData | The image data to set; can be set to null |
| SPINNAKERC_API spinImageCreateEx2 | ( | spinImage * | phImage, |
| size_t | width, | ||
| size_t | height, | ||
| size_t | offsetX, | ||
| size_t | offsetY, | ||
| spinPixelFormatEnums | pixelFormat, | ||
| void * | pData, | ||
| spinTLPayloadType | dataPayloadType, | ||
| size_t | dataSize | ||
| ) |
Creates an image with some set properties; images created this way must be destroyed.
| phImage | The image handle pointer in which the image is returned |
| width | The width to set |
| height | The height to set |
| offsetX | The offset along the X axis to set |
| offsetY | The offset along the Y axis to set |
| pixelFormat | The pixel format to set |
| pData | The image data to set; can be set to null |
| dataPayloadType | The payload type of the data. This value can be retrieved from an existing image by using the spinImageGetTLPayloadType() function call. |
| dataSize | The size of the provided data in bytes |
| SPINNAKERC_API spinImageDeepCopy | ( | spinImage | hSrcImage, |
| spinImage | hDestImage | ||
| ) |
Creates a deep copy of an image (the destination image must be created as an empty image prior to the deep copy)
| hSrcImage | The image to be copied |
| hDestImage | The image handle in which the image is copied |
| SPINNAKERC_API spinImageDestroy | ( | spinImage | hImage | ) |
Destroys an image.
| hImage | The image to destroy |
| SPINNAKERC_API spinImageGetBitsPerPixel | ( | spinImage | hImage, |
| size_t * | pBitsPerPixel | ||
| ) |
Retrieves the number of bits per pixel of an image.
| hImage | The image to be saved |
| pBitsPerPixel | The unsigned integer pointer in which the number of bits per pixel is returned |
| SPINNAKERC_API spinImageGetBufferSize | ( | spinImage | hImage, |
| size_t * | pSize | ||
| ) |
Retrieves the buffer size of an image.
| hImage | The image of image data buffer to retrieve |
| pSize | The unsigned integer pointer in which the size of the image data if returned |
| SPINNAKERC_API spinImageGetChunkLayoutID | ( | spinImage | hImage, |
| uint64_t * | pId | ||
| ) |
Retrieves the chunk layout ID of an image.
| hImage | The image to be saved |
| pId | The unsigned integer pointer in which the chunk layout ID is returned |
| SPINNAKERC_API spinImageGetColorProcessing | ( | spinImage | hImage, |
| spinColorProcessingAlgorithm * | pAlgorithm | ||
| ) |
Retrieves the color processing algorithm of a specific image.
| hImage | The image of the color processing algorithm to retrieve |
| pAlgorithm | The color processing algorithm pointer in which the color processing algorithm is returned |
| SPINNAKERC_API spinImageGetData | ( | spinImage | hImage, |
| void ** | ppData | ||
| ) |
Retrieves the image data of an image.
| hImage | The image of the image data to retrieve |
| ppData | The pointer to the void pointer in which the image data is retrieved |
| SPINNAKERC_API spinImageGetFrameID | ( | spinImage | hImage, |
| uint64_t * | pFrameID | ||
| ) |
Retrieves the frame ID of an image.
| hImage | The image of the frame ID to retrieve |
| pFrameID | The unsigned integer pointer in which the frame ID is returned |
| SPINNAKERC_API spinImageGetHeight | ( | spinImage | hImage, |
| size_t * | pHeight | ||
| ) |
Retrieves the height of an image.
| hImage | The image of the height to retrieve |
| pHeight | The unsigned integer pointer in which the height is returned |
| SPINNAKERC_API spinImageGetID | ( | spinImage | hImage, |
| uint64_t * | pId | ||
| ) |
Retrieves the ID of an image.
| hImage | The image of the ID to retrieve |
| pId | The unsigned integer pointer in which the ID is returned |
| SPINNAKERC_API spinImageGetOffsetX | ( | spinImage | hImage, |
| size_t * | pOffsetX | ||
| ) |
Retrieves the offset of an image along its X axis.
| hImage | The image of the offset along the X axis to retrieve |
| pOffsetX | The unsigned integer pointer in which the offset along the X axis is returned |
| SPINNAKERC_API spinImageGetOffsetY | ( | spinImage | hImage, |
| size_t * | pOffsetY | ||
| ) |
Retrieves the offset of an image along its Y axis.
| hImage | The image of the offset along the Y axis to retrieve |
| pOffsetY | The unsigned integer pointer in which the offset along the Y axis is returned |
| SPINNAKERC_API spinImageGetPaddingX | ( | spinImage | hImage, |
| size_t * | pPaddingX | ||
| ) |
Retrieves the padding of an image along its X axis.
| hImage | The image of the padding along the X axis to retrieve |
| pPaddingX | The unsigned integer pointer in which the padding along the X axis is returned |
| SPINNAKERC_API spinImageGetPaddingY | ( | spinImage | hImage, |
| size_t * | pPaddingY | ||
| ) |
Retrieves the padding of an image along its Y axis.
| hImage | The image of the padding along the Y axis to retrieve |
| pPaddingY | The unsigned integer pointer in which the padding along the Y axis is returned |
| SPINNAKERC_API spinImageGetPayloadType | ( | spinImage | hImage, |
| size_t * | pPayloadType | ||
| ) |
Retrieves the payload type of an image (as an enum, spinPayloadTypeInfoIds)
| hImage | The image of the payload type to retrieve |
| pPayloadType | The payload type enum pointer in which the payload type is returned |
| SPINNAKERC_API spinImageGetPixelFormat | ( | spinImage | hImage, |
| spinPixelFormatEnums * | pPixelFormat | ||
| ) |
Retrieves the pixel format of an image (as an enum, spinPixelFormatEnums)
| hImage | The image of the pixel format to retrieve |
| pPixelFormat | The pixel format enum pointer in which the pixel format is returned |
| SPINNAKERC_API spinImageGetPixelFormatName | ( | spinImage | hImage, |
| char * | pBuf, | ||
| size_t * | pBufLen | ||
| ) |
Retrieves the pixel format of an image (as a symbolic)
| hImage | The image of the pixel format to retrieve |
| pBuf | The c-string character buffer in which the pixel format symbolic is returned |
| pBufLen | The unsigned integer pointer in which the length of the c-string is returned; the input value is the maximum length |
| SPINNAKERC_API spinImageGetPrivateData | ( | spinImage | hImage, |
| void ** | ppData | ||
| ) |
Retrieves the private data of an image.
| hImage | The image of the private image data to retrieve |
| ppData | The pointer to the void pointer in which the private image data is retrieved |
| SPINNAKERC_API spinImageGetSize | ( | spinImage | hImage, |
| size_t * | pImageSize | ||
| ) |
Retrieves the size of an image.
| hImage | The image to be saved |
| pImageSize | The unsigned integer pointer in which the size of the image is returned |
| SPINNAKERC_API spinImageGetStatus | ( | spinImage | hImage, |
| spinImageStatus * | pStatus | ||
| ) |
Retrieves the image status of an image.
| hImage | The image to be saved |
| pStatus | The status enum pointer in which the image status is returned |
| SPINNAKERC_API spinImageGetStatusDescription | ( | spinImageStatus | status, |
| char * | pBuf, | ||
| size_t * | pBufLen | ||
| ) |
Retrieves the description of image status.
| status | The status enum |
| pBuf | The c-string character buffer in which the explanation of image status enum is returned |
| pBufLen | The unsigned integer pointer in which the length of the c-string is returned; the input value is the maximum length; if pBuf is NULL, minimum length of string buffer is returned |
| SPINNAKERC_API spinImageGetStride | ( | spinImage | hImage, |
| size_t * | pStride | ||
| ) |
Retrieves the stride of an image.
| hImage | The image to be saved |
| pStride | The unsigned integer pointer in which the stride is returned |
| SPINNAKERC_API spinImageGetTimeStamp | ( | spinImage | hImage, |
| uint64_t * | pTimeStamp | ||
| ) |
Retrieves the timestamp of an image.
| hImage | The image of the timestamp to retrieve |
| pTimeStamp | The unsigned integer pointer om which the timestamp is returned |
| SPINNAKERC_API spinImageGetTLPayloadType | ( | spinImage | hImage, |
| spinTLPayloadType * | pPayloadType | ||
| ) |
Retrieves the transport layer payload type of an image (as an enum, spinPayloadTypeInfoIds)
| hImage | The image of the TL payload type to retrieve |
| pPayloadType | The payload type enum pointer in which the TL payload type is returned |
| SPINNAKERC_API spinImageGetTLPixelFormat | ( | spinImage | hImage, |
| uint64_t * | pPixelFormat | ||
| ) |
Retrieves the transport layer pixel format of an image (as an unsigned integer)
| hImage | The image of the TL pixel format to retrieve |
| pPixelFormat | The unsigned integer pointer in which the TL pixel format is returned |
| SPINNAKERC_API spinImageGetTLPixelFormatNamespace | ( | spinImage | hImage, |
| spinTLPixelFormatNamespace * | pPixelFormatNamespace | ||
| ) |
Retrieves the transport layer pixel format namespace of an image (as an enum, spinPixelFormatNamespaceID)
| hImage | The image of the TL pixel format namespace to retrieve |
| pPixelFormatNamespace | The pixel format namespace pointer in which the pixel format namespace is returned |
| SPINNAKERC_API spinImageGetValidPayloadSize | ( | spinImage | hImage, |
| size_t * | pSize | ||
| ) |
Retrieves the valid payload size of an image.
| hImage | The image of the payload size to retrieve |
| pSize | The unsigned integer pointer in which the size of the valid payload is returned |
| SPINNAKERC_API spinImageGetWidth | ( | spinImage | hImage, |
| size_t * | pWidth | ||
| ) |
Retrieves the width of an image.
| hImage | The image of the width to retrieve |
| pWidth | The unsigned integer pointer in which the width is returned |
| SPINNAKERC_API spinImageHasCRC | ( | spinImage | hImage, |
| bool8_t * | pbHasCRC | ||
| ) |
Checks whether an image has CRC.
| hImage | The image to be saved |
| pbHasCRC | The boolean pointer to return whether the image has CRC available |
| SPINNAKERC_API spinImageIsIncomplete | ( | spinImage | hImage, |
| bool8_t * | pbIsIncomplete | ||
| ) |
Checks whether an image is incomplete.
| hImage | The image to check |
| pbIsIncomplete | The boolean pointer to return whether or not the image is incomplete |
| SPINNAKERC_API spinImageRelease | ( | spinImage | hImage | ) |
Releases an image.
| hImage | The image to be saved |
| SPINNAKERC_API spinImageReset | ( | spinImage | hImage, |
| size_t | width, | ||
| size_t | height, | ||
| size_t | offsetX, | ||
| size_t | offsetY, | ||
| spinPixelFormatEnums | pixelFormat | ||
| ) |
Resets an image with some set properties.
| hImage | The image to be reset |
| width | The width to be reset to |
| height | The height to be reset to |
| offsetX | The offset to be reset to along the X axis |
| offsetY | The offset to be reset to along the Y axis |
| pixelFormat | The pixel format to be reset to |
| SPINNAKERC_API spinImageResetEx | ( | spinImage | hImage, |
| size_t | width, | ||
| size_t | height, | ||
| size_t | offsetX, | ||
| size_t | offsetY, | ||
| spinPixelFormatEnums | pixelFormat, | ||
| void * | pData | ||
| ) |
Resets an image with some set properties and image data.
| hImage | The image to reset |
| width | The width to be reset to |
| height | The height to be reset to |
| offsetX | The offset to be reset to along the X axis |
| offsetY | The offset to be reset to along the Y axis |
| pixelFormat | The pixel format to be reset to |
| pData | The image data to reset to |
| SPINNAKERC_API spinImageSave | ( | spinImage | hImage, |
| const char * | pFilename, | ||
| spinImageFileFormat | format | ||
| ) |
Saves an image using a specified file format (using an enum, spinImageFileFormat)
| hImage | The image to be saved |
| pFilename | The filename to use to save the image (with or without the appropriate file extension) @Param format The file format to use to save the image |
| SPINNAKERC_API spinImageSaveBmp | ( | spinImage | hImage, |
| const char * | pFilename, | ||
| const spinBMPOption * | pOption | ||
| ) |
Saves an image as a BMP image.
| hImage | The image to be saved |
| pFilename | The filename to use to save the image (with or without the appropriate file extension) |
| pOption | The image options related to saving as BMP; includes whether to save as indexed 8-bit |
| SPINNAKERC_API spinImageSaveFromExt | ( | spinImage | hImage, |
| const char * | pFilename | ||
| ) |
Saves an image using a specified file format (using the extension of the filename)
| hImage | The image to be saved |
| pFilename | The filename to use to save the image (with or without the appropriate file extension) |
| SPINNAKERC_API spinImageSaveJpeg | ( | spinImage | hImage, |
| const char * | pFilename, | ||
| const spinJPEGOption * | pOption | ||
| ) |
Saves an image as a JPEG image.
| hImage | The image to be saved |
| pFilename | The filename to use to save the image (with or without the appropriate file extension) |
| pOption | The image options related to saving as JPEG; includes quality and whether to save as progressive |
| SPINNAKERC_API spinImageSaveJpg2 | ( | spinImage | hImage, |
| const char * | pFilename, | ||
| const spinJPG2Option * | pOption | ||
| ) |
Saves an image as a JPEG 2000 image.
| hImage | The image to be saved |
| pFilename | The filename to use to save the image (with or without the appropriate file extension) |
| pOption | The image options related to saving as JPEG 2000; includes quality |
| SPINNAKERC_API spinImageSavePgm | ( | spinImage | hImage, |
| const char * | pFilename, | ||
| const spinPGMOption * | pOption | ||
| ) |
Saves an image as an PGM image.
| hImage | The image to be saved |
| pFilename | The filename to use to save the image (with or without the appropriate file extension) |
| pOption | The image options related to saving as PGM; includes whether to save as binary |
| SPINNAKERC_API spinImageSavePng | ( | spinImage | hImage, |
| const char * | pFilename, | ||
| const spinPNGOption * | pOption | ||
| ) |
Saves an image as a PNG image.
| hImage | The image to be saved |
| pFilename | The filename to use to save the image (with or without the appropriate file extension) |
| pOption | The image options related to saving as PNG; includes compression level and whether to save as interlaced |
| SPINNAKERC_API spinImageSavePpm | ( | spinImage | hImage, |
| const char * | pFilename, | ||
| const spinPPMOption * | pOption | ||
| ) |
Saves an image as a PPM image.
| hImage | The image to be saved |
| pFilename | The filename to use to save the image (with or without the appropriate file extension) |
| pOption | The image options related to saving as PPM; includes whether to save as binary |
| SPINNAKERC_API spinImageSaveTiff | ( | spinImage | hImage, |
| const char * | pFilename, | ||
| const spinTIFFOption * | pOption | ||
| ) |
Saves an image as a TIFF image.
| hImage | The image to be saved |
| pFilename | The filename to use to save the image (with or without the appropriate file extension) |
| pOption | The image options related to saving as TIFF; includes compression method |