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

问题描述

我需要ImageIO以外的其他内容来读取jpeg并将其放入BufferedImage对象.使ImageIO在servlet中工作存在一些问题.我正在与ImageIO开发人员合作,但到目前为止还算不上运气,它可能永远无法在服务器端运行.我正在使用Wildfly应用服务器.因此,我需要ImageIO的Java备份,该备份将读取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吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-30 12:53