Convert an image from one format to another
#include <img/img.h> int img_dtransform( const img_t *src, img_t *dst );
This function converts an img_t from one format to another. Best to use this when you only need to do the transform once on a single img_t. Returns IMG_ERR_OK if the transform succeeed, otherwise returns one of the documented error codes of img_dtransform_create()
Image library
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |