:tocdepth: 3 :py:mod:`gws.lib.pdf` ===================== .. py:module:: gws.lib.pdf **Source code:** :source:`gws.lib.pdf` Package Contents ---------------- .. py:function:: concat(paths: [str], out_path: str) -> str Concatenates multiple pdfs into one. The order of the pages are the same as the order of the paths in the list. :param paths: Paths to the pdfs. :param out_path: Path to the output pdf. :returns: Path to the concatenated pdf. .. py:function:: overlay(a_path: str, b_path: str, out_path: str) -> str Overlay two pdfs page-wise. :param a_path: Path to pdf a. :param b_path: Path to pdf b, which will be placed on top. :param out_path: Path to the output pdf. :returns: Path to the output pdf. .. py:function:: page_count(path: str) -> int Returns the amount of pages for a given pdf. :param path: Path to the pdf. :returns: Amount of pages in the pdf.