Jump to content
fgimian

Affinity Photo: Batch resizing photos to 2x?

Recommended Posts

Hey there guys, love Affinity apps.

I'm attempting to record a macro which doubles the dimensions of my files and then applies an unsharp mask.  When using Resize Document, it appears that you can only set a fixed width and height, which results in many of my images being distorted.

I then discovered the Resize Pixel Art Document... option, but that lacks the advanced various resampling options (I usually use Bilinear) and thus the results are actually a lot worse compared side by side to using the regular Resize Document option.

Is there any way to batch resize images to a chosen factor (2x, 3x, .etc) using a Bilinear resampler in Affinity Photo?

Thanks
Fotis

Share this post


Link to post
Share on other sites

If the images are simply a mixture of portrait and landscape format but all the same size, you can use one of the macros that @John Rostron posted here. I don’t know of a way to apply a chosen scale factor to a set of images with arbitrary dimensions.


Alfred online2long.gif
Affinity Designer/Photo/Publisher 1.7.3.481 • Windows 10 Home (4th gen Core i3 CPU)
Affinity Photo for iPad 1.8.3.180 • Designer for iPad 1.8.3.2 • iPadOS 13.5.1 (iPad Air 2)

Share this post


Link to post
Share on other sites

I have only tried my macros in downsizing images. I doubt if they would work in upsizing, but I will give it a try.

John


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

Try using a batch job. (File  > New Batch Job). This allows you to specify a new width (or height). See this link here. You could also include a macro to do the sharpening.

John


Windows 10, Affinity Photo 1.8,3 Designer 1.8.3 and Publisher 1.8.3 (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
2 hours ago, John Rostron said:

I have only tried my macros in downsizing images. I doubt if they would work in upsizing, but I will give it a try.

John

No it does not work. It enlarges the image all right, but the canvas remains at the original size.

John


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

You could use "Document" -> "Resize Pixel Art Document" in a macro. But it seems to be, that this will only work with flattened images.

Edit: What works in a macro is to change the dpi, having "Resample" unchecked.

Share this post


Link to post
Share on other sites
5 hours ago, fgimian said:

Is there any way to batch resize images to a chosen factor (2x, 3x, .etc) using a Bilinear resampler in Affinity Photo?

 
 

Use File > New Batch Job to resize the images to your chosen factor (2x, 3x, etc). The same screen options will allow you to choose Bilinear as the resampler method

Add a macro to the batch job which simply contains your commands to apply an unsharp mask (i.e. don't try to resize the images in the macro)


Due to the fact that Boris Johnson is now our Prime Minister, punctuation, spelling and grammar will never be worried about ever again.  We now have far bigger problems to be worried about.

Share this post


Link to post
Share on other sites
2 hours ago, Joachim_L said:

Edit: What works in a macro is to change the dpi, having "Resample" unchecked.

If I remember correctly that has been broken since 1.7, and resampling occurs when the macro is run even if recorded with Resample unchecked.


-- Walt

Windows 10 Home, version 2004 (19041.388),
   Desktop: 16GB memory, Intel Core i7-6700K @ 4.00GHz, GeForce GTX 970
   Laptop:  8GB memory, Intel Core i7-3625QM @ 2.30GHz, Intel HD Graphics 4000 or NVIDIA GeForce GT 630M
Affinity Photo 1.8.3.641 and 1.8.4.693 Beta   / Affinity Designer 1.8.3.641 and 1.8.4.693 Beta  / Affinity Publisher 1.8.3.641 and 1.8.4.687 Beta.

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.

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

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.