📄️ Base64 Process
このモジュールは内部で pybase64 を使って Base64 のエンコード/デコードを行い、bytes と str の両方のインターフェース(例:imgtob64 と imgtob64str)を提供します。
📄️ imdecode
imdecode(byte\_: bytes) -> np.ndarray | None
📄️ imencode
imencode(img str | int | IMGTYP = IMGTYP.JPEG, kwargs: object) -> bytes | None
📄️ imread
imread(path str = 'BGR', verbose: bool = False) -> np.ndarray | None
📄️ imwrite
imwrite(img str | Path | None = None, color_base str = '.jpg') -> bool
📄️ JPG Process
getorientationcode(stream: str | Path | bytes) -> ROTATE | None
📄️ npyread
npyread(path: str | Path) -> np.ndarray | None
📄️ pdf2imgs
pdf2imgs(stream: str | Path | bytes) -> list[np.ndarray] | None
📄️ PNG Process
pngencode