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.
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
https://github.com/SFTtech/abrechnung/assets/29229062/63bf20f6-862c-47f5-8020-20e5cdb44d88