Jump to content
John Rostron

Entering Macro Parameters as fractions

Recommended Posts

I have used equations to resize my images as described in this thread. I use the Parameter a to adjust the final image size to the desired maximum. However the parameters are constrained to lie between zero and one (inclusive). In this macro, zero gives a size of zero and one gives a size of 4000px. The parameter a is a multiplier for 4000 so that 0.2 gives a target of 800px.

I have found that it is much more convenient to enter a fraction in the parameter box so, instead of entering 0.2, I can enter 800/4000. All the user has to do is to remember the denominator should be 4000. The ability to enter fractions is documented for other parts of the user interface, but I thought it worth mentioning that it works here as well.

John


Windows 10, Affinity Photo 1.7 and Designer 1.7, (mainly Photo), now ex-Adobe CC

CPU: AMD A6-3670. RAM: 16 GB DDR3 @ 666MHz, Graphics: 2047MB NVIDIA GeForce GT 630

Share this post


Link to post
Share on other sites

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

×