bytedeco/javacv

Image colors getting inverted by leptonica converter

Open

#1,136 opened on 2019年2月6日

GitHub で見る
 (7 comments) (0 reactions) (0 assignees)Java (1,583 forks)batch import
bughelp wanted

Repository metrics

Stars
 (6,985 stars)
PR merge metrics
 (30d に merged PR はありません)

説明

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.

コントリビューターガイド