Fliping an image (or buffer) on a given axis?

BlitzPlus Forums/BlitzPlus Programming/Fliping an image (or buffer) on a given axis?

JRalha(Posted 2011) [#1]
Does anyone know an easy and fast way to flip an image on a given axis (ie: invert the image vertically).

Note: What I pretend It's not rotate - I know that there is a RotateImage command in BlitzPlus. But that command performs an alteration of both axis at a given time (and in any degree - which I don't require)...


JRalha(Posted 2011) [#2]
It seems stupid to answer to my own answer. But actually it was in the docs...

ScaleImage image,xscale#,yscale#

"Using a negative value perform image flipping".

What it does not refer though is that you have to change the image handle to the original place (So that's why I'm posting here).

In my case:
(...)
ScaleImage DestImage,1,-1
HandleImage DestImage,0,0
(...)