home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fish 'n' More 2
/
fishmore-publicdomainlibraryvol.ii1991xetec.iso
/
dirs
/
bi_375.lzh
/
BI
/
BI.docs
< prev
next >
Wrap
Text File
|
1989-06-06
|
4KB
|
68 lines
>>> BI 1.3 ©1990 by Terry W. Gintz <<<
BI is a brush-to-image 'C' code generator intended to be used from CLI.
Any IFF ILBM or brush file may be loaded (except HAM) and converted to 'C'
code for use as a gadget image, etc. BI will display the image in low or
high resolution, hi-res interlaced, and 672X432 overscan mode.
BI 1.3 adds support for Basic programmers.
About the menus:
The project menu:
"Load Image" loads any ILBM IFF file up to the size of the current
screen, and converts it to an image that is displayed on the main drawing
window. A requester will ask the user to label the image, and any generated
code will use that label for the Image structure and USHORT data. BI
displays the image using the colormap from the loaded file, but all menu and
requester operations are performed with the default system palette. All
bitplanes in the image file are loaded (even if in hi-res screen mode.)
You can flip between resolutions with the screen menu, and
BI will display the fifth bitplane (if the image was lo-res and had
five bitplanes when loaded) when the image is drawn on a lo-res screen.
The code generated will contain as many bitplanes as the original IFF
file, up to the depth limit of the current screen. If the image is too
large to display on the screen selected, a blank window will appear when
you switch resolutions, but the image is retained in memory.
"Load IFF" loads any ILBM IFF file up to 672 pixels wide by 432 rows
high, and displays the file in the lowest resolution required. The screen
menu is disabled at this time, but resolution is checked. You then choose
"Make Image" to cut out an image (up to the screen-size limit), by clicking twice
with the left mouse button to define the image at its rectangular corners.
The size of the image is shown at the bottom of the screen, after clicking
the first time. The numbers are continuously updated as the mouse pointer is
moved around, until the image has been fixed by clicking again.
The image is then displayed at the current resolution, and the screen menu
is enabled for changing resolution, if desired. A requester will ask for a
label for the new image, as in the "Load Image" option.
"Make Image" uses only those bitplanes that were present in the
original IFF file, up to the depth limit of the current screen.
"Generate 'C' Code" writes the 'C' code to a file (via a file requester).
First, the color palette for the image is written, then
both the Image structure and its associated ImageData are written.
"Generate 'Basic' Code writes the PALETTE statements and DATA statements
that allow the basic programmer to PUT the images on the output window. You
must first READ the data into an array. The number of elements in the
integer array must be at least (3 + int(width of the image in pixels+16)/16)
*(height of image in rows)*(depth of image)). A sample basic file is
provided to illustrate the use of the basic file created by BI.
Choose "Quit" to exit BI.
The Screen menu allows you to see the image in resolutions other than lo-res,
to determine the effects of screen aspect (pixel width vs height) on the
image, when the image will be used in hi-res applications.
Any questions, comments or donations for this program should be addressed to:
Terry W. Gintz
4237 Marcum Lane
Eugene, Or 97402
A $20 donation for BI gets you the docs to all my current programs
(including those not in the Fred Fish collection), a choice of any of them
at $5 off the suggested price, and update privileges for $10.