Jump to content

Clip canvas clips canvas, except when it doesn't [Photo]


Recommended Posts

Usually, for example:

  1. Load an image, say, 2000x1000 pixels.
  2. Crop to 1500x800 pixels.
  3. Document | Clip Canvas
  4. The canvas is now 1500x800 pixels.

But not always. For example, I was playing with someone else's image (with their permission) and cropped it:

image.thumb.png.d553a1415ca78df643082f7e37670397.png

It cropped properly when I hit Enter. Then I clipped the canvas and got this:

image.thumb.png.11dd4a876433d3b37d73d9cbf81fe126.png

Really?

If I, for example, select the Move tool and go to each layer, there are no outlines indicating some larger-than-the-rest entity causing the oversized canvas borders. All layers show the 'move outline' the same size as the visible image.

So why the remaining area of transparency around the image (i.e., canvas)? Just out of curiosity, I selected Unclip Canvas. The area got larger. I then clipped canvas again and it stayed that size.

???

This is where the GIMP (e.g.) "Fit canvas to layers" and crop options seem more logical (in particular "Delete cropped pixels").

image.png.7415b1632128f012055534be61b88b27.png

I'm sure PS has comparable items. And BTW, I'm not comparing AP to GIMP nor PS, it's just a convenient example. I'm certainly not assuming a bug (...yet) since I probably don't fully understand how Clip / unclip works. But what am I missing?

Thanks.

Edited by lphilpot
Minor clarification

Len
Affinity Photo 2 | QCAD 3 | FastStone | SpyderX Pro | FOSS:  ART darktable  XnView  RawTherapee  Inkscape  G'MIC  LibreOffice
Windows 11 on a 16 GB, Ryzen 5700 8-core laptop with a cheesy little embedded AMD GPU

Canon T8i / 850D | Canon EF 24-70mm F4L IS USM | Canon EF 70-200mm F4 L USM | Rikenon P 50mm f/1.7 | K&F Concept Nano-X filters
...desperately looking for landscapes in Nolandscapeland        Flickr

Link to comment
Share on other sites

I'm not sure if this helps or is the same issue.
I too have had issues with what you are saying (sometimes).
I find if I select a different document tab(if another is open) or open a browser or select a different app then go back to affinity the canvas is clipped.
I have this similar issue in the resize document as well, where the resize doesn't happen until I follow the steps I suggested above, even though the resize dialog box is closed & finished.
This only started happening in version 2.

Motto - STUPID HURTS!

Link to comment
Share on other sites

4 hours ago, lphilpot said:

If I, for example, select the Move tool and go to each layer, there are no outlines indicating some larger-than-the-rest entity causing the oversized canvas borders. All layers show the 'move outline' the same size as the visible image.

Actually this would be the bug.
Not seeing the outline of the original image as cropping in the affinities are nondestructive.
If one wants destructively crop one needs to use rasterize and trim.




 

Link to comment
Share on other sites

  • Staff

Hi @lphilpot,

It's possible the issue has been caused by independent adjustment layers on your image, there is an issue currently logged with the developers with non-nested/clipped adjustment layers will cause the clip to canvas to fail as Photo assumes that adjustment layers are the size of the canvas when not nested, I've bumped the existing issue.

Link to comment
Share on other sites

7 hours ago, Return said:

If one wants destructively crop one needs to use rasterize and trim.

I've tried that and the extra canvas remains. According to the AP Help, Clip Canvas should remove extraneous unused canvas:

image.png.b013a85ea1f22f00495763412d96b9cb.png

https://affinity.help/photo2/en-US.lproj/index.html?page=pages/SizeTransform/canvasSize.html?title=Changing canvas size

Len
Affinity Photo 2 | QCAD 3 | FastStone | SpyderX Pro | FOSS:  ART darktable  XnView  RawTherapee  Inkscape  G'MIC  LibreOffice
Windows 11 on a 16 GB, Ryzen 5700 8-core laptop with a cheesy little embedded AMD GPU

Canon T8i / 850D | Canon EF 24-70mm F4L IS USM | Canon EF 70-200mm F4 L USM | Rikenon P 50mm f/1.7 | K&F Concept Nano-X filters
...desperately looking for landscapes in Nolandscapeland        Flickr

Link to comment
Share on other sites

4 hours ago, NathanC said:

Hi @lphilpot,

It's possible the issue has been caused by independent adjustment layers on your image, there is an issue currently logged with the developers with non-nested/clipped adjustment layers will cause the clip to canvas to fail as Photo assumes that adjustment layers are the size of the canvas when not nested, I've bumped the existing issue.

That might be the problem:

image.png.3b4e7669ca1cc4d5c5c6bfe2134f3608.png

Thanks.

Len
Affinity Photo 2 | QCAD 3 | FastStone | SpyderX Pro | FOSS:  ART darktable  XnView  RawTherapee  Inkscape  G'MIC  LibreOffice
Windows 11 on a 16 GB, Ryzen 5700 8-core laptop with a cheesy little embedded AMD GPU

Canon T8i / 850D | Canon EF 24-70mm F4L IS USM | Canon EF 70-200mm F4 L USM | Rikenon P 50mm f/1.7 | K&F Concept Nano-X filters
...desperately looking for landscapes in Nolandscapeland        Flickr

Link to comment
Share on other sites

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.