Results 1 to 2 of 2
  1. #1
    GiGo is offline Member
    Join Date
    Oct 2012
    Posts
    1
    Rep Power
    0

    Default retrieve single image via its url in java

    I have a problem and I hope that you can help me. I would appreciate any help from anyone. The problem is the following.

    I have a camera that has an http service, and I am communicating with the camera using the http. So the problem is that I send http request and I have back an http response in which I have a binary jpeg data. But I do not know how to convert that data into picture.

    So my question is how can I convert that binary data into picture with java?

    This is one example

    http request:

    GET (url to picture)
    http response:

    binary jpeg data
    I thank to all of you in forward for all of your help.

    retrieve single image via its url in java

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is online now Moderator
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    10,087
    Rep Power
    17

    Default Re: retrieve single image via its url in java

    Read the API for ImageIO, you should find something useful there.

    db
    Why do they call it rush hour when nothing moves? - Robin Williams

Similar Threads

  1. how retrieve and display image from folder
    By daisy in forum JavaServer Pages (JSP) and JSTL
    Replies: 1
    Last Post: 12-13-2011, 05:14 AM
  2. retrieve file containg image from database
    By rajeshwari_ib in forum Advanced Java
    Replies: 5
    Last Post: 12-15-2009, 09:10 AM
  3. Retrieve Image From Hard Disk
    By sayan751 in forum AWT / Swing
    Replies: 3
    Last Post: 02-20-2009, 03:29 PM
  4. 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, 04:01 AM
  5. Replies: 0
    Last Post: 01-08-2008, 05:29 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
  •