Henry Stahle Posted November 28, 2016 Share Posted November 28, 2016 I use Photoshop for illustration and sometimes Spine for animating my illustrations. I like to move over to Affinity. Spine is supporting different software with a script for exporting transparent PNGs from each layer. The script exports Photoshop layers as individual, cropped PNGs. It writes a JSON file that can be imported into Spine where the images will be displayed in the same positions and draw order using the name of the layers. If there was a script for Affinity I could finally move over from PS. I really like Affinity a lot better... So - is it possible making scripts for Affinity? (As I understand there is no such thing as exporting single layers from Affinity?) Quote Link to comment Share on other sites More sharing options...
Richard S. Posted November 28, 2016 Share Posted November 28, 2016 Henry,Affinity Photo Beta (1.5 rc) has macro functionality, whereby you can record your actions, so although it is not scripting per se, it offers some automation.You may want to give that a try.HTH. Quote High-End Photographic Prints Link to comment Share on other sites More sharing options...
Staff Ben Posted November 29, 2016 Staff Share Posted November 29, 2016 Or you could use the Export Persona which already has support for generating Spine JSON files and PNG files from slices. Henry Stahle 1 Quote SerifLabs team - Affinity Developer Software engineer - Photographer - Guitarist - Philosopher iMac 27" Retina 5K (Late 2015), 4.0GHz i7, AMD Radeon R9 M395 MacBook (Early 2015), 1.3GHz Core M, Intel HD 5300 iPad Pro 10.5", 256GB Link to comment Share on other sites More sharing options...
Henry Stahle Posted November 29, 2016 Author Share Posted November 29, 2016 Thank you for enlighten me on this subject! I promised myself also to read all Affinity documentation, it might help me understand some more of AP and AD... I just tested the slice export function and a JSON script, and everything worked just as it should! Here you see the picture from AD to the right and the Spine setup directly from the script import! Exellente! Thank you once more! Henry 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.