I want to take an image in flip it upside down with html canvas. How开发者_JAVA技巧 can I do this?
Somewhere in your javascript, where you draw your image, put context.scale(1, -1); And then after you draw your image, reset the scale by context.scale(1, 1);
精彩评论