Jump to content

Recommended Posts

Posted

Hi everyone,

 

Just bought Affinity and love it. Sorry to ask what might be a dumb question but I searched and couldn't find a clear answer on any of the other forum threads. 

 

Is there currently an option to trim away transparent areas in Affinity? In Photoshop, for example there is an option under the Image menu for Trim... > Transparent Pixels. Is there anything similar in Affinity?

 

Thanks for any help, and well done to Serif for an outstanding product.  :)

  • Staff
Posted

Welcome to the forums,

 

We do have an option to remove unwanted canvas areas, from the Document menu, select Clip Canvas.

Posted

Ah - I see. At least I'm not going mad!

 

Are there any plans to add this function to future updates of Designer? I've found myself looking for it regularly in my work and would be really useful.

Posted

I really could use a Trim command as well. Especially in web design, where you want the smallest image possible to, say, blend into a background of the same colour.

  • Staff
Posted

Hi DrPocter,

For web design you can use the Export Persona to achieve the same result and even automate the process a little. Export Persona allows you to create a slice (with the size) of the objects from a single layer (or single object or group). If you keep all icons/images/assets organised by layers this should speed up assets export considerably. You can also enable Continuous (Export) from the bottom of the Slice panel to automatically update all the assets in a specific folder every time you perform a change to one of the objects.

Posted

Hi MEB - 

 

Thanks for the reply, but I'm still having a little trouble with this:

 

1. When I enter the Export persona and select the Slice I want to export, I change the Export Options at the top from 'JPEG' to 'PNG' to preserve transparency. However, the file being exported remains a JPEG. Am I doing something wrong or could this be a bug?

 

2. Similarly, I think a 'Trim' option would be useful anyway so that I could take away transparent areas and then enlarge the output to a specific size (say, 800px wide). Having a slice do this automatically means the final PNG file is an unknown pixel size. Is there anywhere to make feature requests for future updates?

  • Staff
Posted

A lot of bugs were fixed since the last Mac App Store update, some related with the Export Persona. If you want to give it a try, you can get it from here (usually pinned at top).

Just remember to keep the MAS version installed (so you can run the Beta without time restrictions) and that files created or saved with the Beta cannot be opened in the Mac App Store version until the next update ( the file format is more advanced in the beta and not compatible with the current MAS version).

 

If you prefer you can wait for the next Mac App Store update which should be available (if everything goes well) in a couple weeks.

 

Yes, we have a section for feature requests here.

Posted

Hi Meb,

 

Thanks for your reply and for your tips.

 

As a matter of fact I already use slices to export assets for web design projects (and they are great).

 

But I still have the problem (not limited to web design) where I want to remove the superfluous, repeating pixels on the edges of an image. As the (or maybe just my?) artwork often blends into a background, it's not always easy to see where that boundary is. But it would be easy for an algorithm.

 

I don't need an elaborate dialog à la Photoshop either. Just a command that trims repeating lines of the same colour (or transparency, but that already exists if I understand correctly) at the four edges of an image.

  • 3 months later...
  • 3 weeks later...
  • 4 months later...
Posted

Hmmm. The Clip Canvas in photo doesn't work the same as "trim" in photoshop. It just makes the image smaller, but creates more white space above--for me, at least. Is there a way to customize that? 

  • Staff
Posted

Hi soulstatic,

Welcome to Affinity Forums :)

Yes, it doesn't work exactly like Photoshop.

If it's adding space it's probably because you have some objects/layers crossing the canvas. Basically it's removing the transparent areas where there's no content and adding space to encompass content that extends beyond the document boundaries. To avoid the added space right-click the layer(s) that's crossing the canvas and select Rasterise... to get rid of the content that lays outside the canvas. Then apply the Clip Canvas command again.

Posted

Adding my two cents here too (probably because Photoshop's "trim" function was integrated in my workflow).

I find it super useful to remove the most "top-left" (pixel) color all-around even if it's not transparent. A big plus would be to add the ability to remove it only from given sides… 

I'm missing this function since my jump to Affinity Photo.

  • 2 months later...
Posted

+1. Stop trying to impose us your workflow please.

 

We are the designers, we know our workflow. The workflow that the devs at affinity are trying to force us to do doesn't make any sense.

 

Thanks

  • 2 years later...
  • 4 months later...
  • 1 month later...
Posted

Hello,

Need to warm the thread up again: have lots of psd files with masked background, in PS its trims by transparency, ie to the rim of visible object,

Still trying to switch to APhoto but CLIP CANVAS does not do the job in such case. How could I trim/crop transparent/masked surrounding of the object /need to define an action for this because these are hundreds of such files/...

cheers,

AF Photo+Designer+Publisher and their betas on Win10 x64/Gtx760+AmdFX+24GB RAM

 

Posted

@Zbigg

You should upload a sample file or two if you want help with this

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.

Posted

 

45 minutes ago, Zbigg said:

Hello,

Need to warm the thread up again: have lots of psd files with masked background, in PS its trims by transparency, ie to the rim of visible object,

Still trying to switch to APhoto but CLIP CANVAS does not do the job in such case. How could I trim/crop transparent/masked surrounding of the object /need to define an action for this because these are hundreds of such files/...

In normal ‘document’ mode, Affinity Designer works like a page layout program, such as Quark or Word for that matter. You set a page size, apply bleed, then place objects on the page. Neither Quark, Word or Designer (or any such program as far as I know) trims a page to an image placed on it?

That’s why there are canvas based programs like Photoshop or Photo, which are based around an image and make that job easy.

The choices are to use Photo (which is designed for that purpose) or use Designer’s artboard feature which does allow you to trim to a canvas (or artboard).

Photo does not ‘clip’ if there is a layer that extends outside the masked area, hidden or not. Could that be your problem?

Windows PCs. Photo and Designer, latest non-beta versions.

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.