tess4j
tess4j copied to clipboard
Remove hardcoded support for TIFF from `jai-imageio`
Hi, thanks for the awesome library!
One issue I hit was that I'm using com.twelvemonkeys.imageio:imageio-tiff instead of com.github.jai-imageio:jai-imageio-core (because I have a number of other image-formats also from Twelve Monkeys so I thought it's best to stick with it). However, tess4j seems to have hardcoded support only for jai-imageio. Is it possible to somehow make it library-agnostic? Or, if that can't be done, to add support for the Twelve Monkeys version?
Thanks!
@boris-petrov It would be a challenge since tess4j has hard dependency on jai-imageio-core, which is a widely-used image library. We are not familiar with Twelve Monkeys to say it's possible. If you think you can make it library-agnostic, please submit a PR.
Thanks.