Results 1 to 4 of 4
  1. #1
    sayan751 is offline Member
    Join Date
    Feb 2009
    Posts
    29
    Rep Power
    0

    Default Retrieve Image From Hard Disk

    i am doing a small project with core java(no jsp or servlet) in which it is needed to fetch an image from the hard disk.
    is it possible to do that without using applet??
    thanx in advance.

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,422
    Rep Power
    20

    Default

    Loading an image from a file doesn't have anythng to do with using an Applet. Look up the API for ImageIO and Toolkit.

    db

  3. #3
    sayan751 is offline Member
    Join Date
    Feb 2009
    Posts
    29
    Rep Power
    0

    Default

    thanx Darryl.Burke for your reply.
    but it will be helpful if u describe it a little.actually i want to retrieve image from secondary memory and want to do work on the pixels.

    the second part i achieved through applet,but i am not happy it. i was thinking if something can be done by the swing.

    thanx
    Impossible is Nothing

  4. #4
    Steve11235's Avatar
    Steve11235 is offline Senior Member
    Join Date
    Dec 2008
    Posts
    1,046
    Rep Power
    7

    Default

    Applet is the wrong way to go. Start with JFrame, add a JPanel to the content pane.

    DB pointed you in the right direction. Use ImageIO.read().

Similar Threads

  1. how to save image to disk after using pixelgrabber
    By shishirg in forum Advanced Java
    Replies: 5
    Last Post: 02-28-2009, 03:45 PM
  2. How to store/retrieve PNG image in/from RMS
    By jason-nexFIT-mobileXware in forum CLDC and MIDP
    Replies: 0
    Last Post: 09-10-2008, 05:01 AM
  3. copy image/imageicon into a file on disk
    By archanajathan in forum Advanced Java
    Replies: 2
    Last Post: 11-22-2007, 07:21 AM

Posting Permissions

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