No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

ndo_aspectCrop.gizmo 558B

12345678910111213141516171819202122232425262728293031
  1. #! aspectCrop v0.0.0
  2. version 5.0100
  3. Gizmo {
  4. inputs 1
  5. help "crops by given picture aspect"
  6. addUserKnob {7 aspect l "Aspect:"}
  7. aspect {{2.35}}
  8. addUserKnob {7 px_ratio l "Pixel Ratio:"}
  9. px_ratio {{1.0}}
  10. addUserKnob {41 refmt l "reformat" T Crop1.reformat}
  11. }
  12. Input {
  13. inputs 0
  14. name Input1
  15. xpos -89
  16. ypos 13
  17. }
  18. Crop {
  19. box {0 {{0.5*(Input1.height-Input1.width/aspect*px_ratio)}} Input1.width {{Input1.height-box.y}}}
  20. name Crop1
  21. selected true
  22. reformat false
  23. xpos -89
  24. ypos 80
  25. }
  26. Output {
  27. name Output1
  28. xpos -89
  29. ypos 153
  30. }
  31. end_group