File size increases after cropping image using File Picker
jsakas opened this issue · 1 comments
jsakas commented
When uploading and cropping an image file using the File Picker, we see the file size of the cropped image increase significantly. These are the option we are passing into the picker:
{
accept: ['image/jpg', 'image/jpeg', 'image/png'],
fromSources: ['local_file_system'],
transformations: {
crop: {
aspectRatio: 16 / 10, force: true
},
}
}
Here is the image we are cropping (about 975kb):
After cropping the image slightly, it is increased to 2.3 mb:
Expected Behavior
Image size does not increase after cropping.
Current Behavior
Image size more than doubles after cropping.
Your Environment
- Version used: filestack-js@3.26.1
- Browser Name and version: Chrome
- Operating System and version (desktop or mobile): macOS
- Link to your project: private
StephenLover commented
Any further update for this issue please?