Spaces:
Running
Running
Update lib/convertFormat.js
Browse files- lib/convertFormat.js +1 -1
lib/convertFormat.js
CHANGED
|
@@ -9,7 +9,7 @@ function allToJpg(bufferImage) {
|
|
| 9 |
try {
|
| 10 |
const buffers = [];
|
| 11 |
ffmpeg()
|
| 12 |
-
.input(
|
| 13 |
.inputFormat(response.ext)
|
| 14 |
.outputFormat('jpeg')
|
| 15 |
.on('data', (chunk) => {
|
|
|
|
| 9 |
try {
|
| 10 |
const buffers = [];
|
| 11 |
ffmpeg()
|
| 12 |
+
.input(bufferImage)
|
| 13 |
.inputFormat(response.ext)
|
| 14 |
.outputFormat('jpeg')
|
| 15 |
.on('data', (chunk) => {
|