johs Posted March 11, 2015 Share Posted March 11, 2015 Hi Affinity Team Would it be possible to add functionality to export all the layers from a document to separate files? (especially in Affinity Photo) We often get multilayer .psd's from our clients containing a bunch of supers and splashes that we need to animate on TVC's, and we always need to export each layer out as a separate image file. In PS there is a "script" called "Export layers to files" but it is quite limited regarding file formats and saving options. So I request the addition of a "Export layers to separate files" check box in the export dialog for all formats. And regarding the naming of the outputted files then it could be just as simple as "documentName_layerName.ext". Good work so far, I'm really looking forward for the official release of Affinity Photo Cheers /johs mackleys 1 Quote Link to comment Share on other sites More sharing options...
Staff MattP Posted March 11, 2015 Staff Share Posted March 11, 2015 Hi johs, Just go to the Export Persona, change to the 'Layers' panel and select all the layers in there and click 'Create Slice' and then go to the 'Slices' panel. Notice that you have now create an exportable slice for each layer. You can select each one and choose its export format and properties. Now you can either select 'Export all' or just click each one to export it individually :) Hopefully that's what you're after? :) Matt herrpedro, 3darkman, Chris Heath and 5 others 6 2 Quote Link to comment Share on other sites More sharing options...
johs Posted March 11, 2015 Author Share Posted March 11, 2015 Hi Matt Thanks for your reply. I hadn't thought about doing it that way. It takes some clicks to set it up, but when it is done it is quite fast. And the export itself are like 100 - 1000 times faster than PS!!!!! I like that it is possible to change format and options for each slice, but also possible to change all at once by selecting them all, nice work. The only problem is that the layers/slices are trimmed. Often the supers are placed correctly in the frame as the agency wants it when we get it, so it would be nice to be able to export it untrimmed so we can keep the original placement. Is that possible already? And would it be possible to prefix all the filenames with the document name or a custom string? cheers /johs irene_ns 1 Quote Link to comment Share on other sites More sharing options...
Staff MattP Posted March 11, 2015 Staff Share Posted March 11, 2015 Ah... I knew there'd be a catch! ;) At the moment, I don't think it can export untrimmed - I'll add this to the list of sensible suggestions to implement! Also, power fields in the slice name (that expand to document name, for example) would be very cool, so I'll add that to the list too! Sorry that there's no workaround there in the meantime though :( Thanks, Matt irene_ns 1 Quote Link to comment Share on other sites More sharing options...
johs Posted March 11, 2015 Author Share Posted March 11, 2015 Hi Matt Cool! The naming is nice to have but no showstopper. -And I can work with either regular export or the trimmed one at the moment, luckily we aren't to busy right now;) Thanks for your help and for adding the request to the sensible suggestions list :) cheers /johs MattP 1 Quote Link to comment Share on other sites More sharing options...
thiagodebastos Posted March 15, 2015 Share Posted March 15, 2015 Heya! Is there a way to define export sizes? Eg I want to export a logo at different sizes. I know there is a 1x, 2x, 3x option, but quite often I design logos much larger than what I export them as. I'm new to this and am probably thinking of it in the wrong way :) UPDATE: I see that this has already been requested :) Quote Link to comment Share on other sites More sharing options...
ebergmundur Posted August 16, 2015 Share Posted August 16, 2015 Hi The size of slices issue can be worked around with a rectangle with no fill and no stroke. But it could be handy to be able to export sets of layers with same size and even a common set of layers. Like when making icons for devices with a common frame but various images taking name from the image layer. Great tool getting better :-) CTKJOSE 1 Quote Link to comment Share on other sites More sharing options...
maxaffinity Posted October 8, 2015 Share Posted October 8, 2015 In affinity Designer I find the ability to export layers from the Export Persona a great feature but when trying to export layers with objects that go beyond the canvas slices take that into consideration and result in different proportions. It would be really helpful to have and option to limit the size of the created layer slices to the size of the canvas/artboard. I've tried to make a rectangle the size I want in the layer but the slice, when exported, shows the triangle and not the whole content of the layer. Great tool! And happy birthday to Affinity Designer! Max Quote Link to comment Share on other sites More sharing options...
F_Kal Posted February 19, 2017 Share Posted February 19, 2017 Any news regarding the "export untrimmed" feature? I was hoping to find it today, but I couldn't! Did I miss it somewhere? Cheers! Quote Link to comment Share on other sites More sharing options...
Mann Artt Posted December 2, 2017 Share Posted December 2, 2017 (edited) I for one really need this production capability! To be clear, what I need (and I'm sure others are in the same boat) is the ability to specify a "base layer" or layers (like a background pattern, logo, watermark, etc.) beneath/above which other layers are to be added, either individually or in groups, and then exported as fully composed individual files. For example, I'm doing a t-shirt design on multiple colors of shirts. The final, composed files for each color of shirt will all have the same drop shadow, background, logo, text, etc.If there were a way to batch process export, it would be an enormous time, sanity and maybe life saver! The document might look something like: Layer 1: Logo Layer 2: Main t-shirt graphic Layers 3-15 (maybe in a set): Shirts of the same geometry (size and shape), but of different colors. Layer 16: Shirt drop shadow Layer 17: Contact/copyright info Layer 18: Background Of course, I can save off each composed piece of art (featuring a different colored t-shirt) separately, but this is time consuming and tedious, particularly when working with dozens of t-shirt designs! Computers are supposed to make repetitive tasks easy, right? If this could be done with a SIMPLE, easy to use interface, so much the better. I'm thinking there might be a toggle to "lock" all layers/groups which remain the same, and then another which is is labeled something like: "rotate thru images on save". You then go to Export and voila -- you've now got separate, composed, final files for the different t-shirt colors! Anyway, I love Affinity Photo, but when it comes to stuff like this, it's looking like I'm going to have to back to Photoshop (and it's dread scripting ability). Unless you can tell me otherwise, of course! Thanks. FOLLOWUP: After MANY HOURS of trying various software and searching, I found one app on Mac that does the job quickly and easily, if simplistically. You can load in a background, bulk upload a set of pics to be overlayed (in my case, .png files of t-shirts), and then batch output to a folder. It's NCH's Pixillion. FYI. It's even got a free trial. I still hope Affinity can come up with a more robust method of doing this. :-) Edited December 2, 2017 by Graphix Guru Clarification and Add'l Info Quote Link to comment Share on other sites More sharing options...
Nic727 Posted June 17, 2018 Share Posted June 17, 2018 I think it's a bit complicated since you still have to click on each slide to export them separately. Would like to see the options in the dialogue box saying what we want to export: - Whole document - Layer 1 - Layer 2 - Layer 3 - etc. Quote Link to comment Share on other sites More sharing options...
TooManyDemons Posted June 5, 2019 Share Posted June 5, 2019 It looks like Photo still can't do this? I will have to download GIMP to get this functionality for now. What a bummer. I'm preparing alphas for use as texturing tools. there are about 600 of various sizes and I need them all to be exactly 2048 x 2048 to work well in texturing software. So I need to import them so that they all line up perfectly in the center of the document, and then export all layers individually. I thought the batch job tool would do this, but apparently not. Quote Link to comment Share on other sites More sharing options...
irene_ns Posted June 6, 2019 Share Posted June 6, 2019 Export layers maintaining the document size and its position in it is a must for matte painters to be able to re-comp them into nuke. Keep us posted if there is updates! Thank you! Quote Link to comment Share on other sites More sharing options...
Mercury53 Posted June 17, 2019 Share Posted June 17, 2019 I would also love to see this update too. This could change our workflow dramatically with what we currently have with PS CC. Quote Link to comment Share on other sites More sharing options...
sbat Posted July 25, 2019 Share Posted July 25, 2019 Let me also vote for this feature. I hope to easily export each layer as PNG. Then my game dev tool can pack these as spritesheet (trimming the alpha, but maintaining relative position). In case it helps anyone, let me share my workaround: - Save the art to SVG from Affinity Designer. - Call Inkscape (free/open source) command line to export individual symbol from SVG. inkscape "sourceFile.svg" -i symbolName -j -C -e "layer1.png" --without-gui. Quick explanation: "-i" - only export specific symbol, "-j" - only export symbol (all other content is hidden), "-C" - export entire page. Quote Link to comment Share on other sites More sharing options...
Tiana Posted November 11, 2019 Share Posted November 11, 2019 I need the exported layer to remain a specific size for its final use, and by the time I've gone and fussed with positioning a slice, I might as well have just saved the layer by turning everything else off and on again. It would work better for me if I could set the dimensions of a slice, or make it snap to the edges instead of overshooting into the artboard and having to be dragged back into place. However, having to size the slice rather than setting its dimensions pre-click means it's too labour intensive compared to the Photoshop alternative (not that it's worth it to me, I just use Tinytask to record a macro of the clicks and keyboard shortcuts I use so I only have to hit one button to do a few moves). It's useful to know about the slices option but count this as another vote for the feature to export all layers as pngs with a different name, at a specific set size. It is a feature I would use if it were added. KM4 1 Quote Link to comment Share on other sites More sharing options...
Santolino Posted March 22, 2020 Share Posted March 22, 2020 Hi i need defenatly the function to export layers to png with the size of the canvas..so positioning is still right..in illustrator i have a simple script for that.. but i want to switch completly..pls...pls..thnaks 🙂 KM4 1 Quote Link to comment Share on other sites More sharing options...
mackleys Posted April 12, 2020 Share Posted April 12, 2020 This would be handy for me too (esp to create files for each screen/color for screen printing) Yadira Sheffield 1 Quote Link to comment Share on other sites More sharing options...
carl123 Posted April 12, 2020 Share Posted April 12, 2020 If your document layers are pixel layers with 100% opacity you could try this 1. In the Layers panel select all pixel layers that will be trimmed in the Export Persona, then Edit > Matte (Opacity 1%) The Matte is applied to all selected layers at once hence no need to do them separately Now when you export the slices in the Export Perona they will all be at the full canvas size - if you export to PNG format they will all have a transparent background (well almost transparent) Since the Matte we applied was 1% there will still be a faint colour applied to the background of the exported PNG files which is invisible to the naked eye but if that will still be a problem in whatever process you do next with the files, you could try this... 2. Open one of the exported PNG files then... Select > Alpha Range > Select Partially transparent (which should select all the background Matte) Then hit the Delete key - which should make the transparent background truly transparent. You should be able to create a Macro for all the steps in stage 2 and run that via File > New Batch Job to process all the PNG files at once. I doubt the above will solve every requirement for this feature but it may help in some of them Quote To save time I am currently using an automated AI to reply to some posts on this forum. If any of "my" posts are wrong or appear to be total b*ll*cks they are the ones generated by the AI. If correct they were probably mine. I apologise for any mistakes made by my AI - I'm sure it will improve with time. Link to comment Share on other sites More sharing options...
gga Posted April 22, 2020 Share Posted April 22, 2020 This feature is definitely missed in Affinity Designer, another vote from me. When creating slices from layers, having the option of setting the slice dimension from the canvas dimension would be a great addition to the software. Quote Link to comment Share on other sites More sharing options...
akldjf Posted May 28, 2020 Share Posted May 28, 2020 Quote If your document layers are pixel layers with 100% opacity you could try this 1. In the Layers panel select all pixel layers that will be trimmed in the Export Persona, then Edit > Matte (Opacity 1%) The Matte is applied to all selected layers at once hence no need to do them separately Now when you export the slices in the Export Perona they will all be at the full canvas size - if you export to PNG format they will all have a transparent background (well almost transparent) Since the Matte we applied was 1% there will still be a faint colour applied to the background of the exported PNG files which is invisible to the naked eye but if that will still be a problem in whatever process you do next with the files, you could try this... 2. Open one of the exported PNG files then... Select > Alpha Range > Select Partially transparent (which should select all the background Matte) Then hit the Delete key - which should make the transparent background truly transparent. You should be able to create a Macro for all the steps in stage 2 and run that via File > New Batch Job to process all the PNG files at once. I found a workaround that is a little bit easier (for us at least :) ) than the suggested approach above. Create a layer with 0 % opacity covering the whole canvas. Duplicate as many times as the layers you want to export Now, group one canvas sized transparent layer with each desired original layer to export Switch to Export Persona and create slices from your new groups Export Voilá Quote Link to comment Share on other sites More sharing options...
akldjf Posted May 29, 2020 Share Posted May 29, 2020 19 hours ago, akldjf said: I found a workaround that is a little bit easier (for us at least ) than the suggested approach above. Create a layer with 0 % opacity covering the whole canvas. Duplicate as many times as the layers you want to export Now, group one canvas sized transparent layer with each desired original layer to export Switch to Export Persona and create slices from your new groups Export Voilá Is it possible to improve this approach further ? I'm thinking symbols, etc. Quote Link to comment Share on other sites More sharing options...
smoke Posted June 23, 2020 Share Posted June 23, 2020 On 5/29/2020 at 7:33 AM, akldjf said: Is it possible to improve this approach further ? I'm thinking symbols, etc. I couldn't get your approach to work for me -- my layers are individual images which frequently bleed outside the canvas margins, and despite the mention of "trimmed" results above I find Export All Slices seems to export at a variety of pixel dimensions larger than the 0% opacity "canvas sized" pixel layer I group to each slice. In other words, the grouped transparent layer pushes the margins out to the edge of the canvas, but if the layer content already extends beyond the canvas, I can't get it to trim to the canvas. +1 vote for Export All Layers in Affinity Photo, creating a series of canvas-sized export files each preserving the relative positioning of the layer within (otherwise transparent) canvas-sized images. This would be useful for all sorts of mock-up and presentation work. Quote Link to comment Share on other sites More sharing options...
Zculptor Posted December 3, 2020 Share Posted December 3, 2020 Hi there, First post and on top not very constructive - I LOVE Affinity Photo but honestly can we still not export layers to files like in Photoshop without the most cumbersome slice approach? Is there any way to do it? Thanks for listening to my whining Mann Artt 1 Quote Link to comment Share on other sites More sharing options...
dtmp Posted April 7, 2021 Share Posted April 7, 2021 On 12/3/2020 at 4:23 PM, Zculptor said: Hi there, First post and on top not very constructive - I LOVE Affinity Photo but honestly can we still not export layers to files like in Photoshop without the most cumbersome slice approach? Is there any way to do it? Thanks for listening to my whining I've just upgraded my Mac, I was using CS4 for crying out loud. I think it is reasonable that this simple request would be solved in six years of development. That's not whining. CTKJOSE 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.