开发者

PHP ImageJPEG method but for Java

I'm looking for a Java solution to this. I need a Java method that behave exactly the same as php IMAGEJPEG method does.

开发者_JAVA百科

Thanks in advance.


Here is a really good tutorial on saving images in Java http://download.oracle.com/javase/tutorial/2d/images/examples/.
The specific class you want to look at is ImageIO http://download.oracle.com/javase/1.4.2/docs/api/javax/imageio/ImageIO.html
Finally, to adjust quality, take a look at this article http://www.universalwebservices.net/web-programming-resources/java/adjust-jpeg-image-compression-quality-when-saving-images-in-java

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜