janis91 / ocr

Nextcloud OCR (optical character recoginition) processing for images with tesseract-js
GNU Affero General Public License v3.0
107 stars 17 forks source link

configurable file name extension #227

Closed dt64 closed 4 years ago

dt64 commented 5 years ago

currently OCR'd PDFs get a new name like filename-ocr.pdf. (if the oroginal is kept)

would be great if that "-ocr" was configurable.

Reason: running an installation where documents are OCR'd in a batch bei cron or manually, depending on usecase. These processes add their own extention in a similar way. If now a new file is uploaded requiring instant OCRing is gets the "-ocr" extension and if the batch runs another one is created with the other processes extension. The batch processes will OCR any file which doesn't have an equivalent file with their own extension...

janis91 commented 4 years ago

PDF is no longer supported within this app. Probably there will be an additional app to modify PDF documents.