W3C home > Mailing lists > Public > www-lib@w3.org > July to September 1999

Re: For help(Please)

From: Raffaele Sena <raff@nuvomedia.com>
Date: Thu, 1 Jul 1999 11:31:45 -0700
Message-ID: <012701bec3ef$fdd5cd40$303728ce@aromatic.com>
To: <suxm@cpqmail.cs.tsinghua.edu.cn>, <www-lib@w3.org>

> Hello, everyone.
> I am writing a GUI basic browser with libwww.
> But I don't have enough knowledge-base about
> GUI browser. I don't know how to display
> images in browser with libwww.
> I wonder if you would like to show me some
> basic GUI browsers based on libwww(Just for
> pasering HTML and display images).
>
    As I said before I don't know of any public domain GUI basic browser
based on libwww.
    Amaya and Arena are based on libwww but only for the protocol stuff
(they have their own
    HTML parser.

    Writing a simple browser with basic support images support is not so
difficult.
    If you can find (or write) a rich text renderer (and some of the current
graphic framework
    usually supply one), you can feed it with text and style changes
generated by the HTML
    parser.

    For images you basically grab the URL from the SRC tag and read the
image in
    (with a HTLoadToFile, if you want to do it syncronously or any other
HTLoad, if you
    set the appropriate callbacks for the MIME type - image/*)

    This is basically it, at least to start.

    If anybody has an idea for a public domain graphic framework that runs
on both Unix boxes
    and Windows, I think we could easily write a basic sample program.

-- Raffaele
Received on Thursday, 1 July 1999 14:29:09 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:15:16 UTC