Results 1 to 2 of 2
  1. #1
    ea25 is offline Member
    Join Date
    Apr 2010
    Posts
    8
    Rep Power
    0

    Default Streaming an image byte by byte (and similtaneosly rendering it on screen)

    Hi, my first post here. I'm new to Java gui. I am trying to create an applet that loads a big image file (>10000kb) from a url and simultaneously paints it on the screen bit by bit (before it is entirely loaded). In other words, the effect I want is the same as when loading a huge image file from a browser by which the image is rendered line by line. I would appreciate any help regarding this issue and where I shall start looking at

  2. #2
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,315
    Blog Entries
    1
    Rep Power
    26

    Default

    Most simple apps can get by with the ImageIO class's static read(...) method, but your requirements will need something more flexible than this. I suggest that you have a look at the ImageIO API Guide which you can find here: Java Image I/O API Guide

    Best of luck!

Similar Threads

  1. convert byte[] to image
    By brijesh.baser in forum Java Servlet
    Replies: 0
    Last Post: 03-13-2009, 02:44 PM
  2. raw byte stream to image
    By nupurashi in forum Advanced Java
    Replies: 2
    Last Post: 01-29-2009, 08:48 AM
  3. [SOLVED] Image to byte[]
    By playwin2 in forum New To Java
    Replies: 25
    Last Post: 09-23-2008, 06:50 PM
  4. work on byte image in j2me
    By sunitikumar in forum CLDC and MIDP
    Replies: 0
    Last Post: 07-24-2008, 05:12 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
  •