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

Unintended resample while batch processing


RM f/g

Recommended Posts

If not a bug, then unexpected behaviour.

 

What I wanted to do: use batch process to change only the resolution of images, not their size in pixels.

 

What I did:

Opened image.

Recorded macro:

– Opened ‘Resize Document’ (from Menu > Document);

– set DPI: (from 72) to 300;

– unchecked ‘Resample’

– clicked ‘Resize’ button

Ended recording, saved macro.

 

When batch processing files using this macro, all processed files were resampled to the pixel size (at 300 ppi) of the original image, the image open when recording this macro.

This resampling happened without maintaining the aspect ratio. The original image was a square image, rectangular images were resampled to square images.

 

Ended changing the resolution of 215 images one by one.

 

Macbook Pro mid 2015, 16 GB, double barrel: MacOS Mojave + Affinity 1 (+ Adobe’s CS6)/ MacOS Monterey + Affinity 2

Link to comment
Share on other sites

Macros recorded in Affinity Photo 1.7 or later cannot change the resolution of an image without resampling, due to a bug introduced in 1.7 that hasn't been fixed yet.

Rather than recording your own, try using the macros below, which will work as they were recorded by John Rostron using 1.6:

 

-- Walt
Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases
PC:
    Desktop:  Windows 11 Pro, version 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 

    Laptop:  Windows 11 Pro, version 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
iPad:  iPad Pro M1, 12.9": iPadOS 17.4.1, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.4.1

Link to comment
Share on other sites

Thanks, Walt. Where would we be without you – and John Rostron?

Downloaded John’s macros and tried them. They work as expected, but only if document units are set to pixels.

So I tried a new macro: set unit to pixels – run John’s macro – set units to millimeters.

Happy to see we can use a macro wihtin another macro.

Macbook Pro mid 2015, 16 GB, double barrel: MacOS Mojave + Affinity 1 (+ Adobe’s CS6)/ MacOS Monterey + Affinity 2

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.