Usually I always want to have the same filename for the pngs as for the pdfs, except for the file extension.
When I'm using this via CLI, I always have to pass the pdf paths, which is cumbersome in my use case.
This PR makes the png path optional to increase usability.
If there's no png path given, use pdf path and replace extension.
Usually I always want to have the same filename for the pngs as for the pdfs, except for the file extension. When I'm using this via CLI, I always have to pass the pdf paths, which is cumbersome in my use case.
This PR makes the png path optional to increase usability. If there's no png path given, use pdf path and replace extension.
example:
will create the file
example.png