home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club Amiga de Montreal - CAM
/
CAM_CD_1.iso
/
files
/
058.lha
/
COLLAGE.doc
< prev
next >
Wrap
Text File
|
1986-11-20
|
3KB
|
65 lines
COLLAGE (VERSION 1.0)
(IN AMIGA BASIC)
BY
"HERMES"
This program, "COLLAGE", picks up a piece of a picture in a window
and allows you to paste it anywhere in the picture as many times as the
heap space permits.
It uses Carolyn Scheppner's "LoadACBM" program.
The method is described below. Please send me a message if you have
any problems with it. I shall be more than happy to help.
(1) Get a new disk and name it "MYDISK". Then get a copy of the file
"ILBM-ACBM.ARC". Put this copy along with a copy of "COLLAGE" on "MYDISK".
(2) Follow the directions included in the ARC file above in order to
make a working copy of the program "LoadILBM-SaveACBM" (in Amiga Basic of
course).
The program "LoadILBM-SaveACBM" converts an "IFF-ILBM" file into an
"ACBM" file. You need to do that because the resulting "ACBM" file is much
easier to load than the file it came from.
(3) Now, let us assume that we have an "IFF-ILBM" LORES picture
file with the name, say, "Planet" on "MYDISK".
Run the program "LoadILBM-SaveACBM". A copy of your Amiga Basic file
and the files "dos.bmap", "exec.bmap" and "graphics.bmap" should be on
"MYDISK" by now, right?
When the program asks: "IFF ILBM filespec?", enter: "Planet" (NO quo-
tes should be included of course in any responses).
When the program asks: "ACBM filespec?", enter: "Planet.ACBM".
At this point you are going to see your "Planet" picture getting
loaded on the screen line-by-line and with "funny" colors. Don't worry
about it. As soon as the screen is filled, the original colors of "Planet"
will be restored and "Planet" will be saved in "ACBM" format with the name
"Planet.ACBM".
(4) We are ready for our collage!!
Run the program "COLLAGE".When it asks: "ACBM FILENAME ?", enter
"Planet.ACBM".
Now you can see your original picture on the screen very fast.
The picture can be stored with "GRABBiT". It can then be
manipulated using "DeluxePaint", "Aegis Images", etc.
You can also see the different bit planes of the picture being loaded
separately by commenting out the "blackout:" part of the program.
To "collage" a picture, choose FRAME ON from the MENU,
click the left mouse button at a desirable point in the picture,
and then drag the mouse to the right, letting thus a rectangular region
be formed, which becomes a window with the name "HERMES" as soon as you let
go of the mouse.
You may drag this window around the screen.
If you want to paste the piece of the picture in the window, choose
PASTE from the MENU, click the left mouse button at the UPPER LEFT
CORNER of the picture portion (not the window frame) of the
window.
You can still paste the picture at other points on the screen.
The magnitude of the piece that you can lift as above is limited be-
cause of heap space requirements.
TO INCREASE THE HEAP SPACE, CLICK THE LISTING OF THE PROGRAM OFF.
If you choose PASTE from the MENU you will HAVE TO paste the piece
somewhere on the screen.
Have fun, and let me know of any bugs and/or developments.
HERMES