jimh12345 Posted July 1, 2022 Posted July 1, 2022 I need to completely undo a crop operation and restore the original image extent. If I select the Crop tool, I see that the original image is still there and I can manually resize the rectangle, but I need to get back to the exact original pixel size (so I can overly a new version of the image and preserve my layer adjustments). Basically I want AP to just forget that I ever cropped the image. I've looked all around but can't find anything like a 'reset' of the crop tool. Alternatively, if I could force the crop rectangle to snap to the image boundaries, I could solve my problem that way. Quote
walt.farrell Posted July 1, 2022 Posted July 1, 2022 You can use Undo, or the History panel. Quote -- Walt Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases PC: Desktop: Windows 11 Pro 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 Laptop: Windows 11 Pro 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU. Laptop 2: Windows 11 Pro 24H2, 16GB memory, Snapdragon(R) X Elite - X1E80100 - Qualcomm(R) Oryon(TM) 12 Core CPU 4.01 GHz, Qualcomm(R) Adreno(TM) X1-85 GPU iPad: iPad Pro M1, 12.9": iPadOS 18.5, Apple Pencil 2, Magic Keyboard Mac: 2023 M2 MacBook Air 15", 16GB memory, macOS Sequoia 15.5
jimh12345 Posted July 1, 2022 Author Posted July 1, 2022 No, this is after I've saved and re-opened the project. Long after I did the crop. If I select the Crop tool I can see that all of the original image is still available; I just can't get the crop to automatically snap back to the original pixel boundaries. Trying to do it manually is just an approximation and not good enough for what I want to do. Quote
walt.farrell Posted July 1, 2022 Posted July 1, 2022 In that case, try Document > Unclip Canvas. Quote -- Walt Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases PC: Desktop: Windows 11 Pro 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 Laptop: Windows 11 Pro 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU. Laptop 2: Windows 11 Pro 24H2, 16GB memory, Snapdragon(R) X Elite - X1E80100 - Qualcomm(R) Oryon(TM) 12 Core CPU 4.01 GHz, Qualcomm(R) Adreno(TM) X1-85 GPU iPad: iPad Pro M1, 12.9": iPadOS 18.5, Apple Pencil 2, Magic Keyboard Mac: 2023 M2 MacBook Air 15", 16GB memory, macOS Sequoia 15.5
jimh12345 Posted July 1, 2022 Author Posted July 1, 2022 Already tried that. It 'sort of' restores the original image but also adds a blank (transparent) border around it. Weird. Quote
jimh12345 Posted July 2, 2022 Author Posted July 2, 2022 Really, what I'd like to find is the way to make the crop rectangle snap to image boundaries. Surely there is a way, but I haven't been able to find it in all those options. Quote
carl123 Posted July 2, 2022 Posted July 2, 2022 4 hours ago, walt.farrell said: In that case, try Document > Unclip Canvas. Walt's suggestion should have worked But try this... 1. Select all layers in the Layers panel 2. Edit > Copy 3. File > New from Clipboard (This will always ignore any cropping done on the document unless you have, at some point, used Rasterise and Trim, on the original image after the crop) 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.
NotMyFault Posted July 2, 2022 Posted July 2, 2022 Actually there is no straight way to achieve this. Some ideas for crude workaround (requires history or a snapshot) we will need some marks which aren’t impacted by history, e.g. rulers, grid, or helper objects. Maybe export persona / slices. Get creative. save current state (snapshot) go back to before crop state create helper like rulers, rectangle shape. Helpers need to be „undo protected“, but stay in current document. Go back to current state Use snapping and helper objects to recover original crop. The best proactive option actually is to always create an rectangle layer in exact crop size (no fill, no stroke, labeled, deactivate, put in a special inactive group or layer layer) in the canvas size. You could create own templates who have this already set for new documents. I don’t think any workflow using copy/paste to other documents will work, as the size and position will not be preserved / get lost. another option to create is invisible marks: in the past, you could create zero size objects (rectangle, set sie to zero). Unfortunately this loophole has been eliminated lately . These are invisible at export, but can be used as snapping helper. Quote 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.
NotMyFault Posted July 2, 2022 Posted July 2, 2022 Filed a feature request. Feel free to discuss or add your vote 😉 Quote 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.
jimh12345 Posted July 2, 2022 Author Posted July 2, 2022 Wow what a world of complexity. Every other photo editing program I've ever used has, well, "reset crop". I guess AP's underlying model just doesn't facilitate this. Equally weird, to me, is that I can't get the crop tool to snap to the image boundaries. Because of this I'm constantly off by a pixel or two and sometimes fine slivers of white on the edges of photos I've edited. This time, since I couldn't accurately undo the crop, I had to basically start over from scratch. Next time I'll try copying the layers into a new project, that sounds promising. AP does many things extremely well. But I think I'll have to do my cropping with another application. Quote
Old Bruce Posted July 2, 2022 Posted July 2, 2022 How about using Document > Unclip Canvas then select the (possibly rotated or 'straightened') layer with the move tool (if necessary reset the rotation to 0 degrees using the transform panel) and then clip to canvas. I cannot get this to not work for me, even after cropping and rotating the layer multiple times Document > Unclip Canvas will return me to the full layer which needs to be simply reset to 0 degrees. Quote Mac Pro (Late 2013) Mac OS 12.7.6 Affinity Designer 2.6.0 | Affinity Photo 2.6.0 | Affinity Publisher 2.6.0 | Beta versions as they appear. I have never mastered color management, period, so I cannot help with that.
NotMyFault Posted July 2, 2022 Posted July 2, 2022 2 hours ago, Old Bruce said: How about using Document > Unclip Canvas then select the (possibly rotated or 'straightened') layer with the move tool (if necessary reset the rotation to 0 degrees using the transform panel) and then clip to canvas. I cannot get this to not work for me, even after cropping and rotating the layer multiple times Document > Unclip Canvas will return me to the full layer which needs to be simply reset to 0 degrees. This misses the point. After a few edits, e.g. adding layer fx, adding blur filters, unclip canvas will not result in the original crop, but in most cases in a canvas extended by multiple pixels, and adding fractional px. Unclip canvas might work in simplistic cases, but totally fails in real world scenarios. Quote 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.
TariqMK Posted September 18, 2024 Posted September 18, 2024 Is there still no way to reliably and consistently do this? Quote
NotMyFault Posted September 19, 2024 Posted September 19, 2024 9 hours ago, TariqMK said: Is there still no way to reliably and consistently do this? There is a small progress: use „selection from layer“ activate crop this will implement the second part of the request (but not in the way of snapping): On 7/2/2022 at 12:23 AM, jimh12345 said: Alternatively, if I could force the crop rectangle to snap to the image boundaries, I could solve my problem that way. Still impossible to: On 7/2/2022 at 12:23 AM, jimh12345 said: Basically I want AP to just forget that I ever cropped the image. Quote 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.
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.