Skip to content
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

[feature] Resize large images to save disk space #34

Closed
muhuk opened this issue Oct 3, 2021 · 3 comments
Closed

[feature] Resize large images to save disk space #34

muhuk opened this issue Oct 3, 2021 · 3 comments
Labels
enhancement New feature or request

Comments

@muhuk
Copy link

muhuk commented Oct 3, 2021

Having the ability to drag and drop images is awesome. Having the ability to scale images within the app is also awesome. Sometimes I scale down a larger image and scale up a smaller image within beeref. It would be great if there was a command that downscale the actual image data as well.

@rbreu rbreu added the enhancement New feature or request label Oct 3, 2021
@rbreu
Copy link
Owner

rbreu commented Oct 3, 2021

One reason the file sizes get so big is that currently, the images get saved as PNG data inside the bee file. PNG is great for being lossless and supporting transparency, but it does result in bigger files than JPG. I'm planning on enhance the embedding mechanism (for example embed JPG images as JPG data, maybe let the user also opt in to embed everything as JPG), that should already make file sizes smaller.

Plus I'm planning on a mode where images loaded from hard drive can be linked to instead of embedded into the bee file, for cases where people mainly want to manage images they already have saved somewhere.

But I'll keep this in mind as well.

@rbreu
Copy link
Owner

rbreu commented Nov 26, 2023

Commit 7bef122 introduces the option to store the images as PNG, JPG, or a default "best guess". This reduces bee file sizes a lot, so I'll close this issue for now.

This change will go out in the next release.

@rbreu rbreu closed this as completed Nov 26, 2023
@muhuk
Copy link
Author

muhuk commented Nov 26, 2023

Based on dates, I'm guessing this is not part of 0.3.0 release :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants