Jump to content

Recommended Posts

Posted

Hi, I searched a lot on the internet but could not find a solution.

 

I created a document with multiple layers. Each layer contains an imported image of a specific size, let's say 512x512 pixels. The Affinity Photo 2 document with the layers has the size of 1080 x 1920 pixels. And I'm upscaling the imported pixels to fit the height of the document. I adjust the horizontal position to place the relevant content into it's center.

Now I switch to Export Persona, convert each layer into a slice and hit export all. These exported images have not the desired height of 1920 pixels but their widths is still very wide, with white pixels placed outside the visible area.

Of course I could go to each slice, and adjust the size of the slice with the mouse to fit the borders of the documents. This is cumbersome and prone for errors. Is there a way to automatically create slices of 1080x1920 pixels of size per layer?

Thank you! 

 

image.jpeg

15_COR_T2_STIR_5.jpg

Posted

Probably rasterize and trim all layers will do the trick.

Mac mini M1 A2348 | MBP M3 

Windows 11 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080

LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5 | Dell 27“ 4K

iPad Air Gen 5 (2022) A2589

Special interest into procedural texture filter, edit alpha channel, RGB/16 and RGB/32 color formats, stacking, finding root causes for misbehaving files, finding creative solutions for unsolvable tasks, finding bugs in Apps.

I use iPad screenshots and videos even in the Desktop section of the forum when I expect no relevant difference.

 

Posted

SliceDemo.afphotoI've tried to replicate what I think you've described and it seems OK to me - I get the 512 layer scaed to 1080x1080 as expected.

image.png.b43c25282524c749a86a7516be43d1e5.png

Attaching a demo here might help.

 

(Ah;  I was testing this while you posted!  Glad that solves it.  The only downside is that if the smaller images were linked,m rather than embedded, then rasterizing them will remove that link and make your new file larger.  That may not be problem for your use case though.)

Posted

Thank you for providing the demo. I'm afraid it did not capture my problem.

I attach my file. Slicer Problem.afphoto

As you see, the imported layers are enlarged and overlap the canvas. I would like to get a method that snaps the slices to the borders of the canvas. Borders of the layers should be ignored. To manually adjust the borders of the slices I would need to drag at least two corners of each slice until it snaps to the respective corner of the canvas.

Also, screenshot attached. 

Screenshot2024-12-08at16_50_18.thumb.png.d83f11d780ec690f8129917349a8e33e.png

On 12/7/2024 at 11:01 AM, DuncanL said:

SliceDemo.afphotoI've tried to replicate what I think you've described and it seems OK to me - I get the 512 layer scaed to 1080x1080 as expected.

image.png.b43c25282524c749a86a7516be43d1e5.png

Attaching a demo here might help.

 

(Ah;  I was testing this while you posted!  Glad that solves it.  The only downside is that if the smaller images were linked,m rather than embedded, then rasterizing them will remove that link and make your new file larger.  That may not be problem for your use case though.)

 

 

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.