home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Acorn User 4
/
AUCD4.iso
/
art_design
/
imaging
/
merge_sprs
/
!MergeSprs
/
!Help
next >
Wrap
Text File
|
1998-08-08
|
2KB
|
57 lines
_ _ ___
| \/ |___ _ _ ____ ___ / __|_ __ _ _ __
| / o_) '_/ _' / o_)\__ \ '_ \ '_( _| Front end: 0.01 (23 May 1998)
|_||_\___|_| \__ \___||___/ .__/_||__) Back end: 0.01 (23 May 1998)
|___/ |_| © Darren Salt, 1998
This program allows the merging of two images of the same size. All you need
to do is to drag a sprite file (from a Filer window) to the MergeSprs icon on
the icon bar and a save box will appear. This contains the normal save box
clutter :-)
The sprite file format
----------------------
The sprite file contaning the image to be converted may contain between two
and four sprites, representing two images.
The first image may consist of one or two sprites. The first is the image to
be converted, and may be of any depth and can have a palette. It may also
have a mask; if not, then if the following sprite is 8bpp greyscale, it is
used as an alpha channel. Otherwise, the image has no mask.
The second image immediately follows the first, and again may consist of one
or two sprites. The first is the image to be converted, and may be of any
depth and can have a palette. It must have either a simple mask (as part of
the first sprite) or an alpha channel (this, the second sprite, must be 8bpp
greyscale).
All sprites must have the same dimensions.
Output is always in the form of one 24bpp sprite of the same dimensions and a
mask (if the first image had one).
A future version may attempt to convert the image to <=8bpp (without losing
any palette information) and that an attempt be made to convert the alpha
channel to a simple mask.
The back end
------------
Is run in a taskwindow whenever !MergeSprs is used to convert an image. It
may be used from the command line, as follows:
<MergeSprs$Dir>.MergeSprs {src} {dest}
{src} The source file (sprite).
{dest} The destination file (sprite).
Contact
-------
ds@youmustbejoking.demon.co.uk