Closed aksh-hash closed 2 years ago
@aksh-hash Can you comment pics of downloaded canvases, please so that I can review them too?
Sure.
Yes Sir.
On Thu, Dec 16, 2021 at 8:20 PM Shivam Yadav @.***> wrote:
You have added download button, right?
— Reply to this email directly, view it on GitHub https://github.com/ExpressHermes/Primitive-Paint/pull/34#issuecomment-995888268, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARYMCJF64HZVBBGFIN5RWHTURH4EXANCNFSM5KGNEWPA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID: @.***>
@aksh-hash These images have a transparent background. Can you figure out a way to add a background(same as the background color of our canvas) to these images?
@ExpressHermes , since canvas image is saved on the pixels, my approach was to first fill the canvas background with the desired color , and then save the image , but even after that its still the same. and the color of the canvas background is restored when the image is opened in Firefox or Google Chrome or any other web browser .
ok
Sir, I've found a way to save the image with the background color.
@aksh-hash Make a PR
changes made to files: rectangle.html , circle.html , simplePen.html , ecllipse.html