All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
-
Bumped onnx runtime to 1.17 Changed
-
Changed license from GPL to AGPL Changed
-
Added option to apply segmentation mask to any image. Used for applying the same mask to srcsets.
- Typescript bindings are generated with tsc
-
Resources are now chunked to 4MB for better caching performance and download restart.
-
Seperate functions for
removeBackground
,removeForeground
, andsegmentForeground
. Later will extract the mask only. -
Config option to export 'x-alpha8' format to get receive single channel alpha mask.
- Configuration options to specify if background, foreground or mask is exported.
-
Changed the return value type of the progress callback from undefined to void
-
Output is now in the original image size. Mask is upscaled and applied to the original image.
-
CHANGELOG.md
for an better overview of the changes. -
support for raw
rgba8
export formats.
- Support
foreground
,background
andmask
export type. - Added support for
webp
andjpeg
export formats.