bytedeco/javacv
Voir sur GitHubImage colors getting inverted by leptonica converter
Open
#1 136 ouverte le 6 févr. 2019
bughelp wanted
Métriques du dépôt
- Stars
- (6 985 stars)
- Métriques de merge PR
- (Aucune PR mergée en 30 j)
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.