Convert PIL or OpenCV Image to Bytes without Saving to Disk

📝

内容提要

Introduction # Sometimes, we may want an in-memory jpg or png image that is represented as binary data. But often, what we have got is image in OpenCV (Numpy ndarray) or PIL Image format. In...

🏷️

标签

➡️

继续阅读