Introduction
An extension to optimize images and reduce their size with loosing very little details!
If you want to upload it to the web database then you can optimize it and upload. It will save space in the database.
Required permissions:
android.permission.READ_EXTERNAL_STORAGE
android.permission.WRITE_EXTERNAL_STORAGE
Documentation
Each block's purpose and its work
- Raised when the image is optimized
image: optimized image path
size: optimized image size in bytes
- Raised when failed to optimize
message: error message
- Optimize the image given
returns: whether successful
- Set the output path of the image
defaultValue: /storage/emulated/0/compressed.png
- Get the output path set
returns: image path output
Download extension
- Direct download: com.kumaraswamy.imageoptimizer.aix [8.3 KB]
- Alternate download: micode.vercel.app/ImageOptimizer.html
If you find any bugs, then let me know!
Thanks!
Website: micode.vercel.app