poisenbery Posted January 23, 2023 Posted January 23, 2023 I recently starting using this software when I transitioned from 3D art [blender] to 2D art. I often used the Blender API to write simple plugins that could automate repetitive tasks. I had no knowledge of python before this, but managed to learn enough to write code that did what I needed it to do. I've been having a lot of issues finding anything similar to an API for Affinity Photo 2; There are a number of things that I would like to automate, but I have no idea where to even begin writing code for this program. Also, there are a few plugins that were written for Photoshop that I would like to use for Affinity Photo 2, but they do not work at all. If I had access to resources for making plugins specifically for Affinity Photo 2, I would be able to fix these issues. Why does it seem like there are no resources for writing plugins for this program? If they do exist, where are they? Quote
firstdefence Posted January 23, 2023 Posted January 23, 2023 There is no API for Affinity and as far as I am aware, no intention to have an API available for the foreseeable future. Quote iMac 27" 2019 Sequoia 15.0 (24A335), iMac 27" Affinity Designer, Photo & Publisher V1 & V2, Adobe, Inkscape, Vectorstyler, Blender, C4D, Sketchup + more... XP-Pen Artist-22E, - iPad Pro 12.9 (Please refrain from licking the screen while using this forum) Affinity Help - Affinity Desktop Tutorials - Feedback - FAQ - most asked questions
poisenbery Posted January 23, 2023 Author Posted January 23, 2023 So...they support 3rd party plugins, but don't offer any support for that support? Is there a reason? Quote
walt.farrell Posted January 23, 2023 Posted January 23, 2023 35 minutes ago, poisenbery said: but don't offer any support for that support? The third-party plugins are Photoshop plugins, written to the Photoshop specification for image plugins, and probably a rather old version of that specification (probably 2015-2016 timeframe). Consult that documentation and you are on the same footing as the creators of the other plugins that work in Affinity Photo today. You could also look at the G'Mic plugin, which is open source, for a working example (for Windows, at least). Quote -- 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.3.1, Apple Pencil 2, Magic Keyboard Mac: 2023 M2 MacBook Air 15", 16GB memory, macOS Sequoia 15.0.1
poisenbery Posted January 24, 2023 Author Posted January 24, 2023 (edited) 1 hour ago, walt.farrell said: (probably 2015-2016 timeframe) I'm trying to get the new Stable Diffusion Photoshop plugins to work at all in Affinity Photo 2. They're very new, and do not load or even appear in the plugins section. I was experimenting with some very old photoshop plugins I found online, and they're in a 8bf format and it seems to get recognized by the plugin loader. So does this mean that new photoshop plugins are not compatible with affinity photo 2? I've been having no luck with the .ccx files. The plugin manager doesn't recognize them and extracting to their own folder doesn't seem to work either. Edited January 24, 2023 by poisenbery Quote
v_kyr Posted January 24, 2023 Posted January 24, 2023 1 hour ago, poisenbery said: I was experimenting with some very old photoshop plugins I found online, and they're in a 8bf format and it seems to get recognized by the plugin loader. That's the usual way to go for APh, aka using the much older PS C++ API. https://sonictk.github.io/ps_cpp_recipes/ 1 hour ago, poisenbery said: So does this mean that new photoshop plugins are not compatible with affinity photo 2? Yes, that does it mean! - No UXP Plugin API support, just the old C++ API here (...and not all of it, just a subset). 1 hour ago, poisenbery said: I've been having no luck with the .ccx files. The plugin manager doesn't recognize them and extracting to their own folder doesn't seem to work either. The "UXP Plugin API" is too modern and not supported by APh. Quote ☛ Affinity Designer 1.10.8 ◆ Affinity Photo 1.10.8 ◆ Affinity Publisher 1.10.8 ◆ OSX El Capitan ☛ Affinity V2.3 apps ◆ MacOS Sonoma 14.2 ◆ iPad OS 17.2
poisenbery Posted January 24, 2023 Author Posted January 24, 2023 2 hours ago, v_kyr said: The "UXP Plugin API" is too modern and not supported by APh. You just saved me a lot of time because I was about to start learning this. Thanks for the responses. I think I know what to do now. Quote
Toddster Posted August 12, 2023 Posted August 12, 2023 On 1/23/2023 at 8:42 PM, poisenbery said: You just saved me a lot of time because I was about to start learning this. Thanks for the responses. I think I know what to do now. Wondering what you concluded? Quote
Recommended Posts
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.