pdf.js-extract icon indicating copy to clipboard operation
pdf.js-extract copied to clipboard

Mediabox values of pdf page size

Open dzocespd opened this issue 1 year ago • 0 comments

Is it possible to extract or return the values of the pdf's MediaBox page size?

The result returned is the correct size of the pdf (the CropBox values) as:

 "pageInfo": {
        "num": 2,
        "scale": 1,
        "rotation": 270,
        "offsetX": 0,
        "offsetY": 0,
        "width": 3371.6035,
        "height": 1227
      }

Also could minX and minY be returned? image

dzocespd avatar Dec 25 '24 10:12 dzocespd