{
  "name": "sips",
  "description": "Scriptable image processing system",
  "options": [
    {
      "names": [
        "-g",
        "--getProperty"
      ],
      "description": "Output the property value for key to stdout",
      "takes_arg": true,
      "arg": {
        "name": "key",
        "suggestions": [
          "all",
          "allxml",
          "dpiHeight",
          "dpiWidth",
          "pixelHeight",
          "pixelWidth",
          "typeIdentifier",
          "format",
          "formatOptions",
          "space",
          "samplesPerPixel",
          "bitsPerSample",
          "creation",
          "make",
          "model",
          "software",
          "description",
          "copyright",
          "artist",
          "profile",
          "hasAlpha",
          "size",
          "cmm",
          "version",
          "class",
          "pcs",
          "platform",
          "quality",
          "deviceManufacturer",
          "deviceModel",
          "deviceAttributes0",
          "deviceAttributes1",
          "renderingIntent",
          "creator",
          "md5"
        ]
      }
    },
    {
      "names": [
        "-s",
        "--setProperty"
      ],
      "description": "Set a property value for key to value",
      "takes_arg": true,
      "arg": {
        "name": "key",
        "suggestions": [
          "all",
          "allxml",
          "dpiHeight",
          "dpiWidth",
          "pixelHeight",
          "pixelWidth",
          "typeIdentifier",
          "format",
          "formatOptions",
          "space",
          "samplesPerPixel",
          "bitsPerSample",
          "creation",
          "make",
          "model",
          "software",
          "description",
          "copyright",
          "artist",
          "profile",
          "hasAlpha",
          "size",
          "cmm",
          "version",
          "class",
          "pcs",
          "platform",
          "quality",
          "deviceManufacturer",
          "deviceModel",
          "deviceAttributes0",
          "deviceAttributes1",
          "renderingIntent",
          "creator",
          "md5"
        ]
      }
    },
    {
      "names": [
        "-d",
        "--deleteProperty"
      ],
      "description": "Remove a property value for key",
      "takes_arg": true,
      "arg": {
        "name": "key",
        "suggestions": [
          "all",
          "allxml",
          "dpiHeight",
          "dpiWidth",
          "pixelHeight",
          "pixelWidth",
          "typeIdentifier",
          "format",
          "formatOptions",
          "space",
          "samplesPerPixel",
          "bitsPerSample",
          "creation",
          "make",
          "model",
          "software",
          "description",
          "copyright",
          "artist",
          "profile",
          "hasAlpha",
          "size",
          "cmm",
          "version",
          "class",
          "pcs",
          "platform",
          "quality",
          "deviceManufacturer",
          "deviceModel",
          "deviceAttributes0",
          "deviceAttributes1",
          "renderingIntent",
          "creator",
          "md5"
        ]
      }
    },
    {
      "names": [
        "-X",
        "--extractTag"
      ],
      "description": "Extract a profile tag element to tagFile",
      "takes_arg": true,
      "arg": {
        "name": "tag"
      }
    },
    {
      "names": [
        "--verify"
      ],
      "description": "Verify any profile problems and log output to stdout"
    },
    {
      "names": [
        "-x",
        "--extractProfile"
      ],
      "description": "Get the embedded profile from image and write it to profile",
      "takes_arg": true,
      "arg": {
        "name": "profile"
      }
    },
    {
      "names": [
        "--deleteTag"
      ],
      "description": "Remove the tag element from a profile",
      "takes_arg": true,
      "arg": {
        "name": "tag"
      }
    },
    {
      "names": [
        "--copyTag"
      ],
      "description": "Copy the srcTag element of a profile to dstTag",
      "takes_arg": true,
      "arg": {
        "name": "srcTag"
      }
    },
    {
      "names": [
        "--loadTag"
      ],
      "description": "Set the tag element of a profile to the contents of tagFile",
      "takes_arg": true,
      "arg": {
        "name": "tag"
      }
    },
    {
      "names": [
        "--repair"
      ],
      "description": "Repair any profile problems and log output to stdout"
    },
    {
      "names": [
        "-e",
        "--embedProfile"
      ],
      "description": "Embed profile in image",
      "takes_arg": true,
      "arg": {
        "name": "profile"
      }
    },
    {
      "names": [
        "-E",
        "--embedProfileIfNone"
      ],
      "description": "Embed profile in image only if image doesn't have a profile",
      "takes_arg": true,
      "arg": {
        "name": "profile"
      }
    },
    {
      "names": [
        "-m",
        "--matchTo"
      ],
      "description": "Color match image to profile",
      "takes_arg": true,
      "arg": {
        "name": "profile"
      }
    },
    {
      "names": [
        "-M",
        "--matchToWithIntent"
      ],
      "description": "Color match image to profile with rendering intent perceptual | relative | saturation | absolute",
      "takes_arg": true,
      "arg": {
        "name": "profile"
      }
    },
    {
      "names": [
        "--deleteColorManagementProperties"
      ],
      "description": "Delete color management properties in TIFF, PNG, and EXIF dictionaries"
    },
    {
      "names": [
        "-r",
        "--rotate"
      ],
      "takes_arg": true,
      "arg": {
        "name": "degreesCW"
      }
    },
    {
      "names": [
        "-f",
        "--flip"
      ],
      "takes_arg": true,
      "arg": {
        "name": "axis",
        "suggestions": [
          "horizontal",
          "vertical"
        ]
      }
    },
    {
      "names": [
        "-c",
        "--cropToHeightWidth"
      ],
      "description": "Crop image to fit specified size",
      "takes_arg": true,
      "arg": {
        "name": "pixelsH"
      }
    },
    {
      "names": [
        "-p",
        "--padToHeightWidth"
      ],
      "description": "Pad image with pixels to fit specified size",
      "takes_arg": true,
      "arg": {
        "name": "pixelsH"
      }
    },
    {
      "names": [
        "-padColor"
      ],
      "description": "Use this color when padding.  White=FFFFFF, Red=FF0000, Default=Black=000000",
      "takes_arg": true,
      "arg": {
        "name": "hexcolor"
      }
    },
    {
      "names": [
        "-z",
        "--resampleHeightWidth"
      ],
      "description": "Resample image at specified size. Image apsect ratio may be altered",
      "takes_arg": true,
      "arg": {
        "name": "pixelsH"
      }
    },
    {
      "names": [
        "--resampleWidth"
      ],
      "description": "Resample image to specified width",
      "takes_arg": true,
      "arg": {
        "name": "pixelsW"
      }
    },
    {
      "names": [
        "--resampleHeight"
      ],
      "description": "Resample image to specified height",
      "takes_arg": true,
      "arg": {
        "name": "pixelsH"
      }
    },
    {
      "names": [
        "-Z",
        "--resampleHeightWidthMax"
      ],
      "description": "Resample image so height and width aren't greater than specified size",
      "takes_arg": true,
      "arg": {
        "name": "pixelsWH"
      }
    },
    {
      "names": [
        "-i",
        "--addIcon"
      ],
      "description": "Add a Finder icon to image file",
      "takes_arg": true,
      "arg": {
        "name": "icon",
        "template": "filepaths"
      }
    },
    {
      "names": [
        "--debug"
      ],
      "description": "Enable debugging output"
    },
    {
      "names": [
        "-h",
        "--help"
      ],
      "description": "Show help"
    },
    {
      "names": [
        "-H",
        "--helpProperties"
      ],
      "description": "Show help for properties"
    },
    {
      "names": [
        "--man"
      ],
      "description": "Generate man pages"
    },
    {
      "names": [
        "-v",
        "--version"
      ],
      "description": "Show the version"
    },
    {
      "names": [
        "--formats"
      ],
      "description": "Show the read/write formats"
    }
  ],
  "args": [
    {
      "name": "file",
      "template": "filepaths"
    }
  ]
}
