Jump to content

Changing Picture Orientation


This topic is 3024 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Is there a way to manipulate the orientation of a picture based on the information found in GetContainerAttribute?

I'm assuming that we cannot change the data that is in the file. The problem I'm seeing is a few images are coming into FM sideways or upside-down. Was hoping that I could add a couple of buttons on the layout for the user to 'rotate left' or 'rotate right'. 

Link to comment
Share on other sites

A bit clunky i know but one way is to create two versions of the picture - one in landscape and the other in Portrait (rotated). Generate a flag from a button script which controls the hide criteria. If you want this a little more automated and you are always expecting a particular orientation use PatternCount(Images::image rotation;"180") or PatternCount(Images::image rotation;"90 degrees") to generate the hide options.

Link to comment
Share on other sites

Sadly that's what I was afraid of. 

At times I am amazed at the features we do get in FM. And just as often I am amazed at features that seem simple, but are missing. Even the Mac Preview app has the ability to rotate a file and then save it.

Thanks John for the suggestion.

Edited by oakbridge
Link to comment
Share on other sites

This topic is 3024 days old. Please don't post here. Open a new topic instead.

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...

Important Information

By using this site, you agree to our Terms of Use.