{
  "api": {
    "name": "ImageManipulatorPlugin",
    "slug": "imagemanipulatorplugin",
    "docs": "",
    "tags": [],
    "methods": [
      {
        "name": "getDimensions",
        "signature": "(options: GetDimensionsOptions) => Promise<{ width: number; height: number; }>",
        "parameters": [
          {
            "name": "options",
            "docs": "options to get dimensions of an image",
            "type": "GetDimensionsOptions"
          }
        ],
        "returns": "Promise<{ width: number; height: number; }>",
        "tags": [
          {
            "name": "since",
            "text": "6.0.0"
          },
          {
            "name": "param",
            "text": "options options to get dimensions of an image"
          },
          {
            "name": "returns",
            "text": "Dimensions of the image (with and height)"
          }
        ],
        "docs": "Get dimensions of an image (width and height)",
        "complexTypes": [
          "GetDimensionsOptions"
        ],
        "slug": "getdimensions"
      },
      {
        "name": "resize",
        "signature": "(options: ResizeOptions) => Promise<{ originalWidth: number; originalHeight: number; resizedWidth: number; resizedHeight: number; imagePath: string; webPath: string; resized: boolean; }>",
        "parameters": [
          {
            "name": "options",
            "docs": "Options to resize an image",
            "type": "ResizeOptions"
          }
        ],
        "returns": "Promise<{ originalWidth: number; originalHeight: number; resizedWidth: number; resizedHeight: number; imagePath: string; webPath: string; resized: boolean; }>",
        "tags": [
          {
            "name": "since",
            "text": "6.0.0"
          },
          {
            "name": "param",
            "text": "options Options to resize an image"
          },
          {
            "name": "returns",
            "text": "Resized image details (original width, original height, resized width, resized height, image path, web path, resized)"
          }
        ],
        "docs": "Method to resize an image based on the provided options and return the resized image details. Please note that the resized\nimage will respect the aspect ratio of the original image and will be resized to be equal to less of the provided maxWidth or maxHeight.\nIf the image both width and height are less than the provided maxWidth and maxHeight, the image will not be resized\nand the original image details will be returned with resized as false.\nIf either maxWidth or maxHeight is not provided or 0, this parameter will be ignored (not used) and the image will be\nresized based on the provided maxWidth or maxHeight, accordingly.\nPlease note that either maxWidth or maxHeight must be provided to resize an image.",
        "complexTypes": [
          "ResizeOptions"
        ],
        "slug": "resize"
      }
    ],
    "properties": []
  },
  "interfaces": [
    {
      "name": "GetDimensionsOptions",
      "slug": "getdimensionsoptions",
      "docs": "",
      "tags": [],
      "methods": [],
      "properties": [
        {
          "name": "imagePath",
          "tags": [
            {
              "text": "6.0.0",
              "name": "since"
            }
          ],
          "docs": "The path to the image to get its dimensions.",
          "complexTypes": [],
          "type": "string"
        }
      ]
    },
    {
      "name": "ResizeOptions",
      "slug": "resizeoptions",
      "docs": "",
      "tags": [],
      "methods": [],
      "properties": [
        {
          "name": "imagePath",
          "tags": [
            {
              "text": "6.0.0",
              "name": "since"
            }
          ],
          "docs": "The path to the image to resize.",
          "complexTypes": [],
          "type": "string"
        },
        {
          "name": "folderName",
          "tags": [
            {
              "text": "6.0.0",
              "name": "since"
            }
          ],
          "docs": "(Android Only) The name of the folder to store the resized images (optional, defaults to 'ResizedImages' if not provided).",
          "complexTypes": [],
          "type": "string | undefined"
        },
        {
          "name": "fileName",
          "tags": [
            {
              "text": "6.0.0",
              "name": "since"
            }
          ],
          "docs": "The name of the resized file without extension (optional, timestamp as name if not provided).",
          "complexTypes": [],
          "type": "string | undefined"
        },
        {
          "name": "quality",
          "tags": [
            {
              "text": "6.0.0",
              "name": "since"
            }
          ],
          "docs": "The resized image quality from 0 to 100, where 100 is max (optional, defaults to 85 if not provided).",
          "complexTypes": [],
          "type": "number | undefined"
        },
        {
          "name": "maxWidth",
          "tags": [
            {
              "text": "6.0.0",
              "name": "since"
            }
          ],
          "docs": "The max width of the resized image (optional, but at least either height or width must be provided).",
          "complexTypes": [],
          "type": "number | undefined"
        },
        {
          "name": "maxHeight",
          "tags": [
            {
              "text": "6.0.0",
              "name": "since"
            }
          ],
          "docs": "The max height of the resized image (optional, but at least either width or height must be provided).",
          "complexTypes": [],
          "type": "number | undefined"
        },
        {
          "name": "fixRotation",
          "tags": [
            {
              "text": "6.0.0",
              "name": "since"
            }
          ],
          "docs": "Fix the rotation of the image based on EXIF metadata (optional, defaults to false if not provided).",
          "complexTypes": [],
          "type": "boolean | undefined"
        }
      ]
    }
  ],
  "enums": [],
  "typeAliases": [],
  "pluginConfigs": []
}