ghobbit Posted November 26, 2024 Posted November 26, 2024 I’d like to request a Trim feature in Affinity Photo, similar to the one in Photoshop. This feature in photoshop allows users to trim or crop the canvas size to the visible pixels on screen. For example, if a layer is masked, the canvas could be cropped to fit the visible pixels of that mask. This function is particularly useful during the macro creation process -- and is the main reason I need it. It enables users to perform batch operations on multiple images—say, 30 or 40—where a subject is selected and masked, and then "trimmed" or cropped to the mask. But most importantly, it keeps the mask intact without rasterizing or losing any data. While "Rasterize and Trim" combined with "Clip Canvas" gets close, it results in the loss of image data that I’d like to retain for potential mask adjustments for when the select subject misses. I’ve explored various options within the macro editor but haven’t found a solution. If there’s a current way to achieve this, please let me know. Otherwise, please consider adding this Trim feature! Quote
ghobbit Posted November 27, 2024 Author Posted November 27, 2024 21 hours ago, fde101 said: Crop tool Unfortunately, you can't automate that in a macro tool unless I'm wrong? Quote
carl123 Posted November 29, 2024 Posted November 29, 2024 On 11/26/2024 at 6:20 PM, ghobbit said: While "Rasterize and Trim" combined with "Clip Canvas" gets close, it results in the loss of image data that I’d like to retain for potential mask adjustments for when the select subject misses. You can still do the above ("Rasterize and Trim" combined with "Clip Canvas") as when the batch file runs it creates an APhoto file for each image and APhoto automatically creates a snapshot of the image before the macro runs So, if "Select Subject" fails for some images you can just restore the snapshot (the initial image) and redo/tweak "Select Same" as required 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.
ghobbit Posted December 2, 2024 Author Posted December 2, 2024 On 11/29/2024 at 9:47 AM, carl123 said: You can still do the above ("Rasterize and Trim" combined with "Clip Canvas") as when the batch file runs it creates an APhoto file for each image and APhoto automatically creates a snapshot of the image before the macro runs So, if "Select Subject" fails for some images you can just restore the snapshot (the initial image) and redo/tweak "Select Same" as required Not a bad solution, but still a full reset. It would work, but still not as clean as a simple Clip Canvas to mask function/Trim would be Quote
HarryAdney Posted December 6, 2024 Posted December 6, 2024 I got fed up trying to get this to work. I don't have time to mess about so just used Krita. Easy. As. Pie. Quote
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.