Jump to content

Flipping images horizontal using AppleScript


Recommended Posts

Posted (edited)

Hi,

 

I'm trying to flip an image horizontally using AppleScript.

 

I found some examples online but I can't seem to make them work.

 

Any suggestions would be appreciated.

 

Thanks in advance for any help.

 

Jhn.

 

---

set this_file to choose file without invisibles

 

tell application "Image Events"

launch

set this_image to open this_file

flip this_image with horizontal

save this_image with icon

-- purge the open image data

close this_image

end tell

 

 

Edited by jhncbrwn

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...