Gimpformats Index / Gimpformats / Utils
Auto-generated documentation for gimpformats.utils module.
Load a file.
fileName- can be a file name or a file-like object
def fileOpen(file: BytesIO | str | Path) -> tuple[str, bytes]: ...Represent lines with a given indentation (number of tabs).
indentint - number of tabs :param list[str] lines: list of lines to represent
Type: str indented lines
def repr_indent_lines(indent: int, lines: list[str]) -> str: ...Save this gimp image to a file.
def save(data: bytearray | bytes, file: BytesIO | str | Path) -> None: ...