Jump to content

Recommended Posts

Posted

I often have to scale and skew a photo with regards to an object within the photo. For example I know the dimensions of a rectangle in the photo, and I now want to scale and skew the photo so this rectangular object is straight and in the right scale. Since the object may not be all that large in regards to the entire picture frame, being able to work zoomed in would be good. However when zoomed in, I cannot access any of the transformation handles. Gimp has a tool called "handle transform" that allows to place arbitrary handles in a picture and transform using those. Is there a similar capability in any of the Affinity applications?

Below is an example: Assuming I want to de-skew this picture of a notebook keyboard with the ruler as a reference. As far as I know how to do this in Affinity, it takes 10 times as long as it should: iteratively plucking the picture to size and shape with the perspective tool and move is a pain! Any handle moves all reference points in the image, I have to zoom in to actually judge the alignment and zoom out again to access the handles.

In Gimp I place three handles on the ruler, drag them onto the right grid point and am done. Unfortunately, Gimp as a lot of other issues and I would really like to be able to do this efficiently in Affinity.

Can anyone tell me the "right" way to do this in Affinity?

BeforeAfterAfter, Detail

Posted

Hello @Utruiwe and welcome to the forums.

From the tools select the Crop Tool image.png.051844f2e2274f6aa0fa1fc6005cb10c.pngFrom the context menu select Straighten or Rotate for alignment. After that you can crop the object. If you are satisfied with the selection click on Apply.

MAC mini M4 | MacOS Sequoia 15.3.2 | 16 GB RAM | 256 GB SSD 
AMD Ryzen 7 5700X | INTEL Arc A770 LE 16 GB  | 32 GB DDR4 3200MHz | Windows 11 Pro 24H2 (26100.3194)

Affinity Suite V 2.6.1  & Beta 2.6 (latest)
Interested in a free (selfhosted) PDF Solution? Have a look at Stirling PDF

I already had a halo, but it didn't suit me!

Posted
2 hours ago, Utruiwe said:

For example I know the dimensions of a rectangle in the photo, and I now want to scale and skew the photo so this rectangular object is straight and in the right scale.

After you de-skewed the image … you can scale it accordingly in three steps:

Bildschirmfoto2025-02-05um20_49_37.thumb.jpg.94e0420a9bb4099b17f106ba8795f0f0.jpg

1. Use the Vector Crop Tool and limit its width to a known length, e.g. the distance 0 cm ->  5 cm on the ruler in your photo:

Bildschirmfoto2025-02-05um20_50_38.thumb.jpg.25c2721c4250d4d3a67ef2d9338192f0.jpg

2. Switch to the Move Tool and select the Image layer:

Bildschirmfoto2025-02-05um20_51_21.jpg.57aaf7fe61ee931d79464a64d545d623.jpg

3. Enter the known 5 cm (50 mm) in the Transform Panel, lock the aspect ratio and press the Enter key:

Bildschirmfoto2025-02-05um20_52_22.thumb.jpg.3153ec05807b2ba7a9b1fd01b499195c.jpg

Now you can delete the nested, cropping rectangle (or use it to adjust the cropped detail).

macOS 10.14.6 | MacBookPro Retina 15" | Eizo 27" | Affinity V1

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.