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 request] Image File Compression until it fits a certain fileSize #329

Open
2 tasks done
ajay-mandaviya opened this issue Jan 16, 2025 · 1 comment
Open
2 tasks done

Comments

@ajay-mandaviya
Copy link

ajay-mandaviya commented Jan 16, 2025

Current behavior

      Current behavior is all good 

Expected behavior

The image should be compressed to a file size of 100 KB or less without compromising significant quality.
The solution should work seamlessly across both Android and iOS devices.
Take maxFilze size from user input and run the loop steps 5/10 every time we check quality and fileSize. 
we can try this to achive this . Taking reference from one of angular package [ng2-img-max] there is an method compress. 

Platform

  • Android
  • iOS

Thank for building such an incredible library.

Copy link

👋 @ajay-mandaviya
Thanks for opening your issue here! If you find this package useful hit the star🌟!

@ajay-mandaviya ajay-mandaviya changed the title Image File Compression until it fits a certain fileSize [Feature request] Image File Compression until it fits a certain fileSize Jan 16, 2025
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

No branches or pull requests

1 participant