Jump to content
You must now use your email address to sign in [click for more info] ×

Record resize percentage in a macro


Recommended Posts

Hi,

This is following this thread, open by believing this was a bug and not by design:

When recording an action in the Resize Document dialog, I would like any value entered as a percentage to be recorded as is.

At the moment, the result of the percentage scaling is recorded. That is, if you start recording with a document 100px wide, and you enter a 110% increase, the macro records a width of 110px, and not an increment of 110%.

This is useful for repeated increases of a document while resampling it.

Paolo

 

Link to comment
Share on other sites

  • 8 months later...

Here here. Resizing the whole file, with or without layers, by percentage is an essential production and housekeeping tool. Currently requires finding a 3rd party software to perform this task. If it could be built into the 'Resize Document' dialog box that would be a great addition! Tx. xx

Link to comment
Share on other sites

I don't know if the developer want to answer on this issue, and let us know if this will remain as it is, or will be changed.

My idea is that a macro should record the action of the user, and not the calculated result.

Paolo

 

Link to comment
Share on other sites

Of course Photo should record the percentage in this case. It is after all the whole point of the operation. It's sloppy implementation. Similar action in Photoshop records what it should:

image.png.ebbb964f453f2efea8c8f1eded016adf.png

  • The procedure, as always, should be:

A) Gather data from customers and the market so you know use cases for functionality. Research competitors' products.
B) Develop functionality.

Not the other way around.

 

Link to comment
Share on other sites

One way to increase an image by a fixed proportion is to use Equations.

Use the following macro steps for a 10% increase (1.1-fold):

  1. Document > Resize Canvas
  2.    Enter 5000 (or some arbitrarily large value) in the width box, Click in the central box in the choice of position.
  3. Click on [Resize]
  4. Filters > Distort > Equations
  5.   For x enter x/1.1
  6.   For y enter y/1.1
  7. Click on [Apply]
  8. Document > Clip Canvas (this removes the added blank area)

Note that to enlarge the image 1.1-fold, you need to divide the (or y) value by 1.1.

Adding the 5000 pixel blank canvas is to give the image room to expand. You need it large enough to accomodate an arbitrarily-sized sourced image.

You could replace the 1.1 by a parameterised version by replacing it by (1+a), where a is the first parameter.

I can provide a (parameterised) macro if you wish.

John

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

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.