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

Add client side compression of images #176

Merged
merged 1 commit into from
Nov 5, 2023
Merged

Conversation

Raupinger
Copy link
Contributor

@Raupinger Raupinger commented Nov 4, 2023

Add the option to compress images in the browser using the browser-image-compression module.
Currently, since there is now way for the client to get the size limit with the current API, the target size is hard-coded at 1MB, which is the default for the file size limit.
An endpoint for that could of course be added, but I'd like some feedback on whether that's necessary before I start screwing around with the API.

solves #114

abrechnung.mp4

@mikonse mikonse merged commit 680ec66 into SFTtech:master Nov 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants