bytedeco/javacv
Ver no GitHubImage colors getting inverted by leptonica converter
Open
#1.136 aberto em 6 de fev. de 2019
bughelp wanted
Métricas do repositório
- Stars
- (6.985 stars)
- Métricas de merge de PR
- (Nenhuma PRs mesclada em 30d)
Description
I am using
LeptonicaFrameConverter c = new LeptonicaFrameConverter(); Frame f = c.convert(src); BufferedImage img = Java2DFrameUtils.toBufferedImage(f);
But the output image has inverted colors, ie 1->0 and vice versa.
using it for .tiff format. How can I resole this?
TIA.