Problem with saving the image in JPEG, PNG format on LINUX

THe project I am working on has an option to save the drawing on canvas in form of an JPEG, PNG or GIF formats. The code i have donw is working fine but the same code does not work on Linux-ubuntu. If I try to save the image in any of these formats, the image get saved but with no color except black. That is all the colored pixels are turned to black.

Can any of you guys please help me...?

regards..

[421 byte] By [Christia] at [2007-11-27 10:46:49]
# 1

In addition to above, the code is throwing following error

Java 3D ERROR : FBConfig doesn't support pbuffer or pixmap returns None

Regards....

Christia at 2007-7-28 20:21:06 > top of Java-index,Security,Cryptography...
# 2

More information is necessary. What facilities exactly are you currently using when you try to produce the image file?

markt1964a at 2007-7-28 20:21:06 > top of Java-index,Security,Cryptography...