JeffreyWalther Posted August 1, 2019 Share Posted August 1, 2019 Hi, I have a bunch of pictures with a lot of white space around the object. Is there a way to auto crop/trim the canvas? It is quite tedious to set the edges by hand with the Crop Tool. Quote Affinity Photo/Designer/Publisher V2 Windows 10 Pro, 64 GB RAM AMD Ryzen 9 3900X (12x 3.8 GHz), MSI X570 Unify GeForce RTX 2070 Super 8 GB, NVIDIA driver version 471.41 (Studio) Link to comment Share on other sites More sharing options...
carl123 Posted August 1, 2019 Share Posted August 1, 2019 Hard to say without seeing a sample of the images you are working with. But you could try.. Filters > Colours > Erase White Paper then Document > Clip Canvas 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...
JeffreyWalther Posted August 1, 2019 Author Share Posted August 1, 2019 Thank you very much. It is not quite that I was looking for (e.g. that background, surrounded color should not matter - here it has to be white). But fo the moment, I can work with the workaround. Thanks! Quote Affinity Photo/Designer/Publisher V2 Windows 10 Pro, 64 GB RAM AMD Ryzen 9 3900X (12x 3.8 GHz), MSI X570 Unify GeForce RTX 2070 Super 8 GB, NVIDIA driver version 471.41 (Studio) Link to comment Share on other sites More sharing options...
R C-R Posted August 1, 2019 Share Posted August 1, 2019 8 hours ago, JeffreyWalther said: I have a bunch of pictures with a lot of white space around the object. Do you mean photos that have borders like old style drugstore prints or something else? Quote All 3 1.10.8, & all 3 V2.4.1 Mac apps; 2020 iMac 27"; 3.8GHz i7, Radeon Pro 5700, 32GB RAM; macOS 10.15.7 Affinity Photo 1.10.8; Affinity Designer 1.108; & all 3 V2 apps for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 15.7 Link to comment Share on other sites More sharing options...
JeffreyWalther Posted August 2, 2019 Author Share Posted August 2, 2019 Example: See first pic with its pink background surrounded. I am looking for an auto trim which automatically captures the uppler left color (or upper right or the bottom corner colors), and then trim/crop the canvas until something else appears (see second pic, for final result). I am asking because in Photoshop there is such a 1-click-solution which is the only feature that I am missing in Affinity Photo. Jeff Pic 1: Pic 2: Quote Affinity Photo/Designer/Publisher V2 Windows 10 Pro, 64 GB RAM AMD Ryzen 9 3900X (12x 3.8 GHz), MSI X570 Unify GeForce RTX 2070 Super 8 GB, NVIDIA driver version 471.41 (Studio) Link to comment Share on other sites More sharing options...
carl123 Posted August 2, 2019 Share Posted August 2, 2019 2 hours ago, JeffreyWalther said: I am asking because in Photoshop there is such a 1-click-solution which is the only feature that I am missing in Affinity Photo. Currently the only 1-click-solution in APhoto would be a macro Try the attached macro on some of your images, it works on the one you supplied and others I created but I don't know exactly how varied your images may be. The macro installs via the Library Panel not the macro panel Auto-trim-macro.afmacros 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...
JeffreyWalther Posted August 2, 2019 Author Share Posted August 2, 2019 8 hours ago, carl123 said: Currently the only 1-click-solution in APhoto would be a macro Try the attached macro on some of your images, it works on the one you supplied and others I created but I don't know exactly how varied your images may be. The macro installs via the Library Panel not the macro panel Auto-trim-macro.afmacros Thank you very much for your help and your efforts for guiding me through the process. Yes, the macro did work with the example above, but not in other tests. So it seems that I have to manually crop my pics until Affinity comes around with a new feature. But thank you very much! Quote Affinity Photo/Designer/Publisher V2 Windows 10 Pro, 64 GB RAM AMD Ryzen 9 3900X (12x 3.8 GHz), MSI X570 Unify GeForce RTX 2070 Super 8 GB, NVIDIA driver version 471.41 (Studio) Link to comment Share on other sites More sharing options...
Fixx Posted August 2, 2019 Share Posted August 2, 2019 You could use XnConvert to batch autocrop images. It is quite capable app. Quote Link to comment Share on other sites More sharing options...
royalcrown28 Posted August 4, 2019 Share Posted August 4, 2019 Making sprite atlas and sprite sheets is abysmal without a trim canvas feature Quote Link to comment Share on other sites More sharing options...
madrian Posted April 12, 2020 Share Posted April 12, 2020 Document > Clip Canvas Is there similar feature in Designer? 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.