Attachment size increase after pasting in Anytype
Have you read a contributing guide?
- I have read CONTRIBUTING.md
- I have searched the existing issues and didn't find any that were similar
- I have considered creating a pull request with fixes instead of a bug report and want to proceed
Current Behavior
Image pasted or dragged inside anytype goes from 29,9kb to 80,4kb
Expected Behavior
Image size stays as is
Steps To Reproduce
- Note image size in windows explorer
- Paste image in Anytype
- Click "view as object" and see increased size
- Download image from Anytype and see increased size in windows explorer as well
Environment
- OS: Windows 11 25H2
- Version: Anytype 0.56.5Anything else?
Also, aside that bug, could an option to shrink attachments be implemented? Attachments usually takes most of space, and no app i know helps maintain that. Im often just Ctrl+V screenshots or images from internet into notes, and often these takes too much space. Could there be an option to "optimize channel attachments"? Like, give a bit of settings to shrink all images largest size into Xpx, compress without visible quality loss or to compress to desired x kb size limit. Could also be nice to have a possibility to have "auto-optimize" function that asks everytime i'm pasting anything to a note so i can see result immidiately and just Ctrl+Z and paste without optimization if its something important
Source: anyproto/anytype-ts