开发者

Converting an image in 8-bit grayscale RAW image in java

Please let me know how to convert 开发者_如何学编程a JPG/PNG/BMP image into a 8-bit grayscale RAW image in Java. Is it possible to obtain using ImageIO API?


You can convert an image to 8-bit grayscale using ColorConvertOp with a BufferedImage.TYPE_BYTE_GRAY as the filter() destination. Here's an example.

RAW is actually a family of vendor-defined image formats, many of which can be read with jrawio. Once converted, you might be able to write with ExifTool.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜