#! aspectCrop v0.0.0
version 5.0100
Gizmo {
 inputs 1
 help "crops by given picture aspect"
 addUserKnob {7 aspect l "Aspect:"}
 aspect {{2.35}}
 addUserKnob {7 px_ratio l "Pixel Ratio:"}
 px_ratio {{1.0}}
 addUserKnob {41 refmt l "reformat" T Crop1.reformat}
}
 Input {
  inputs 0
  name Input1
  xpos -89
  ypos 13
 }
 Crop {
  box {0 {{0.5*(Input1.height-Input1.width/aspect*px_ratio)}} Input1.width {{Input1.height-box.y}}}
  name Crop1
  selected true
  reformat false
  xpos -89
  ypos 80
 }
 Output {
  name Output1
  xpos -89
  ypos 153
 }
end_group
