How to distort an image using HTML 5 Canvas

Asked

Viewed 270 times

1

I need to apply this image: cachorro

In different shapes, such as cups, bracelets, T-shirts, such as these examples inserir a descrição da imagem aqui

I tried with component of AspJpeg, but I saw with the developers who made this component that it is not possible to round the way it needs, only straight application.

Now I’m studying a way to be by HTML5 tagged Canvas, but I’m not getting it.

Personal thank you!

  • Gustavo, do you want the edges of the image to be rounded, that’s all? http://www.1stwebdesigner.com/wp-content/uploads/2010/03/html5-css3-generators/border-radius-html5-css3-tools-generators.jpg . See if it’s something similar you want (rectangle)

  • No, what I need is for the image to also be in the format, bend together

1 answer

1

Browser other questions tagged

You are not signed in. Login or sign up in order to post.