🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac
Article #31008

Re: MacPaint file conversion

#31008
From: Juergen Wagner
Date: Sat, 06 Aug 1988 23:03
82 lines
4360 bytes
In article <3422@phoenix.Princeton.EDU> Scott Louis Englander writes:
>...
>Is there a way to go from Sun rasterfile --> MacPaint?

Yes, Virginia, there is a way to do this. I have written a package to convert
between currently 16 bitmap formats, including MacPaint. You can convert any
input format of this package to MacPaint documents.

The package is currently being cleaned up and I am fixing some bugs/ugly
things. I expect it to be ready some time next week. I'll submit the package
("bmx", bitmap conversion, by the name) to comp.sources.unix, and for those of
you on the Internet it will be available from csli.stanford.edu (#36.9.0.46)
via anonymous ftp from pub/Gandalf/bmx.* from some time next week on.

Stay tuned,
Juergen "Gandalf" Wagner,		   gandalf@csli.stanford.edu
Center for the Study of Language and Information (CSLI), Stanford CA

----------------------------------------------------------------------------
*** Bitmap Conversion program: `bmx' (Version beta-2.2) ***
[BitConv, Copyr 1988, Juergen Wagner (gandalf@csli.stanford.edu)]

This program converts bitmaps between different formats. It
supports a variety of bitmap formats both, for input and output,
a few (printer languages) are only available as output formats.
The package serves as an interface to a library of C functions
which provide I/O and other operations for bitmaps in the formats
listed below.

The command line syntax is:

   bmx [ operators... ]

where 'operations' is a list of operation names followed by some
optional arguments. Operation names are:
   -in            Read a bitmap file
   -out           Write a bitmap file
   -info          Print information about a bitmap
   -list          List all bitmaps currently loaded
   -log           Write an action log
   -inv           Invert all bits
   -rev           Reverse bits (word-wise)
   -rev2          Reverse bits (byte-wise)
   -swap          Swap bytes (word-wise)
   -frame         Frame the bitmap
   -help          Print help information

For a list of applicable arguments for these operators, please
see the manual page for this program. Because of their frequent
use, here a syntax description for the -in and -out operators:

   -in name format file options...
   -out name format file options...

where 'name' is the bitmap name (a string), 'format' is one of the
input/output formats listed below, 'file' is the name of the file,
the bitmap shall be read from/written to, and 'options' are some
additional arguments for the conversion operator (see man page).

The available input/output formats are:
   gandalf       (gandalf, g)  Gandalf's favourite format
   ascii         (asc, a)      ASCII representation
   raster        (ras, r)      Sun Rasterfile
   iconedit      (icon, i)     Sun Iconedit file
   impress       (imp, l)      imPRESS format
   dlionbm       (dlion, d)    Xerox-1108 InterLISP bitmap
   laserjet      (lj, h)       HP LaserJet format
   macpaint      (macp, m)     MacPaint documents
   postscript    (ps, p)       (nano-)PostScript (images only)
   printronix    (ptx, t)      Printronix printer format
   sixel         (six, s)      Sixel format (LN03 printer)
   ucbvax        (ucb, u)      Weird format of ucbvax:pub/xbackground/*
   xbitmap       (xicon, x)    X bitmap (header file)
   xwindow       (xwd, w)      X Window Dump format
   g4fax         (fax, f)      G4 FAX Format (CCITT Rec. T.4/T.6, VII.3)
   cvl           (cvl, c)      CVL Format

Please send bug reports, comments, enhancements, etc. to
	Juergen Wagner (gandalf@csli.stanford.edu).
-- 
Juergen "Gandalf" Wagner,		   gandalf@csli.stanford.edu
Center for the Study of Language and Information (CSLI), Stanford CA
Technical Details
Message-ID: <4929@csli.STANFORD.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!uwmcsd1!ig!agate!ucbvax!decwrl!labrea!csli!gandalf
References: <6525@umn-cs.cs.umn.edu> <3422@phoenix.Princeton.EDU>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!uwmcsd1!ig!agate!ucbvax!decwrl!labrea!csli!gandalf
From: gandalf@csli.STANFORD.EDU (Juergen Wagner)
Newsgroups: comp.sys.mac,comp.sys.mac.programmer
Subject: Re: MacPaint file conversion
Keywords: macpaint paintraster bitmaps
Message-ID: <4929@csli.STANFORD.EDU>
Date: 6 Aug 88 23:03:23 GMT
References: <6525@umn-cs.cs.umn.edu> <3422@phoenix.Princeton.EDU>
Reply-To: gandalf@csli.stanford.edu (Juergen Wagner)
Organization: Center for the Study of Language and Information, Stanford U.
Lines: 82