polotno-node
Advanced tools
Comparing version 2.9.15 to 2.9.16
{ | ||
"name": "polotno-node", | ||
"version": "2.9.15", | ||
"version": "2.9.16", | ||
"description": "Polotno workflow from NodeJS", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -183,2 +183,3 @@ const fs = require('fs'); | ||
_skipTimeout: true, | ||
mimeType: 'image/jpeg', | ||
pageId: currentPage?.id, | ||
@@ -193,3 +194,3 @@ }); | ||
fs.writeFileSync( | ||
`${tempFolder.name}/${frameIndex}.png`, | ||
`${tempFolder.name}/${frameIndex}.jpeg`, | ||
dataURL.split(',')[1], | ||
@@ -239,3 +240,3 @@ 'base64' | ||
const ffmpegCmd = ffmpeg() | ||
.input(`${tempFolder.name}/%d.png`) | ||
.input(`${tempFolder.name}/%d.jpeg`) | ||
.inputFPS(fps) | ||
@@ -242,0 +243,0 @@ .videoCodec('libx264') |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1230302
5515