Powered by Ajaxy
Digg StumbleUpon LinkedIn YouTube Flickr Facebook Twitter RSS Reset

Java: Create a Buffered Image using Image class

Java: Create a Buffered Image using Image class
{filelink=10266}

import java.awt.Image;
import java.awt.Toolkit;
import java.awt.image.BufferedImage;
public class BufferedImageTOImage
{
  public static void main(String[] argv) throws Exception
  {
    BufferedImage bufferedImage = new BufferedImage(200, 200,
        BufferedImage.TYPE_3BYTE_BGR);
    Image img = Toolkit.getDefaultToolkit().createImage(
        bufferedImage.getSource());
  }
}

Users who found this page were searching for:

  • mail creatimage com loc:US
  • created class and import in java
  • mail creatimage.com

No comments yet.

Leave a Comment