Results 1 to 2 of 2
  1. #1
    jim93 is offline Member
    Join Date
    Sep 2011
    Posts
    1
    Rep Power
    0

    Default Saving a lattice into an image file

    Im not sure where to start. I can create a 2d lattice an keep it in an array with 2 indices
    but I want to be able to form an array of int[][] form and make it into a
    saved image of some common format (jpeg,gif).

  2. #2
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,271
    Rep Power
    25

    Default

    Create a BufferedImage, draw on that image and use ImageIO to write it to an image file

Similar Threads

  1. how to extract specific data from image file and saving in to database
    By Balasubrahmanyam in forum Enterprise JavaBeans (EJB)
    Replies: 1
    Last Post: 07-27-2011, 02:19 PM
  2. Need help with saving an image
    By Manifesto32 in forum New To Java
    Replies: 2
    Last Post: 04-01-2011, 04:35 AM
  3. saving an image
    By shakeel in forum Java 2D
    Replies: 1
    Last Post: 12-25-2010, 10:08 AM
  4. Error in saving an Image????
    By LankanSniper in forum Java 2D
    Replies: 4
    Last Post: 11-07-2009, 04:48 AM
  5. Saving image to sever.
    By dudejonne in forum New To Java
    Replies: 5
    Last Post: 11-03-2009, 02:01 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •