https://github.com/red6/pdfcompare
Проблема в том, что я игнорирует некоторые части PDF, и мне нужны координаты для этого. Как мне получить координаты, как упомянуто в документации? Я исследовал, но все используемые инструменты только показывают координаты x и y, мне нужно здесь 4 измерения. < /P>
Код: Выделить всё
exclusions: [
{
page: 2
x1: 300 // entries without a unit are in pixels. Pdfs are rendered by default at 300DPI
y1: 1000
x2: 550
y2: 1300
},
{
// page is optional. When not given, the exclusion applies to all pages.
x1: 130.5mm // entries can also be given in units of cm, mm or pt (DTP-Point defined as 1/72 Inches)
y1: 3.3cm
x2: 190mm
y2: 3.7cm
},
{
page: 7
// coordinates are optional. When not given, the whole page is excluded.
}
]
Подробнее здесь: https://stackoverflow.com/questions/680 ... ected-area