Bug 432602 - crop / resize canvas to cm
Summary: crop / resize canvas to cm
Status: CONFIRMED
Alias: None
Product: krita
Classification: Applications
Component: Resize/Scale Image/Layer (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
: 434498 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-02-07 09:50 UTC by soloturn
Modified: 2021-05-18 23:57 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description soloturn 2021-02-07 09:50:21 UTC
am trying to reduze the size and crop an image to passport-photo size of 4.5x3.5 cm. first i could "image - scale image to new size" to get the hight correct. then i could reduce the width of the canvas, but it would cut either left or right. cropping with the mouse is also possible but it would not tell me the size in advance, and its difficult to make it 4.5.

it would be great if resize and crop would be supported better.
Comment 1 Ahab Greybeard 2021-02-07 19:11:59 UTC
As a workaround you can Edit a rectangular vector selection to be 3.5cm by 4.5 cm then lock its aspect ratio and drag it out with the corner handles and move it to enclose the image as you want it to be seen.
Then copy-paste to a new image and Image -> Scale it down to a cm size.
Comment 2 vanyossi 2021-02-09 01:48:10 UTC
This is a nice wish

To crop to a certain dimension we would need to first set crop factor to a ratio i.e. 4.5/3.5 = 9/7 = 1.29.
After crop resize image to the desired size at a certain user set DPI.
Comment 3 Tiar 2021-05-18 23:57:03 UTC
*** Bug 434498 has been marked as a duplicate of this bug. ***