Skip to content

StraightenParameters

Endpoints · All schemas

FieldRequiredDescription
angleYesStraighten angle in degrees
fillNoScale the straightened picture to fill its frame (the Frameleaf quick editor). Absent or false keeps the earlier behaviour: black corners, no zoom

Complete definition

required lists fields that must be present. nullable allows a null value; it does not make the field optional. Response enums retain exact wire values for compatibility.

{
  "properties": {
    "angle": {
      "description": "Straighten angle in degrees",
      "format": "double",
      "maximum": 45,
      "minimum": -45,
      "type": "number"
    },
    "fill": {
      "description": "Scale the straightened picture to fill its frame (the Frameleaf quick editor). Absent or false keeps the earlier behaviour: black corners, no zoom",
      "type": "boolean"
    }
  },
  "required": [
    "angle"
  ],
  "type": "object"
}