Logo Search packages:      
Sourcecode: zebra version File versions  Download package

zebra_image_t* zebra_image_convert ( const zebra_image_t image,
unsigned long  format 

image format conversion. refer to the documentation for supported image formats

a new image with the sample data from the original image converted to the requested format. the original image is unaffected.
the converted image size may be rounded (up) due to format constraints

Definition at line 917 of file convert.c.

References zebra_image_convert(), and zebra_image_convert_resize().

Referenced by zebra::Image::convert(), zebra_image_convert(), and zebra_scan_image().

    return(zebra_image_convert_resize(src, fmt, src->width, src->height));

Generated by  Doxygen 1.6.0   Back to index