Skip to content

Commit e86e92f

Browse files
authored
Merge pull request #12 from Lenni009/dev
Add similar packages to readme
2 parents e00a063 + 2504377 commit e86e92f

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ const compressedImage = await compressFile(file);
4949
import { 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
5555
const imageTypes = {
@@ -63,3 +63,8 @@ const imageTypes = {
6363
File -> 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)

0 commit comments

Comments
 (0)