-1

Guys i want to curve an image without using CSS. is there anyway to do it with HTML5 ,HTML5 canvas or php. i was able to curve line but how curve an image. can anybody give me a direction.

MD TAHMID HOSSAIN
  • 1,581
  • 7
  • 29
  • 54

2 Answers2

0

you can use this jquery plugin for curved corners; http://code.google.com/p/jquerycurvycorners/ for curving corners you can use javascript as below or CSS syntax.

    $('.myBox').corner({
    tl: { radius: 8 }, tr: { radius: 8 }, bl: { radius: 8 }, br: { radius: 8 }, antiAlias: true 
}); 
bkilinc
  • 989
  • 2
  • 13
  • 28
-1

Try this

selector {
        -moz-border-radius-topleft: 10px;
        -webkit-border-top-left-radius: 10px;
        border: 1px solid;
    }
senthilbp
  • 807
  • 1
  • 9
  • 16