crab
crab copied to clipboard
[Feature Request] Add image compression for actions
Required prerequisites
- [X] I have searched the Issue Tracker that this hasn't already been reported. (+1 or comment there if it has.)
Motivation
Current implementation uses uncompressed PNG format image with base64 encoding in the whole process. Each action have to encode and decode image between base64 + PNG and python PIL.Image
.
Solution
It's better to only uncompress and serilize the image during network transfer. While in other actions we should keep using PIL.Image
format.
Additional context
No response