Jump to content

Recommended Posts

Posted

I'm new to this software, so for all I know what I want to do can't be done, but I hope you'll still give me some direction if you can!

I have product photos that I would like to straighten and crop (see example before and after).

I can do this manually as I have done, but I'm hoping for some way to automate or semi-automate it.

I've seen scanning apps that "unskew" rectangular documents captured by my the phone camera. That gives me hope that this may be possible.

If you have any tips on how to proceed, I would greatly appreciate it!

before.jpg

after.jpg

Posted

Hello @Amy Golovan, and welcome to the forums.

It is fairly straightforward to straighten your image, but I am not aware that it can be automated in Photo.

Choose the Crop Tool in the toolbar to the left.

In the Context Toolbar (along the top of the image), Click on the Straighten button (towards the right).

Click on the image and drag a line along what should be horizontal (or vertical).

Press Enter and the image will be rotated.

John

Windows 11, Affinity Photo 2.4.2 Designer 2.4.2 and Publisher 2.4.2 (mainly Photo).

CPU: Intel Core i5 8500 @ 3.00GHz. RAM: 32.0GB  DDR4 @ 1063MHz, Graphics: 2047MB NVIDIA GeForce GTX 1050

Posted

The crop tool works good for simple cases, e.g only rotated.

If you handheld the camera often it gets more complex when not held perfectly parallel to the subject 
I prefer using the Develop Persona and Lens Correction tools (rotate, horizontal and vertical) in combination with a grid. 
 

Actually i often use iPhone Apps like dropbox, PhotoScan (google), OfficeLens (Microsoft) for ebay items as these provide automatic straightening you miss in Affinity Photo. If required you can still edit in Photo.

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
1 hour ago, NotMyFault said:

I prefer using the Develop Persona and Lens Correction tools (rotate, horizontal and vertical) in combination with a grid. 

Thanks. Did not realize those were there.

-- 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.3.1, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sequoia 15.0.1

Posted
6 minutes ago, walt.farrell said:

Thanks. Did not realize those were there.

I really miss a live filter in Photo Persona having this functionality 

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
16 minutes ago, NotMyFault said:

I really miss a live filter in Photo Persona having this functionality 

It's very similar to the Perspective Live Filter in some ways, isn't it?

-- 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.3.1, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sequoia 15.0.1

Posted
1 hour ago, walt.farrell said:

It's very similar to the Perspective Live Filter in some ways, isn't it?

The results could be identical.

The effort to achieve the result could vary by a factor of more than 10x 

Lens tools

  • gives an immediate preview,
  • allows an stepwise approach: first rotation, then horizontal/ vertical. No interdependence between them when done correctly 
  • making it totally easy to align straight lines to a grid, with butter smooth slider moves or numeric input at ideal steps of 1/10px via ctrl-mouse wheel.
  • after 1-2 minutes i get a perfect result with all edges within 1px of a perfect rectangle

In perspective filter,

  • every change to one node can influence several other nodes, leading to multiple iteration cycles until everything fits.
  • The tool grid is distracting and must be deactivated every time.
  • The initial position of nodes is sometimes unfortunate (e.g. document edges)
  • The default „destination“ mode needs to be changed to „source“ every time.
  • can only be used with mouse (no numeric input possible for 1/10px position adjustments)
  • usually i spent several minutes while non-stop swearing 
  • Never the less, it is the more powerful tool for cases where the limited effect of lens tool becomes a constraint 

 

 

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.