from_file

classmethod APNG.from_file(path: str | Path) Self[source]

Create new instance from apng file.

Parameters:

path (str | Path) – File to load.

Return type:

Self