New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Attached image files grow in size and get corrupted meta info #2858
Labels
bug 🐛
Issue concerns a bug.
Comments
Update: attached PNG images don't grow in their file size (the size becomes even slightly smaller), but they do loose all image metadata as JPG images do |
Acturally after attaching, the file is not a jpg anymore, it is a png format file, you can use some software to check it. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Current behavior
When you drag an image file into a note, boostnote creates a new file in
{storage_folder}\attachments\{note_id}\{some_hash}.jpg
and insert a link to it. The problem is that new file size appears few times bigger than original one and its image metadata is corrupted (or deleted):Original file is 1.05 MB and has some usual image meta info:
Attached file is 9.13 MB and all meta is missed:
More over some programs like embedded window image viewer even don't recognize this file as an image.
Expected behavior
When I attach a file I expect it to be untouched (same file size, same meta info etc).
Steps to reproduce
Environment
The text was updated successfully, but these errors were encountered: