Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: Could watcher.py be enhanced to support the conversion of single or multi TIF and JPG files to PDF? #1284

Open
EvilQoo opened this issue Apr 5, 2024 · 1 comment
Assignees

Comments

@EvilQoo
Copy link

EvilQoo commented Apr 5, 2024

Describe the proposed feature

Could watcher.py be enhanced to support the conversion of single or multi TIF and JPG files to PDF?

@jbarlow83
Copy link
Collaborator

Using python watcher.py --patterns '*.pdf,*.PDF,*.jpg,*.JPG' would include and convert JPG.

I realized there is an issue in that watcher.py will not fix the filename extension for non-PDF. This will be fixed.

Converting TIFF to PDF is something I'm reluctant to set up - TIFF can contain multiple images, but it's not always clear whether the images represent pages, animation frames, different level of detail of the same image, or something else; and then the TIFF format itself is rather complex. You're best off using TIFF software to inspect incoming TIFFs. You could try img2pdf as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants