This section shows how to get the number of pages in a PDF file, get information about PDF page properties such as color and set page properties.... color_type color_type_map = { ap . ColorType . BLACK_AND_WHITE...color_description = color_type_map . get ( page_color_type , "unknown"...