Jump to content
You must now use your email address to sign in [click for more info] ×

Recommended Posts

Hi!
 
Is it possible to automatically adjust the size of the slice to the same size as the document?
I have several layers and all of them I need to save as separate files with different file formats (some as PNG, some as JPEG, etc.).
 
I need a little bit of support on this case from Affinity Photo community. ;)

 

Thanks in advance for help! :)
Link to comment
Share on other sites

  • Staff

Hi pstpn,

 

Welcome to the forum.

 

There is no automatic way to adjust the size of the slice, as long as you slice selection is from it's own layer you can manually stretch the slice to the size of the background and then set the required output format in the export setting and with the slice selected click on the export selected to save.

 

Regards,

Darren

Link to comment
Share on other sites

  • 2 years later...

Lame.  I've got 60 layers to output and NEED them to all be the same size ... the size of the document.  By creating slices first, the size is constrained to the size of the graphic, not the size of the document.  Manually resizing 60 slices before exporting them is MORE WORK than exporting each layer individually.  LAME!

Link to comment
Share on other sites

Export all slices to a folder

Run File > New Batch job on the folder files and resize them during the batch job

Will that work for what you want?

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

  • 3 months later...

I've got exactly the same issue, 30 odd logo's placed and sized on a canvas. Thought I'd just be able to create slices and have something like the 'Trim transparent pixels' option in Sketch. No dice, and now pain in the ass. Sketch isn't even billed as an image manipulation program but understands the value of this option when export assets. Resizing after the fact won't work as I need the additional white space created to preserve positioning and size, that was the whole point of the exercise.

Link to comment
Share on other sites

An example of what you currently have and what final result you want might help with any possible solution

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

  • 2 months later...

I think I have the exact same problem. I want to cut out (multiple) parts from a photograf and put them on seperate layers. Then I want to export all images with the same image dimensions, that I can put them on top of each other ( without manually setting any transformations). Ultimately, they are displayed on top of each other and the user can manually turn single layers off.

This example shall illustrate the problem:

Source Image(1)

Background.png.563d6b75db7104eb8134ba702c7df80f.png 

The source image is split up in two images: Background(2) and Flower(3).

Background (2)

NoFlower.png.2f00aba2fbb172d1e4af19bb7eff3a5e.png

Flower (3)

Flower.png.575dd85565449f639f1e68cc68e22ef9.png

 So that wenn I put 3 on top of 2 for example in a browser i get  again 1:

Background.png.563d6b75db7104eb8134ba702c7df80f.png

 

What is my current status?

My current workflow is to create the layers 1,2 and 3. Then I go to the export persona, select all desired layers and click "Create Slices".

Problem: The slices match the outlines of the layer, meaning that the exported flower image has a different dimension than the background, which would require another manual matching step, which is not acceptable for my workflow.

Workaround:

Writing this post I found a workaround by manually changing the size of the slice to the documents size.

Problem:

This must be manually done for every slice.

 

Question

Is there an option to...

a) ... export all layers to images using the artboard size?

b) ...create slices for all layer that automatically have artboard size?

c) ... export slices using the artboard's size?

 

 

Thank you in advance.

Best regards, 

ukmasmu

 

Link to comment
Share on other sites

  • 8 months later...
  • 2 months later...

I would also like to chime in on this topic. 

My application is that I want to create a time lapse video from hand-held photographs. Specifically, I want to show how various plants in my garden are growing over the spring - especially hops which grow rapidly up a steel cable. 

To do this I need to align each photo so they are at least roughly showing the same perspective. Affinity photo do this very well and shows the images as a stack of layers within the Photo persona. 

I can then export each individual layer, by switching on each layer individually and going file > export. Each image is the right size, and I can import into Premiere to make a video. 

But this is already quite time consuming - and eventually I hope to have hundreds of images per time lapse. This will be a project lasting several months!

If I go to the Export persona, I can have each layer as a slice, and I can export all the slices at once, in multiple formats. And each one will be not quite right, not quite the right size, and will result in a much more jerky time lapse than individual exporting. 

Photoshop suffers from exactly the same issue. 

I am not very skilled in either Affinity Photo or Photoshop, but I would have thought that being to export multiple layers with the same canvas size simultaneously would be a fairly common need, and also easily developed? Especially given the comments of UI designers on this thread. 

 

Link to comment
Share on other sites

See if this helps

 

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

  • 1 year later...

+1 for this, it would be extremely handy to have a button that would set that slice dimensions to match the canvas/document. I'm exporting product shots, there are about 40 dog collars that all need to be the same final dimensions, but they take up different dimensions within the document. I have to manually drag the boundaries of every slice to make this happen.

Link to comment
Share on other sites

  • 5 months later...

I had the same problem and found that the auto-generated slice was not accurate with the layer if my canvas position was not in the exact pixel (i.e. it had a 0.x value).

So I pixel-aligned all the layers and re-created the slices and they were created the way I wanted them to.

I don't think this is the best solution, but I hope this helps.

Link to comment
Share on other sites

  • 7 months later...

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.