Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 863 Bytes

File metadata and controls

29 lines (19 loc) · 863 Bytes

Native Convert

Gimpformats Index / Gimpformats / Native Convert

Auto-generated documentation for gimpformats.native_convert module.

convert_xcf_to_flat_image

Show source in native_convert.py:66

Convert an xcf file given by xcf_path to some flat image (such as a jpg, png etc) given by output_path.

Arguments

  • xcf_path str - path to a source xcf file
  • output_path str - path to an output file (eg a png)
  • run_anyway bool - force running this, unsafe!

Signature

def convert_xcf_to_flat_image(
    xcf_path: str, output_path: str, run_anyway=False
) -> None: ...