metebalci / pdftitle

a utility to extract the title from a PDF file
GNU General Public License v3.0
131 stars 21 forks source link

Can't set parameters from API #33

Open dwahdany opened 1 year ago

dwahdany commented 1 year ago

I might have overlooked something, but it seems there is no way to adjust the parameters from API calls, e.g. you can't call get_title_from_file(path, algo='max2').

metebalci commented 1 year ago

I didnt plan pdftitle to be embedded or used as a library, it is a command line utility, so none of such uses are considered. However, it seems there is an interest in this but I probably have to change more things.