reHackable / maxio

Companion daemon for the reMarkableā„¢ paper tablet
GNU Lesser General Public License v3.0
156 stars 52 forks source link

Added command-line parameters to override the default x-width and y-width settings #25

Open sylvainhalle opened 6 years ago

sylvainhalle commented 6 years ago

Some documents don't have the default proportions of 1872x1404 pixels (for example, US Letter documents). Exporting the lines file as SVGs will result in lines placed at incorrect locations when superimposed onto the original PDF in those cases. The problem is solved when overriding these default settings with the proper pixel values for the document size (1805x1404 in the case of US Letter). The proposed modification allows users to specify these values as (optional) command line arguments. The default behavior of the program is left unchanged.

sylvainhalle commented 6 years ago

Also added possibility for more than 99 pages in output filenames