how to save image as jpg?
I have made an application that reads a jpg image, manipulates it like a filter and exports the new data array to a MemoryImageSource and then to an Image.
How can I save this Image or MemoryImageSource to a legal image file such as Bmp, Jpg?
thanks in advance
Converting text to image in java awt
This tip describes how text can be converted to image using Java awt..
Step1: Create a String which we will convert to image
Step2: Create a BufferedImage
Step3: Create get the height and width of the String
Step4: call the createGraphics(), which draws the BufferedImage object to Graphics2D object
Step6: set the font color, backgroung color etc as required
Any suggestions are appreciated.