开发者

Java: Image Loader Library (JPG, PNG, GIF, TIFF, TGA)

开发者 https://www.devze.com 2023-02-24 04:25 出处:网络
Advise me an image loader 开发者_运维百科library which could load such formats as JPG, PNG, TIFF, TGA.

Advise me an image loader 开发者_运维百科library which could load such formats as JPG, PNG, TIFF, TGA. It would be great if It could say me a pixel formats, such as R8G8B8, R5G6B5,..


BufferedImage is a pretty common one that is used. Check out the docs here. If you want something that wraps the entire process, look at ImageIO. Use the

public static BufferedImage read(File input)

method.

0

精彩评论

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

关注公众号