CvtColor (cvt_color v0.1.0) View Source

Color convert function

Link to this section Summary

Link to this section Functions

Link to this function

cvt(image_data, src_color, dst_color)

View Source

Convert color

  • image_data: source image data. binary.
  • src_color: source image color.
    • :bgr888
    • :rgb888
  • dst_color: destination image color
    • :bgr565
    • :rgb565

Currently supported pairs:

  • :bgr888, :bgr565
  • :bgr888, :rgb565
  • :rgb888, :bgr565
  • :rgb888, :rgb565