🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.epoch.misc
Article #958

Inserting _BIT_maps, not _PIX_maps

#958
From: William M. Perry
Date: Thu, 08 Apr 1993 14:37
17 lines
1363 bytes
Hello all,
    Anybody know an easy way to insert an X11 bitmap into a buffer?
add-graphic-zone expects an xpixmap, and I've got the converters to go from
xbm to xpm, buts its kind of convoluted (xbmtopbm | pbmtorast | rasttoppm |
ppmtoxpm) and slow.  Converting a gif is more direct & faster (giftoppm |
ppmtoxpm).
    I figure there must be an easier way, since the primitives are there to
read in a bitmap and set the XXX-stipple to it.

Sorry if this is a FAQ, I couldn't locate one anywhere this early in the
morning. :)

Thanks,
    Bill Perry

PS: its so I can support inlined gif & bitmaps for my World Wide Web
browser for emacs.
Technical Details
Message-ID: <WMPERRY.93Apr8093727@ugly.ucs.indiana.edu>
Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!usenet.ucs.indiana.edu!usenet!wmperry

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fc7ee,29bff67e050ff13c,start
X-Google-Attributes: gidfc7ee,public
X-Google-ArrivalTime: 1993-04-08 07:48:02 PST
Newsgroups: gnu.epoch.misc
Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!usenet.ucs.indiana.edu!usenet!wmperry
From: wmperry@ugly.ucs.indiana.edu (William M. Perry)
Subject: Inserting _BIT_maps, not _PIX_maps
Message-ID: <WMPERRY.93Apr8093727@ugly.ucs.indiana.edu>
Sender: news@usenet.ucs.indiana.edu (USENET News System)
Nntp-Posting-Host: ugly.ucs.indiana.edu
Organization: Computer Science Student, Indiana University
Date: Thu, 8 Apr 1993 14:37:27 GMT
Lines: 17