---
name: "pto_mask"
section: "1"
platform: "linux"
package: "hugin"
version: "2025.0.1-5"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/pto_mask"
---

# pto\_mask(1)

Apply a mask

## NAME

pto\_mask - Apply a mask

## SYNOPSIS

**pto\_mask** \[options\] input.pto

## DESCRIPTION

**pto\_mask** applies a mask to nominated images

## USAGE

```
   pto_mask --mask=maskfile
```

## OPTIONS

- **-o** \| --output=file.pto

  Output Hugin PTO file. Default: \<filename\>\_mask.pto

- **--mask=filename@imgNr**

  Read the mask from the file and assign to given image

- **--rotate=CLOCKWISE\|90\|COUNTERCLOCKWISE\|-90**

  Rotates the mask clock- or counterclockwise

- **--process=CLIP\|SCALE\|PROP\_SCALE**

  Specify how the mask should be modified if the mask is created for an image with different size

  ```
     * CLIP: clipping (Default)
     * SCALE: Scaling width and height individually
     * PROP_SCALE: Proportional scale
  ```

- **-h** \| --help

  Shows this help

## AUTHORS

Thomas Modes
