Jump to content

Set MINIMUM sides pixel lenght on batch export

Recommended Posts


Still need to find a way to set  MIN pixel lenght for H or V sides on batch exporting; the only numbers you can write are meant to be the MAX size you want. 

Example: I can decide the max values for H or V side so the final image do not exceed it, but what if I need the smallest side to be i.e. 1200px and having AP to do the rest? This option is intuitive and for that reason widely available on any other software I know so far...

It's quite a simple option that I can't see here on AP.



Share this post

Link to post
Share on other sites

It is not a simple calculation. You can use field expressions in each box, but if you set the width to min(1200,W), then it will scale the height accordingly. This works if the width is less than the height, but not if it is greater.

If you search for "fixed maximum size" (without quotes), you will find my macro for resizing an image to a fixed maximum size. My guess is that it should do what you want if you replace max(h,w) by min(h,w). You would substitute 1200 for 800 in the equations. You should not need to use the version with the a parameter.

I would also guess that it would be possible to enter a formula directly into the box in the batch setup. I will explore this.


Windows 10, Affinity Photo 1.8,5 Designer 1.8.5 and Publisher 1.8.5 (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

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.

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.


  • Create New...

Important Information

Please note the Annual Company Closure section in the Terms of Use. These are the Terms of Use you will be asked to agree to if you join the forum. | 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.