Results 1 to 2 of 2
- 12-26-2008, 07:16 PM #1
Member
- Join Date
- Dec 2008
- Posts
- 1
- Rep Power
- 0
- 12-28-2008, 10:38 AM #2
Member
- Join Date
- Oct 2008
- Location
- UK
- Posts
- 65
- Rep Power
- 0
Create a BufferedImage. Take a look at the setRGB method. The latest documentation is here: BufferedImage (Java Platform SE 6).
You can use the write method of the ImageIO class to save to a PNG file. There is an example here: Saving a Generated Graphic to a PNG or JPEG File (Java Developers Almanac Example).
Similar Threads
-
2d array to image
By Nina* in forum New To JavaReplies: 1Last Post: 10-01-2008, 04:08 PM -
how to convert an image in to pixels
By Shyam Singh in forum New To JavaReplies: 7Last Post: 09-22-2008, 01:32 PM -
To open an image file such as Jpeg file using JAva Program
By itmani2020 in forum Advanced JavaReplies: 10Last Post: 07-11-2008, 09:57 AM -
2D Array to image
By fred in forum Java 2DReplies: 1Last Post: 07-24-2007, 01:52 AM -
Deleting certain image pixels..
By Brightside in forum New To JavaReplies: 1Last Post: 05-22-2007, 09:21 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks