cpdf-source/docsplits/pysplits/c14.tex

18 lines
644 B
TeX
Raw Normal View History

2024-04-17 02:14:40 +02:00
def getImageResolution(pdf, resolution):
2021-08-10 15:41:18 +02:00
"""Return a list of all uses of images in the PDF which do not meet the
minimum required resolution in dpi as tuples of:
2024-04-17 02:14:40 +02:00
(pagenumber, name, x pixels, y pixels, x resolution, y resolution, objnum).
"""
def imageResolutionJSON(pdf, resolution):
"""Return the image resolution data in JSON format."""
def getImages(pdf):
"""Return a list of images in the PDF as tuples of:
(object number, pages occurring, image name, width, height, size,
bitspercomponent, color space, filter)
"""
def imagesJSON(pdf):
"""Return the list of images in the PDF in JSON format."""