M
Martin M
Hi collegues,
I have two problems:
1.) I am calculating some pixels and show them on the mintor, but there is
no point or pixel class in java to show one pixel on the monitor. My
workaroung is to use Graphics g ; g.setColor(new Color(x,y,z) );
g.drawLine(x,y,1,1);
Are there any more polite ways to draw pixels on the screen ?
and
2)How do I am able to save my picture from screen in to a jpeg-files ?
Where can I get the jpeg saving and imaging (coding/decoding) algorithm ?
Regards,
Martin
I have two problems:
1.) I am calculating some pixels and show them on the mintor, but there is
no point or pixel class in java to show one pixel on the monitor. My
workaroung is to use Graphics g ; g.setColor(new Color(x,y,z) );
g.drawLine(x,y,1,1);
Are there any more polite ways to draw pixels on the screen ?
and
2)How do I am able to save my picture from screen in to a jpeg-files ?
Where can I get the jpeg saving and imaging (coding/decoding) algorithm ?
Regards,
Martin