Jump to content

Recommended Posts

Posted

Batch processing tiff images to jpgs (horizontal and verticle). When I include a macro that changes 300 DPI to 72 Dpi, the aspect ratio is not preserved and the horizontal images get squished.

See the screen shot of settings.

 

 

Screenshot 2024-11-29 at 1.05.04 PM.png

website

Mac mini M4  24 GB, LG 4K display, Canon 6DII, Mac 15.4.1

Posted

I don’t know much about the batch exporting functionality but if I was telling the software to export as 640x640 and my images are not ‘square’ then I would expect to get some ‘squishing’ somewhere along the line, even with Preserve Aspect Ratio switched on (I would be essentially overriding the ratio preservation).

Removing either the W or H value should get you what you want, I think.

Posted

As long as the "A" is ticked, it should set the longest side (H or W) to the setting you've chosen, and the other to the right size to maintain the correct aspect ratio.

However, AFAIK, the problem may be with the macro, which uses whatever image size you used when creating the macro. (There may be a way around this, but I don't use macros much myself.)

Acer XC-895 Core i5-10400 Hexa-core 2.90 GHz : 32GB RAM : Intel UHD Graphics 630 – Windows 11 Home - Affinity Publisher, Photo & Designer, v2
(As I am a Windows user, any answers/comments I contribute may not apply to Mac or iPad.)

Posted

I’ve just done a quick test using three images of different aspect ratios, and exported them at 300x300 and Preserve Ratio, and each came out with the same aspect ratio as they had before the export, as far as I can tell. (So my initial assumption was wrong, I think.)

So I think you might be right and the macro could be ‘messing with stuff’.

Posted

There seems to be some issue with including a dpi change (without changing the pixel dimensions) in the macro. 

website

Mac mini M4  24 GB, LG 4K display, Canon 6DII, Mac 15.4.1

Posted

This has been an issue (AF-990) for yonks but a Bot post on November 26 claims that this has been fixed in beta 2.6.0.2900 and will be incorporated into the next customer release
Until then you can use exiftool eg
exiftool -Xresolution=96 -Yresolution=96 *.jpg

Microsoft Windows 11 Home, Intel i7-1360P 2.20 GHz, 32 GB RAM, 1TB SSD, Intel Iris Xe
Affinity Photo - 24/05/20, Affinity Publisher - 06/12/20, KTM Superduke - 27/09/10

Posted
36 minutes ago, David in Яuislip said:

This has been an issue (AF-990) for yonks but a Bot post on November 26 claims that this has been fixed in beta 2.6.0.2900 and will be incorporated into the next customer release
Until then you can use exiftool eg
exiftool -Xresolution=96 -Yresolution=96 *.jpg

Ok I will wait. Meanwhile I had to complete the project "manually".

website

Mac mini M4  24 GB, LG 4K display, Canon 6DII, Mac 15.4.1

Posted

It is also possible to use one of the "change DPI" macros that have been provided in the Resources section and which were recorded in Affinity Photo 1.6, before the bug was introduced in 1.7. E.g.,  

 

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

    Laptop:  Windows 11 Pro 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
    Laptop 2: Windows 11 Pro 24H2,  16GB memory, Snapdragon(R) X Elite - X1E80100 - Qualcomm(R) Oryon(TM) 12 Core CPU 4.01 GHz, Qualcomm(R) Adreno(TM) X1-85 GPU
iPad:  iPad Pro M1, 12.9": iPadOS 18.5, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sequoia 15.5

  • 2 months later...
Posted

Here's something I found for reducing DPI in a batch job that is equivalent to reducing DPI (and only DPI) in the "Document-> Resize Document" function. I am at 2.6.0 on MacOS 15.3.1.

I have 24 MP images from a film scanner which I treat as archival photos. As I scanned them a few years ago, I rotated the portrait photos into the proper orientation so I have a mixture of untold thousands of landscape and portrait images. I convert these to 6 MP for editing and posting. The original photos are jpeg and I am saving them to jpeg in a different folder.

I simply did what was, I think, alluded to above. I do not use a macro within the batch job. I enter a math expression in the batch job's "Save as JPEG" "width" box to do this: "w/2" which then implicitly results in "h/2" for the height since aspect ratio is preserved. I've not used it extensively, but so far so good for what I need. I have not tested this with sets of images that have different MP counts. I gave myself a head-slap after figuring it out.

image.thumb.png.eeb7cc6ecbaccd7deff64dd01b2764f6.png

Posted
28 minutes ago, MLKIefer said:

I gave myself a head-slap after figuring it out.

Have a kudos for posting a well thought out simple solution.

Mac Pro (Late 2013) Mac OS 12.7.6 
Affinity Designer 2.6.0 | Affinity Photo 2.6.0 | Affinity Publisher 2.6.0 | Beta versions as they appear.

I have never mastered color management, period, so I cannot help with that.

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.