Is there any way to convert chartjs into image?

I use chartJs to display charts in a web page. I would like to convert the graphics to an image format and then display them on my web page. I can do this with base64 encoding but I would like to be able to display my images in PNG format.

I'm trying to do this because, afterwards, I export my HMTL file to PDF with Dompdf and the latter does not display the images in base64.

How can I do this?

How many English words
do you know?
Test your English vocabulary size, and measure
how many words do you know
Online Test
Powered by Examplum