Canvas.toDataUrl clarification
I wanted to convert a chart rendered by canvas element to an image file so that the user can download it. But the official HTML docs say that: The created image data will have a resolution of 96dpi for file formats that support encoding resolution metadata. I don’t know much about digital images so I want some clarification. Here is my understanding :