We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6734fd4 commit b69399bCopy full SHA for b69399b
lib/image-compression.js
@@ -61,7 +61,7 @@ export default async function compress (file, options) {
61
62
let quality = options.initialQuality || 1.0
63
64
- const tempFileType = options.fileType || 'image/jpeg'
+ const tempFileType = 'image/jpeg'
65
const outputFileType = options.fileType || file.type
66
67
let tempFile = await canvasToFile(orientationFixedCanvas, outputFileType, file.name, file.lastModified, quality)
0 commit comments