beblo Posted July 18, 2021 Share Posted July 18, 2021 Hello, When creating slices from the layers, is there a way to set it to have a few pixels around the images? Or do I need to make them manually? Quote Link to comment Share on other sites More sharing options...
firstdefence Posted July 18, 2021 Share Posted July 18, 2021 You could create a transparent rectangle, so no stroke or fill and group it with each image. Then in export persona select the group and create a slice. Quote iMac 27" 2019 Somona 14.3.1, 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 Link to comment Share on other sites More sharing options...
beblo Posted July 18, 2021 Author Share Posted July 18, 2021 Hey, But then it is not any less work. I will be exporting already made images to work with in another program. I am hoping for an efficient solution. Like a preset. Quote Link to comment Share on other sites More sharing options...
David in Яuislip Posted July 18, 2021 Share Posted July 18, 2021 1 hour ago, beblo said: is there a way to set it to have a few pixels around the images? Yes, use the Transform panel Quote 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 Link to comment Share on other sites More sharing options...
beblo Posted July 18, 2021 Author Share Posted July 18, 2021 thanks but again I would be editing each one manually. what I'm looking for is a preset so when I hit create slices, it would automatically give extra pixels around each of them. Quote Link to comment Share on other sites More sharing options...
Staff Dan C Posted July 19, 2021 Staff Share Posted July 19, 2021 10 hours ago, beblo said: what I'm looking for is a preset so when I hit create slices, it would automatically give extra pixels around each of them. Unfortunately I don't believe this is possible currently, my apologies. I'll move your thread to the Feedback section of our forums for our devs to see and consider adding this in a future update beblo 1 Quote Please note - I am currently out of the office for a short while whilst recovering from surgery (nothing serious!), therefore will not be available on the Forums during this time. Should you require a response from the team in a thread I have previously replied in - please Create a New Thread and our team will be sure to reply as soon as possible. Many thanks! Link to comment Share on other sites More sharing options...
David in Яuislip Posted July 19, 2021 Share Posted July 19, 2021 10 hours ago, beblo said: what I'm looking for is a preset so when I hit create slices, it would automatically give extra pixels around each of them. there's no way of adding padding but you can export the slices as generated to a folder then run a batch job with a macro Canvas+10.afmacro Dan C and beblo 2 Quote 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 Link to comment Share on other sites More sharing options...
beblo Posted July 19, 2021 Author Share Posted July 19, 2021 8 hours ago, Dan C said: Unfortunately I don't believe this is possible currently, my apologies. I'll move your thread to the Feedback section of our forums for our devs to see and consider adding this in a future update Then maybe I should point out that I'll be using that feature to use with Spine (2D animation program) Since Affinity already has a batch builder specifically for Spine. Thank you. Quote Link to comment Share on other sites More sharing options...
WaveF Posted July 20, 2021 Share Posted July 20, 2021 7 hours ago, beblo said: Then maybe I should point out that I'll be using that feature to use with Spine (2D animation program) Since Affinity already has a batch builder specifically for Spine. Thank you. You can select all elements, open 'Layer Effects' panel and add the Outline effect with any stroke width & 0% opacity, then create slices for all elements, slices will expand space around them. beblo 1 Quote Link to comment Share on other sites More sharing options...
Old Bruce Posted July 20, 2021 Share Posted July 20, 2021 20 hours ago, beblo said: Then maybe I should point out that I'll be using that feature to use with Spine (2D animation program) Since Affinity already has a batch builder specifically for Spine. Thank you. On 7/18/2021 at 1:57 PM, beblo said: Hello, When creating slices from the layers, is there a way to set it to have a few pixels around the images? Or do I need to make them manually? If you are exporting in order to animate these PNGs why do you need the extra space around them? You could add a stroke of the required number of pixels and align it to the outside (or double the number of pixels and have it centred) then set it to black colour with 0 % opacity. Should give you the needed 'padding'. beblo 1 Quote Mac Pro (Late 2013) Mac OS 12.7.4 Affinity Designer 2.4.1 | Affinity Photo 2.4.1 | Affinity Publisher 2.4.1 | Beta versions as they appear. I have never mastered color management, period, so I cannot help with that. Link to comment Share on other sites More sharing options...
beblo Posted July 21, 2021 Author Share Posted July 21, 2021 21 hours ago, Old Bruce said: If you are exporting in order to animate these PNGs why do you need the extra space around them? You could add a stroke of the required number of pixels and align it to the outside (or double the number of pixels and have it centred) then set it to black colour with 0 % opacity. Should give you the needed 'padding'. I need extra padding when I create meshes in Spine. It gives poor result without padding. But for now I will do the way you suggested. Thank you. Old Bruce 1 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.