Skip to content

Commit b69399b

Browse files
committed
update
1 parent 6734fd4 commit b69399b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/image-compression.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export default async function compress (file, options) {
6161

6262
let quality = options.initialQuality || 1.0
6363

64-
const tempFileType = options.fileType || 'image/jpeg'
64+
const tempFileType = 'image/jpeg'
6565
const outputFileType = options.fileType || file.type
6666

6767
let tempFile = await canvasToFile(orientationFixedCanvas, outputFileType, file.name, file.lastModified, quality)

0 commit comments

Comments
 (0)