Jump to content

Recommended Posts

Posted

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.

Posted

You can use Undo, or the History panel.

-- 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

Posted

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.

Posted

In that case, try Document > Unclip Canvas.

-- 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

Posted

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.

Posted
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)

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

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.

  1. save current state (snapshot)
  2. go back to before crop state
  3. create helper like rulers, rectangle shape. Helpers need to be „undo protected“, but stay in current document.
  4. Go back to current state
  5. 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.

 


 

  •  

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

Filed a feature request. Feel free to discuss or add your vote 😉

 

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

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. 

 

Posted

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.

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.

Posted
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.

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.

 

  • 2 years later...
Posted
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.

 

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.

 

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.