gImageReader icon indicating copy to clipboard operation
gImageReader copied to clipboard

Application of external commands/scripts

Open bmix opened this issue 9 years ago • 2 comments
trafficstars

It would be nice, if there could be a possibility to execute external commands/scripts on each image-file (could be places in a contextual menu for the image) and for certain events, like "finnished ocr processing".

As an example I would like to be able to run Fred's ImageMagick Scripts' textcleaner on an image, if needed.

bmix avatar Nov 02 '16 18:11 bmix

Cool idea, though which scenario do you see for processing the image after OCR processing?

manisandro avatar Nov 02 '16 19:11 manisandro

As for the OCR post-processing script I did not think about applying it to the image, but to do it to the resulting text. But it was just a placeholder in my head, I have no specific idea for it. Currently I just use the reflow in your application, copy the text to the clipboard and insert it into LibreOffice, using one of any special template, I created for eBook creation and then I export as ePub.

But being able to start any external image-processor on an image, manually vie contextual menu, would be really great.

However, since you seem to be able to recognize paragraphs anyway, you could add another feature, which I will address in another issue #132, so not to mix ideas.

bmix avatar Nov 03 '16 11:11 bmix