[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Groff] images

From: Ted Harding
Subject: RE: [Groff] images
Date: Sat, 09 Feb 2002 15:49:53 -0000 (GMT)

On 09-Feb-02 Werner LEMBERG wrote:
> Gaius has sent me a small PNG image for inclusion into groff.  But I'm
> hesitating to do that because until now there is no binary data in the
> whole package.
> So my question: Does somebody know a non-binary image format or
> something similar?

Hi Werner,

One possibility is the "xbm" format, much used for program
icons in X, since these use only ASCII characters. It depends
what you mean by "binary2, though.

A typical xbm file has structure (quote):

   #define splashScreen11_width 508
   #define splashScreen11_height 372
   static char splashScreen11_bits[] = {

i.e. it looks just like a C array initialisation.
Its contents are "binary" in as much as the data
are expressed as hexadecimal bytes, but these
are given the standard C representation in ASCII.
So of course you can change them using a text editor.

[The above defines the Adobe Acrobat Reader splash
screen, splashScreen11R.xbm].

By the way, you don't say what Gaius's png is for.
Can we have a look at it? <pretty please>


E-Mail: (Ted Harding) <address@hidden>
Fax-to-email: +44 (0)870 167 1972
Date: 09-Feb-02                                       Time: 15:49:53
------------------------------ XFMail ------------------------------

reply via email to

[Prev in Thread] Current Thread [Next in Thread]