{
  "name": "sips",
  "description": "Scriptable image processing system",
  "options": [
    {
      "names": [
        "-g",
        "--getProperty"
      ],
      "description": "Output the property value for key to stdout",
      "args": [
        {
          "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",
      "args": [
        {
          "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"
          ]
        },
        {
          "name": "value"
        }
      ]
    },
    {
      "names": [
        "-d",
        "--deleteProperty"
      ],
      "description": "Remove a property value for key",
      "args": [
        {
          "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",
      "args": [
        {
          "name": "tag"
        },
        {
          "name": "tagFile"
        }
      ]
    },
    {
      "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",
      "args": [
        {
          "name": "profile"
        }
      ]
    },
    {
      "names": [
        "--deleteTag"
      ],
      "description": "Remove the tag element from a profile",
      "args": [
        {
          "name": "tag"
        }
      ]
    },
    {
      "names": [
        "--copyTag"
      ],
      "description": "Copy the srcTag element of a profile to dstTag",
      "args": [
        {
          "name": "srcTag"
        },
        {
          "name": "dstTag"
        }
      ]
    },
    {
      "names": [
        "--loadTag"
      ],
      "description": "Set the tag element of a profile to the contents of tagFile",
      "args": [
        {
          "name": "tag"
        },
        {
          "name": "tagFile",
          "template": "filepaths"
        }
      ]
    },
    {
      "names": [
        "--repair"
      ],
      "description": "Repair any profile problems and log output to stdout"
    },
    {
      "names": [
        "-e",
        "--embedProfile"
      ],
      "description": "Embed profile in image",
      "args": [
        {
          "name": "profile"
        }
      ]
    },
    {
      "names": [
        "-E",
        "--embedProfileIfNone"
      ],
      "description": "Embed profile in image only if image doesn't have a profile",
      "args": [
        {
          "name": "profile"
        }
      ]
    },
    {
      "names": [
        "-m",
        "--matchTo"
      ],
      "description": "Color match image to profile",
      "args": [
        {
          "name": "profile"
        }
      ]
    },
    {
      "names": [
        "-M",
        "--matchToWithIntent"
      ],
      "description": "Color match image to profile with rendering intent perceptual | relative | saturation | absolute",
      "args": [
        {
          "name": "profile"
        },
        {
          "name": "intent",
          "suggestions": [
            "perceptual",
            "relative",
            "saturation",
            "absolute"
          ]
        }
      ]
    },
    {
      "names": [
        "--deleteColorManagementProperties"
      ],
      "description": "Delete color management properties in TIFF, PNG, and EXIF dictionaries"
    },
    {
      "names": [
        "-r",
        "--rotate"
      ],
      "args": [
        {
          "name": "degreesCW"
        }
      ]
    },
    {
      "names": [
        "-f",
        "--flip"
      ],
      "args": [
        {
          "name": "axis",
          "suggestions": [
            "horizontal",
            "vertical"
          ]
        }
      ]
    },
    {
      "names": [
        "-c",
        "--cropToHeightWidth"
      ],
      "description": "Crop image to fit specified size",
      "args": [
        {
          "name": "pixelsH"
        },
        {
          "name": "pixelsW"
        }
      ]
    },
    {
      "names": [
        "-p",
        "--padToHeightWidth"
      ],
      "description": "Pad image with pixels to fit specified size",
      "args": [
        {
          "name": "pixelsH"
        },
        {
          "name": "pixelsW"
        }
      ]
    },
    {
      "names": [
        "-padColor"
      ],
      "description": "Use this color when padding.  White=FFFFFF, Red=FF0000, Default=Black=000000",
      "args": [
        {
          "name": "hexcolor"
        }
      ]
    },
    {
      "names": [
        "-z",
        "--resampleHeightWidth"
      ],
      "description": "Resample image at specified size. Image apsect ratio may be altered",
      "args": [
        {
          "name": "pixelsH"
        },
        {
          "name": "pixelsW"
        }
      ]
    },
    {
      "names": [
        "--resampleWidth"
      ],
      "description": "Resample image to specified width",
      "args": [
        {
          "name": "pixelsW"
        }
      ]
    },
    {
      "names": [
        "--resampleHeight"
      ],
      "description": "Resample image to specified height",
      "args": [
        {
          "name": "pixelsH"
        }
      ]
    },
    {
      "names": [
        "-Z",
        "--resampleHeightWidthMax"
      ],
      "description": "Resample image so height and width aren't greater than specified size",
      "args": [
        {
          "name": "pixelsWH"
        }
      ]
    },
    {
      "names": [
        "-i",
        "--addIcon"
      ],
      "description": "Add a Finder icon to image file",
      "args": [
        {
          "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"
    }
  ]
}
