Skip to content

Latest commit

 

History

History
52 lines (29 loc) · 952 Bytes

File metadata and controls

52 lines (29 loc) · 952 Bytes

Utils

Gimpformats Index / Gimpformats / Utils

Auto-generated documentation for gimpformats.utils module.

fileOpen

Show source in utils.py:7

Load a file.

Arguments

  • fileName - can be a file name or a file-like object

Signature

def fileOpen(file: BytesIO | str | Path) -> tuple[str, bytes]: ...

repr_indent_lines

Show source in utils.py:29

Signature

def repr_indent_lines(indent: int, lines: list[str]): ...

save

Show source in utils.py:19

Save this gimp image to a file.

Signature

def save(data: bytes, file: BytesIO | str | Path) -> None: ...