Closed cosmicle0 closed 3 years ago
Fixed. Check it:
curl https://carbonara.now.sh/api/cook \
-X POST \
-H 'Content-Type: application/json' \
-d '{
"code": "export default const sum = (a, b) => a + b",
"backgroundColor": "rgba(31,129,109,0)"
}' \
> transparent.png
Thanks a lot!
~cosmicice
Hi there,
I'd like to see transparent background to be implemented, It is possible if i set alpha to 0 in the rgba option, but I don't think puppeteer takes transparent screenshots.
Thanks, cosmicice