save — Phatch v0.2 documentation

### Navigation

- index
- modules |
- next |
- previous |
- Phatch v0.2 documentation »
- actions »

# save

class `actions.save.` `Action`(**options)

  Bases: `core.models.Action`

  Save and convert to other types

  `apply`(photo, setting, cache)
  `get_format`(ext, photo=None)
  `get_relevant_field_labels`()

    If this method is present, Phatch will only show relevant fields.

    Returns: | list of the field labels which are relevant
    Return type: | list of strings

    Note

    It is very important that the list of labels has EXACTLY the same order as defined in the interface method.

  static `init`()
  `interface`(fields)
  `is_done_info`(info)
  `is_overwrite_existing_images_forced`()

`actions.save.` `init`()

### Navigation

- index
- modules |
- next |
- previous |
- Phatch v0.2 documentation »
- actions »