MCPcopy Create free account
hub / github.com/ARM-software/astc-encoder / __init__

Method __init__

Test/testlib/image.py:62–69  ·  view source on GitHub ↗

Construct a new Image wrapper. Args: file_path: The path of the image on disk.

(self, file_path: Path)

Source from the content-addressed store, hash-verified

60 return file_format in cls.SUPPORTED_HDR
61
62 def __init__(self, file_path: Path):
63 '''
64 Construct a new Image wrapper.
65
66 Args:
67 file_path: The path of the image on disk.
68 '''
69 self.file_path = file_path
70
71 def get_colors(self, coord: tuple[int, int]) -> Color:
72 '''

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected