crab icon indicating copy to clipboard operation
crab copied to clipboard

[Feature Request] Add image compression for actions

Open dandansamax opened this issue 6 months ago • 0 comments

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

dandansamax avatar Aug 26 '24 12:08 dandansamax