opendatalab / PDF-Extract-Kit

A Comprehensive Toolkit for High-Quality PDF Content Extraction
GNU Affero General Public License v3.0
4.72k stars 319 forks source link

refactor(pdf_extract): remove hardcoded paste values in crop_img function #82

Closed myhloli closed 1 month ago

myhloli commented 1 month ago

The crop_img function now accepts crop_paste_x and crop_paste_y as parameters instead of using hardcoded values. This change makes the function more flexible andeasier to adjust for different use cases.