Results 1 to 2 of 2
  1. #1
    aartheesrini is offline Member
    Join Date
    Mar 2009
    Posts
    2
    Rep Power
    0

    Post Save image as JPEG

    I have an image object...
    I wanna save it as JPEG file....
    Pl help me with code(JAVA)....

  2. #2
    ScottVal is offline Member
    Join Date
    Jan 2009
    Posts
    35
    Rep Power
    0

    Default Save Image as JPEG

    Try this:

    BufferedImage image;
    File file;
    javax.imageio.ImageIO.write(image, "jpeg", file);

    -scott

Similar Threads

  1. how to save image as jpg?
    By katie in forum New To Java
    Replies: 4
    Last Post: 04-15-2010, 11:07 AM
  2. Placing a JProgressBar over my JPEG image
    By hitmen in forum AWT / Swing
    Replies: 7
    Last Post: 03-08-2009, 11:16 AM
  3. Image Coversion .indd to .jpeg
    By vipin.arora@hcl.in in forum AWT / Swing
    Replies: 4
    Last Post: 02-12-2009, 08:52 AM
  4. To open an image file such as Jpeg file using JAva Program
    By itmani2020 in forum Advanced Java
    Replies: 10
    Last Post: 07-11-2008, 10:57 AM
  5. Simplest way to read and display a jpeg image
    By Hasan in forum New To Java
    Replies: 1
    Last Post: 05-31-2007, 04:42 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
  •