除了 ImageIO 之外,还有其他类可以将图像读入 BufferedImage 吗? [英] Is there some other class than ImageIO to read images into BufferedImage?

查看:50
本文介绍了除了 ImageIO 之外,还有其他类可以将图像读入 BufferedImage 吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要 ImageIO 以外的东西来读取 jpeg 并将其放入 BufferedImage 对象中.让 ImageIO 在 servlet 中工作存在问题.我正在与 ImageIO 开发人员合作,但到目前为止没有运气,它可能永远不会在服务器端工作.我正在使用 Wildfly 应用服务器.所以我需要一个 Java 的 ImageIO 备份,它将读取 jpeg 并传输到 BufferedImage.有什么推荐吗?

I need something other than ImageIO to read in a jpeg and put into a BufferedImage object. There are issues with getting ImageIO to work in servlets. I am working with the ImageIO developers but so far no luck and it may never work on the server side. I am using Wildfly app server. So I need a backup for Java for ImageIO that will read in a jpeg and transfer to a BufferedImage. Any recommendations?

推荐答案

根据其他人的推荐,我将使用 iCafe 或类似的东西在服务器端读取 jpeg.尽管我在谷歌搜索后看到了一些文章,但 Imageio 确实适用于客户端.谢谢大家 我真的很感谢您的回复!

As recommended by others I will use iCafe or something like it for reading a jpeg on the server side. Imageio is really meant for client side despite the articles I have seen after googling. Thanks All I really appreciated your responses!

这篇关于除了 ImageIO 之外,还有其他类可以将图像读入 BufferedImage 吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆