Jump to content
johs

Export layers to multiple files

Recommended Posts

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

 

 

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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 :)

Share this post


Link to post
Share on other sites

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 :-)

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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 by Graphix Guru
Clarification and Add'l Info

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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!

Share this post


Link to post
Share on other sites

I would also love to see this update too. This could change our workflow dramatically with what we currently have with PS CC.

Share this post


Link to post
Share on other sites

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. 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×