Convert multidimensional array (RGB image) to bytes

前端 未结 0 1672
予麋鹿
予麋鹿 2020-11-30 06:07

I\'m looking for a way to convert a RGB image to bytes. I;ve tried with .tobytes() - however, it didn\'t work out as it seems to only applies for 1D.

相关标签:
回答
  • 消灭零回复
提交回复
热议问题