Hi,
idea: "snap" to common values during drawing of the rectangle:

- original ratio
- 16:9
- 3:2
- 1:1
etc.

Chris


Am 16.11.2018 um 21:50 schrieb Jan Ingwer Baer:
Of course DT should not round, but it should show the Ratio with an integer for the small-side. For me showing 8.2/5 or 3.28/2 (with the pixel-ratio of the OP) is much more meaningful then 1.62/1. I think it should be possible to select a usable integer numerator/denominator based on the fractional ratio.

If the user wants to create a crop with one of the common aspect ratios showing it as simple float makes it very challenging to find the right values. For example : The user wants to create a crop with 16/9. Displaying the aspect ratio as 1.77/1 is not a big help.

The challenge is to find the right integer. My idea is to define ratio ranges for selection :

1.2 - 1.4 : set denominator to 3 gives  3.6/3 -  4.2/3 ( ~4/3)
1.4 - 1.6 : set denominator to 2 gives  2.8/2 -  3.2/2 ( ~3/2)
1.6 - 1.9 : set denominator to 9 gives 14.4/9 - 17.1/9 (~16/9)

___________________________________________________________________________
darktable developer mailing list
to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org

Reply via email to