← Về thư mục
- _finite_number · function · L52-L58 — def _finite_number(value: Any) -> float | None
- _dpi_pair · function · L61-L66 — def _dpi_pair(value: Any) -> tuple[float | None, float | None]
- _length_to_inches · function · L69-L86 — def _length_to_inches(value: str | None) -> tuple[float | None, str | None]
- _base_metadata · function · L89-L96 — def _base_metadata(path: Path) -> dict[str, Any]
- inspect_raster · function · L99-L156 — def inspect_raster(path: Path, *, max_pixels: int) -> dict[str, Any]
- inspect_svg · function · L159-L233 — def inspect_svg(path: Path) -> dict[str, Any]
- _pdf_font_report · function · L236-L318 — def _pdf_font_report(page: Any) -> dict[str, Any]
- embedded_status · function · L255-L280 — def embedded_status(font: Any) -> bool | None
- inspect_pdf · function · L321-L378 — def inspect_pdf(path: Path) -> dict[str, Any]
- inspect_eps · function · L381-L413 — def inspect_eps(path: Path) -> dict[str, Any]
- inspect_file · function · L416-L437 — def inspect_file( value: str | Path, *, max_bytes: int = MAX_INPUT_BYTES, max_pixels: int = DEFAULT_MAX_PIXELS, ) -> dict[str, Any]
- _normalize_formats · function · L440-L448 — def _normalize_formats(values: Iterable[str]) -> list[str]
- _check · function · L451-L465 — def _check( name: str, status: str, *, actual: Any, expected: Any, detail: str, ) -> dict[str, Any]
- screen_metadata · function · L468-L640 — def screen_metadata( report: dict[str, Any], *, expected_formats: Iterable[str] = (), expected_modes: Iterable[str] = (), min_dpi: float | None = None, max_dpi: float | None = None, min_width_px: int | None = None, max_width_px: int | None = None, min_height_px: int | None = None, max_height_px: int | None = None, max_file_bytes: int | None = None, target_width_mm: float | None = None, alpha_policy: str | None = None, ) -> dict[str, Any]
- build_parser · function · L643-L698 — def build_parser() -> argparse.ArgumentParser
- main · function · L701-L727 — def main(argv: list[str] | None = None) -> int