compress-images
compress-images copied to clipboard
Ability to input the file instead of its path
Hi, I was wondering if you could add the ability to input a file instead of the source path for compressing the images. I'm working on a nestjs project using multer to upload and save images. I have to save the image files then compress them and save the compressed files in directory and then delete the uncompressed files, but if compressing images with their files was possible I could compress the images before storing them in directory.