Redian新闻
>
Re: [转载] create gif/png image in C or ja
avatar
Re: [转载] create gif/png image in C or ja# Java - 爪哇娇娃
s*m
1

gif/png
format
Another way is to use a servlet to generate an image. In your html page, use
an image tag to convert the image object to output stream pipe.Here is the code snippet.
Just a references. Look up the details to suit your needs.
/*********************************************************/
ServletOutputStream out = response.getOutputStream();
Frame f
avatar
c*t
2
Google JFreeChart, you may use it as applet or application;

【在 s***m 的大作中提到】
:
: gif/png
: format
: Another way is to use a servlet to generate an image. In your html page, use
: an image tag : to convert the image object to output stream pipe.Here is the code snippet.
: Just a references. Look up the details to suit your needs.
: /*********************************************************/
: ServletOutputStream out = response.getOutputStream();

avatar
t*s
3
jimi is too old and not supported long time ago. In JDK 1.4, there is a new
package supproting generating png files. Forget about GIF since it is still
patented.

gif/png
solve
format
avatar
f*h
4
Is there anyway to generate ps file? For example, I want the graph on my
JFrame saved as a ps file.

【在 t****s 的大作中提到】
: jimi is too old and not supported long time ago. In JDK 1.4, there is a new
: package supproting generating png files. Forget about GIF since it is still
: patented.
:
: gif/png
: solve
: format

avatar
t*s
5
I don't know. But, these are two different kind of animals: one is pixel graph,
another is vector graphy

【在 f********h 的大作中提到】
: Is there anyway to generate ps file? For example, I want the graph on my
: JFrame saved as a ps file.

avatar
f*h
6

the one I am asking is kinda different. I use java 2d/3d to draw graph, using
something like drawline, drawoval, etc, sounds like vector-drawing.

【在 t****s 的大作中提到】
: I don't know. But, these are two different kind of animals: one is pixel graph,
: another is vector graphy

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。