mrqwak Posted October 11, 2024 Posted October 11, 2024 Is it possible to run Affinity Photo from the command line (on a Mac)? I want to convert .afphoto files in to flat .png files; without having to open up Affinity Photo. Best option for me would be the do the conversion from the command line / terminal. Is that possible?
walt.farrell Posted October 11, 2024 Posted October 11, 2024 No, it is not possible. You can probably run Photo, but there are no command-line options to perform the conversion you want. It will perhaps become possible once Serif releases their long-awaited Scripting support, but we won't know until they someday release that work. -- 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 1: Windows 11 Pro 24H2, 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 26.0, Apple Pencil 2, Magic Keyboard Mac: 2023 M2 MacBook Air 15", 16GB memory, macOS Sequoia 15.6.1
Old Bruce Posted October 11, 2024 Posted October 11, 2024 2 hours ago, mrqwak said: ... I want to convert .afphoto files in to flat .png files; without having to open up Affinity Photo. Best option for me would be the do the conversion from the command line / terminal. ... As Walt pointed out while we cannot use the Terminal app to run Photo but what you want to do can be done with Photo's Batch process. File > New Batch Job... 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.
R C-R Posted October 11, 2024 Posted October 11, 2024 6 hours ago, mrqwak said: ... without having to open up Affinity Photo. I think that even if you could do this from the command line it would still have to run AP to do so, perhaps 'faceless' in the background. Thus, the best current option is what @Old Bruce suggested. All 3 1.10.8, & all 3 V2.6 Mac apps (currently 2.6.4); 2020 iMac 27"; 3.8GHz i7, Radeon Pro 5700, 32GB RAM; macOS 10.15.7 All 3 V2 apps for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 15.7
Recommended Posts