CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Sep 2000
    Location
    Israel
    Posts
    2

    BMP/GIF displaying

    I have a Java applet that diplays text it recieves from a distant server.Now i want to add GIF/BMP's to the packets and display them.

    So the problem is: What is the easiest way to load a BMP/GIF from a buffer (not a URL) and how do i display it?

    David Braunstein
    Programmer ,WebDiving-technologies

  2. #2
    Join Date
    May 1999
    Location
    Pune, MH, India.
    Posts
    453

    Re: BMP/GIF displaying

    I don't think there is direct support for BMPs in Java.

    But for GIFs, if you get data of a GIF "exactly same" as a byte array, you might be able to create Image object out of it. And use it in your applet just like other Image objects.

    - UnicMan
    http://members.tripod.com/unicman

  3. #3
    Join Date
    Sep 2000
    Location
    Israel
    Posts
    2

    Re: BMP/GIF displaying

    thx for answering,but ...
    The answer describes about, what i thought. Is there any more information you could give me ?


    David Braunstein
    Programmer ,WebDiving-technologies

Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured