bytedeco/javacv

Image colors getting inverted by leptonica converter

Open

#1,136 建立於 2019年2月6日

在 GitHub 查看
 (7 留言) (0 反應) (0 負責人)Java (1,583 fork)batch import
bughelp wanted

倉庫指標

Star
 (6,985 star)
PR 合併指標
 (30 天內沒有已合併 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.

貢獻者指南