@innovastudio/contentbuilder 1.3.67 → 1.3.70

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@innovastudio/contentbuilder",
3
3
  "type": "module",
4
- "version": "1.3.67",
4
+ "version": "1.3.70",
5
5
  "description": "",
6
6
  "main": "public/contentbuilder/contentbuilder.esm.js",
7
7
  "files": [
@@ -50046,9 +50046,11 @@ class Image$1 {
50046
50046
  img.setAttribute('data-filename', newname + '.' + extension);
50047
50047
  }
50048
50048
 
50049
- if (extension === 'jpg') {
50049
+ if (extension === 'jpg' || extension === 'jpeg') {
50050
50050
  img.src = this.cropper.getCroppedCanvas({
50051
- fillColor: '#fff'
50051
+ fillColor: '#fff',
50052
+ imageSmoothingEnabled: true,
50053
+ imageSmoothingQuality: 'high'
50052
50054
  }).toDataURL('image/jpeg');
50053
50055
  } else {
50054
50056
  img.src = this.cropper.getCroppedCanvas({}).toDataURL();