Mirror an Image

Whats the fastest way to apply a mirror effect on an image, bufferedimage ?

Maybe image.getGraphics().drawImage(image, x1,y1,x2,y2 ,s1,v1,s2,v2, null) using coordinates that produce a mirror effect

g.drawImage(image, x, y, -width, height, null);

-width mirrors it horizontally
-height mirrors is vertically
(or combine both)

Keep note that mirroring an image will reverse the origin (as in, the origin is always top-left. Mirroring left-to-right, your new origin will be drawn from top-right).

Thanks, that really works well =D

No problem.