browser-image-resizer
Advanced tools
Comparing version 1.1.0 to 1.1.1
{ | ||
"name": "browser-image-resizer", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "A browser-based utility to downscale and resize images using <canvas>", | ||
@@ -5,0 +5,0 @@ "main": "build/index.js", |
@@ -7,2 +7,6 @@ # browser-image-resizer | ||
## Demo | ||
[https://browser-image-resizer-test.firebaseapp.com/](https://browser-image-resizer-test.firebaseapp.com/) | ||
## Installation | ||
@@ -19,5 +23,7 @@ | ||
const config = { | ||
quality: 0.7, | ||
width: 800, | ||
height: 600 | ||
quality: 0.5, | ||
maxWidth: 800, | ||
maxHeight: 600, | ||
autoRotate: true, | ||
debug: true | ||
}; | ||
@@ -93,2 +99,4 @@ | ||
| `maxHeight` | The maximum height for the downscaled image | 600 | | ||
| `autoRotate` | Reads EXIF data on the image to determine orientation | true | | ||
| `debug` | console.log image update operations | true | | ||
@@ -95,0 +103,0 @@ ### Outputs |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
160878
102
0