Extension Remix and Update
- fixed file paths to allow for ASD
- added quality option to the block (works for jpg and webp, png is lossless) scale of 0 -100, 100 gives best visual appearance.
- Coded to handle deprecation of
WEBP, which is replaced withWEBP_LOSSYfrom API 30. Devices on less than 30 will use WEBP, those above WEBP_LOSSY - error handling and error messaging improved
For clarity, extension converts between jpg, png and webp file formats (these are the only ones available for Bitmap.CompressFormat) or you can reduce quality / filesize of existing file format. Files to be converted must have a valid extension (e.g. file1.jpg / file2.png / file3.webp)
Credits @Kumaraswamy for original extension.
#####################################################################
This work by TIMAI2 is licensed under an
MIT Licence
#####################################################################
