Goliath Posted December 13, 2022 Share Posted December 13, 2022 The one thing that's keeping us from completely migrating to Affinity Photo are Photoshop paths. We have over a thousand layered tiff files with paths on them. I haven't been able to figure out a way to do a batch convert of these paths into something that Photo 2 could use. Is there anything I'm missing? I understand the paths have to be converted to Shape vectors in order to be imported into Photo. Is there any other solution to this? TIA Quote Link to comment Share on other sites More sharing options...
loukash Posted December 13, 2022 Share Posted December 13, 2022 Don't know about batch converting, and don't know about the CC versions, but it's possible via Illustrator. Using PS CS5.5 and AI CS5: in PS: File > Export > Paths To Illustrator in AI: open with settings so that it has the same artboard size as the PS image in AI: give the paths a stroke, whatever, like 0.25 pt, doesn't matter, but they need a width, otherwise the AI PDF stream may apparently ignore them save as AI document with PDF stream open the converted AI document in Photo, do not place it, you want the PDF vectors to be editable drag & drop or place the TIF/PSD image onto the Photo canvas and align it with the already opened curve artboard; note that AI may have saved the doc with non-integer pixels, so make sure ppi and integer pixel values match all the way through for best alignment save as afphoto That test scenario has worked for me right now. Actually that's in Affinity 1, I'm not even at my v2 installation right now. The Adobe part of the conversion can likely be scripted, as both PS & AI are highly scriptable. The Affinity part can be only partially scripted: Place Image appears to be recordable by macros. On Mac, it's also possible to do a couple things via UI scripting, especially executing all main menu commands is fairly easy. (Speaking of which: it's not that PS and AI themselves can actually meaningfully interact a lot, haha. I've always found those Adobe inter-app "workflows" a major p.i.t.a.) Quote MacBookAir 15": MacOS Ventura > Affinity v1, v2, v2 beta // MacBookPro 15" mid-2012: MacOS El Capitan > Affinity v1 / MacOS Catalina > Affinity v1, v2, v2 beta // iPad 8th: iPadOS 16 > Affinity v2 Link to comment Share on other sites More sharing options...
R C-R Posted December 14, 2022 Share Posted December 14, 2022 50 minutes ago, loukash said: The Affinity part can be only partially scripted: Place Image appears to be recordable by macros. For me on my Mac, Place Image in a macro works fine in V1 but I get an error message in V2 saying it can't be done. I think it is probably a bug..... Quote All 3 1.10.8, & all 3 V2.5.5 Mac apps; 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 Link to comment Share on other sites More sharing options...
loukash Posted December 14, 2022 Share Posted December 14, 2022 I was actually just thinking that placing images can be likely done completely via UI scripting. So for example as long as the converted AI doc and the TIFF image file names are kept identical, you could use AppleScript variables and first open, then place them via the MacOS "Open" dialogs. For me as a "hobby scripter" it might likely take quite a few hours to figure it out, but if you have thousands of files to convert, then it still will be a timesaver. In any case, I have done things like this in other apps before. Quote MacBookAir 15": MacOS Ventura > Affinity v1, v2, v2 beta // MacBookPro 15" mid-2012: MacOS El Capitan > Affinity v1 / MacOS Catalina > Affinity v1, v2, v2 beta // iPad 8th: iPadOS 16 > Affinity v2 Link to comment Share on other sites More sharing options...
lacerto Posted December 14, 2022 Share Posted December 14, 2022 Obsolete. Quote Link to comment Share on other sites More sharing options...
loukash Posted December 14, 2022 Share Posted December 14, 2022 1 hour ago, lacerto said: I am not sure if Adobe object models are somehow crippled on macOS and AppleScript Doesn't look "crippled" to me in AppleScript: 1 hour ago, lacerto said: but I think the complete object models are available also for Javascript. Yep: But what I meant by "meaningfully interact" and "Adobe inter-app 'workflows'" is the lack of seamless interoperability between the respective applications and their formats, without workarounds like "export" and scripting. Unlike Affinity, as we well know, with its "de-facto-single-app" and "de-facto-single-document-format" interoperability workflow, aka StudioLink, aka "File > Edit In…". Anyway, that's off topic. Quote MacBookAir 15": MacOS Ventura > Affinity v1, v2, v2 beta // MacBookPro 15" mid-2012: MacOS El Capitan > Affinity v1 / MacOS Catalina > Affinity v1, v2, v2 beta // iPad 8th: iPadOS 16 > Affinity v2 Link to comment Share on other sites More sharing options...
lacerto Posted December 14, 2022 Share Posted December 14, 2022 Obsolete. Quote Link to comment Share on other sites More sharing options...
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.