Rotate, Flip, Flop

PXN8’s swiss-army knife PXN8.tools.rotate() function…

Original Image…
Original
To rotate the image 90 degrees clockwise…

PXN8.tools.rotate({angle: 90});

rotated thru 90 degrees
To “Flip” or “Mirror” the image…

PXN8.tools.rotate({fliphz: true});


To “Flop” or mirror vertically…

PXN8.tools.rotate({flipvt: true});


To “Flop” / mirror vertically and then rotate 90 degrees…

PXN8.tools.rotate({flipvt: true, angle: 90});


I don’t know about you but I feel quite dizzy.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: