File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ const compressedImage = await compressFile(file);
4949import { imageTypes , compressImage } from ' simple-image-compressor' ;
5050```
5151
52- ` imageTypes ` is an object containing the three expected values for ` config.type ` :
52+ ` imageTypes ` is an object containing the two expected values for ` config.type ` :
5353
5454``` ts
5555const imageTypes = {
@@ -63,3 +63,8 @@ const imageTypes = {
6363File -> ObjectURL & HTMLImageElement (width + height) -> imageBitMap -> Canvas -> Blob
6464
6565"ImageBitMap -> Canvas -> Blob" happens in a web worker, allowing for parallel processing.
66+
67+ ## Similar Packages
68+
69+ - [ browser-image-compression] ( https://www.npmjs.com/package/browser-image-compression )
70+ - [ image-conversion] ( https://www.npmjs.com/package/image-conversion )
You can’t perform that action at this time.
0 commit comments