I'm using [this coverflow](https://github.com/luwes/js-cover-flow) script on my website and I don't know how to output the canvas with rounded corners.

This is the code that draws the image

```
ctx.drawImage(image, cropLeft, cropTop, wid-2*cropLeft, hei-2*cropTop, 0, 0, newWidth, newHeight);

```

I read some tutorials using arc() or arcTo() functions but none of them we're using an image as object.

UPDATE1: I see that drawimage() has only the following parameters for drawing:
• Images the same size and composition as the original
• Images that are resized from the original
• Images that are cropped from the original

So, I guess, it's not possible to draw images with rounded corners through canvas..