We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm having issues customizing the background colors for exporting to .png or .mp4.
It seems this issue was solved here: #transitive-bullshit/puppeteer-lottie-cli#12
here is my code:
await renderLottie({ animationData: JSON.parse(data), output: downloadPath, background: '#000000', height: canvasHeight, width: canvasWidth, puppeteerOptions:{ args: ['--no-sandbox', '--disable-setuid-sandbox'] }
the png is still coming back with a transparent background. Thanks.
The text was updated successfully, but these errors were encountered:
the black background is hardcoded here https://github.com/transitive-bullshit/puppeteer-lottie/blob/master/index.js#L313 @transitive-bullshit can I make a PR to have this configurable, or am I missing something maybe?
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
I'm having issues customizing the background colors for exporting to .png or .mp4.
It seems this issue was solved here: #transitive-bullshit/puppeteer-lottie-cli#12
here is my code:
await renderLottie({ animationData: JSON.parse(data), output: downloadPath, background: '#000000', height: canvasHeight, width: canvasWidth, puppeteerOptions:{ args: ['--no-sandbox', '--disable-setuid-sandbox'] }
the png is still coming back with a transparent background. Thanks.
The text was updated successfully, but these errors were encountered: