java实现两张图片合成一张图片并保存文件 有一个image类不知有没有你说的这些功能 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 下载 Java 的JAI SDK吧以下这是相关的API的开发包和文档,它实现的功能绝对不比PhotoShop差!jai_imageio-1_0_01-doc.zipjai_imageio-1_0_01-lib-windows-i586-jdk.exejai1_0_1-guide.zipjai-1_1_2_01-lib-windows-i586-jdk.exejai-1_1_2-windows-i586-sample.exejai-1_1-mr-doc.zip 我做WEB系统比较多,对图片处理方面不通,有没有源码? 我用过ImageMagick,它是一个处理图象的软件。提供JAVA,C++,的实现借口。可以完成很多的图象处理功能楼主去查点资料吧 class FinishedIcon implements Icon{ private int x_pos; private int y_pos; private int width; private int height; private Icon fileIcon; private Image image; private Rectangle rect; public FinishedIcon(Icon fileIcon,Rectangle rect) { this.fileIcon = fileIcon; image = BaseFlowIcons.IMAGE_FINISH; width = fileIcon.getIconWidth(); height = fileIcon.getIconHeight(); rect=rect; } public void paintIcon(Component c, Graphics g, int x, int y) { this.x_pos = x; this.y_pos = y; int y_p = y + 2; g.drawImage(image, width, height / 2, null); if (fileIcon != null) { int w = (x - width) > 0 ? x - width : 0; fileIcon.paintIcon(c, g, width + 10, y_p / 2); } } public int getIconWidth() { return width + (fileIcon != null ? fileIcon.getIconWidth() : 0); } public int getIconHeight() { return height; } public Rectangle getBounds() { return new Rectangle(rect.x , rect.y , width, height); }} Java nio实现socket通信遇到的问题 axis发布的问题 菜鸟问题--struts的帮助xml文件用什么查看 单选框问题web 有谁知道开源项目:BIRT.! 为什么struts里录入的中文,到oracle数据库都变成了乱麻啊? 请问空中网怎么样, struts结构中,在action中取得一个string的字符串,然后像在页面中显示 用j2ee部署EJB的一个问题! ssm项目报错 是jdom的错,还是resin的错? JDBC连接MYSQL数据库出错,望大家指点!
以下这是相关的API的开发包和文档,它实现的功能绝对不比PhotoShop差!
jai_imageio-1_0_01-doc.zip
jai_imageio-1_0_01-lib-windows-i586-jdk.exe
jai1_0_1-guide.zip
jai-1_1_2_01-lib-windows-i586-jdk.exe
jai-1_1_2-windows-i586-sample.exe
jai-1_1-mr-doc.zip
它是一个处理图象的软件。提供JAVA,C++,的实现借口。
可以完成很多的图象处理功能
楼主去查点资料吧
implements Icon
{
private int x_pos;
private int y_pos;
private int width;
private int height;
private Icon fileIcon;
private Image image;
private Rectangle rect;
public FinishedIcon(Icon fileIcon,Rectangle rect)
{
this.fileIcon = fileIcon;
image = BaseFlowIcons.IMAGE_FINISH;
width = fileIcon.getIconWidth();
height = fileIcon.getIconHeight();
rect=rect;
} public void paintIcon(Component c, Graphics g, int x, int y)
{
this.x_pos = x;
this.y_pos = y; int y_p = y + 2; g.drawImage(image, width, height / 2, null); if (fileIcon != null)
{
int w = (x - width) > 0 ? x - width : 0;
fileIcon.paintIcon(c, g, width + 10, y_p / 2);
}
} public int getIconWidth()
{
return width + (fileIcon != null ? fileIcon.getIconWidth() : 0);
} public int getIconHeight()
{
return height;
} public Rectangle getBounds()
{
return new Rectangle(rect.x , rect.y , width, height);
}
}