如何保存在服务器上通过Java applet上的图像文件? [英] How to save an image-file on server through Java applet?

查看:184
本文介绍了如何保存在服务器上通过Java applet上的图像文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个运行作为Java applet的涂料应用。我需要服务器计算机上画布的内容保存在任何图像格式通常PNG。请帮助!

I have a paint application that runs as a Java applet. I need to save the contents of the canvas on server machine in any image-format typically PNG. Please help!

推荐答案

您可能会感兴趣的code我写了处理,这基本上是Java的code。
<一href=\"http://processing.org/discourse/yabb_beta/YaBB.cgi?board=Syntax;action=display;num=1212658813;start=15#15\"相对=nofollow称号=回复:保存到网络---图像导出>回复:保存到网络---图像导出。在线程我解释,这样的应用程序采取了一些precautions早些时候(免驱来自恶意用户的服务器),我给相应的PHP code。

You might be interested by the code I wrote for Processing, which is basically Java code. Re: save to web --- image export. Earlier in the thread I explain some precautions to be taken with such application (to avoid flooding a server from a malicious user) and I give the corresponding PHP code.

这篇关于如何保存在服务器上通过Java applet上的图像文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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