adding 21:9 aspect ratio at cropping

This commit is contained in:
tibbi 2022-03-24 09:38:23 +01:00
parent 0a03658978
commit c4c5ce53ea

View file

@ -253,6 +253,8 @@ class NewPhotoEditActivity : SimpleActivity() {
add(CropAspectAsset("my_crop_9_19", 9, 19, false)) add(CropAspectAsset("my_crop_9_19", 9, 19, false))
add(CropAspectAsset("my_crop_20_9", 20, 9, false)) add(CropAspectAsset("my_crop_20_9", 20, 9, false))
add(CropAspectAsset("my_crop_9_20", 9, 20, false)) add(CropAspectAsset("my_crop_9_20", 9, 20, false))
add(CropAspectAsset("my_crop_21_9", 21, 9, false))
add(CropAspectAsset("my_crop_9_21", 9, 21, false))
add(CropAspectAsset("my_crop_5_4", 5, 4, false)) add(CropAspectAsset("my_crop_5_4", 5, 4, false))
add(CropAspectAsset("my_crop_4_5", 4, 5, false)) add(CropAspectAsset("my_crop_4_5", 4, 5, false))
add(CropAspectAsset("my_crop_37_18", 37, 18, false)) add(CropAspectAsset("my_crop_37_18", 37, 18, false))
@ -265,6 +267,7 @@ class NewPhotoEditActivity : SimpleActivity() {
add(ToggleAspectItem(CropAspectItem("my_crop_2_1"), CropAspectItem("my_crop_1_2"))) add(ToggleAspectItem(CropAspectItem("my_crop_2_1"), CropAspectItem("my_crop_1_2")))
add(ToggleAspectItem(CropAspectItem("my_crop_19_9"), CropAspectItem("my_crop_9_19"))) add(ToggleAspectItem(CropAspectItem("my_crop_19_9"), CropAspectItem("my_crop_9_19")))
add(ToggleAspectItem(CropAspectItem("my_crop_20_9"), CropAspectItem("my_crop_9_20"))) add(ToggleAspectItem(CropAspectItem("my_crop_20_9"), CropAspectItem("my_crop_9_20")))
add(ToggleAspectItem(CropAspectItem("my_crop_21_9"), CropAspectItem("my_crop_9_21")))
add(ToggleAspectItem(CropAspectItem("my_crop_5_4"), CropAspectItem("my_crop_4_5"))) add(ToggleAspectItem(CropAspectItem("my_crop_5_4"), CropAspectItem("my_crop_4_5")))
add(ToggleAspectItem(CropAspectItem("my_crop_37_18"), CropAspectItem("my_crop_18_37"))) add(ToggleAspectItem(CropAspectItem("my_crop_37_18"), CropAspectItem("my_crop_18_37")))
add(ToggleAspectItem(CropAspectItem("my_crop_16_10"), CropAspectItem("my_crop_10_16"))) add(ToggleAspectItem(CropAspectItem("my_crop_16_10"), CropAspectItem("my_crop_10_16")))