home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club Amiga de Montreal - CAM
/
CAM_CD_1.iso
/
files
/
424.lha
/
Iconize_v.90
/
Iconize.docs
< prev
next >
Wrap
Text File
|
1990-09-30
|
8KB
|
145 lines
----------------------------------------------------------------------------------
| |
| I C O N I Z E |
| (v.90) |
| (c) 1990, Rick Tillery, all rights reserved |
| |
| |
----------------------------------------------------------------------------------
| This program is release into the public domain as long as all files listed |
| below are included in each transfer. The source code is not included, but if |
| you REALLY want to know how I did this, drop me a line and I'll send you a |
| copy. |
----------------------------------------------------------------------------------
OK, here's the deal: I have lots of IFF pictures that I love to show off. I
usually use a graphical shell to show them because it's
easier and the stupid icons that paint programs use are
ugly. Now 2.0 MAY be coming out soon and I am working with
a developer in beta testing it and it came to me that the
built in 16 color (or 8 color or even 2 color) WorkBench
would be a perfect oportunity to create some better icons.
First I developed a palette from the basic 2.0 palette of a medium grey, black,
white, and a pastel blue. I extended it to 16 colors to 15 grey shades and the
blue in a way which allows the 16 color icons to be viewed in the reduced color
modes with some semblance of legibility. With this palette I used several
commercial products to shrink, convert to grey scale and remap my pictures into
brushes with this palette. Then I used the Icon Editor in 2.0 to make them into
icons (YES! 2.0 allows you to load IFF brushes as icons).
This took quite a bit of work, but I was so pleased with the results that I
couldn't resist trying my hand at a program which would automate this creation
of icons from IFF pictures.
Iconize (v.90) is the result (so far).
----------------------------------------------------------------------------------
Included here: Iconize (v.90) - the program itself
Iconize.docs - the docs you are reading
IFF.library - a public domain IFF handling library
Palette.Brush - a brush with the appropriate palette
What is required: One Amiga computer (not included)
At least one IFF file (not included)
Iconize and support files (included)
Some time (more for bigger pics less for smaller ones)
----------------------------------------------------------------------------------
Destructions:
Iconize is a simple program that will convert your IFF files
into small project icons of 16, 8, 4(ugh), or 2(yech!) colors from a
standard palette. You may specify the number of bitplanes (number of
colors = 2 raised to the power of the number of bitplanes), the stack
size, the default tool, the width and the height of the icon.
The palette is included in the Palette.Brush file so you can load
it into the palette command under 2.0. However, you may use this same
palette under 1.3 normally or with a WorkBench hack for increasing
(or decreasing) the number of bitplanes. For those of you in the
latter case, your palette should consist of the first n values in the
following list (where n is the number of colors on your WorkBench
screen):
(hex values) AAA, 000, FFF, 679, (this one is not important
and is up to you)
888, 333, DDD, 666,
BBB, 222, EEE, 555,
999, 444, CCC, 777
Just load these values in as your palette in whatever way is specified
by the particular hack you are using.
Usage: To use Iconize you must first install the iff.library in your libs:
device (this should not interfere with the 2.0 iffparse.library).
Next be sure that Iconize is in your path somewhere. Now you are
ready to attack those IFF files.
Caution: Iconize will accept any or no arguments. As such it is very
important that you are certain of what you are telling it before
pressing that return key.
Syntax: Iconize [filename(s)] an optional list of filenames, if no filename
is specified, Iconize will attempt to process
the ENTIRE current directory.
[?] or [-h] presents the version number and a short command
summary
[-dDefaultToolType] allows specification of the default tool
for the project icon (i.e. -dc:superview
would make c:superview the default tool)
[-p#BitPlanes] allows specification of the number of bitplanes
in the icon (i.e. -p3 would specify an 8 color
icon) {default is 16 color icon}
[-sStackSize] allow specification of the stack size provided
to the default tool {default stack is 4000}
[-xIconWidth] allows specification of the width of the
resulting icon (i.e. -x128 would specify a width
of 128 for the icon) {default width is 64}
[-yIconHeight] allows specification of the height of the icon
----------------------------------------------------------------------------------
Upgrades: v.90 - first release into gamma testing
Please report any bugs to me and try to supply a copy of the problem causing file
if you can.
----------------------------------------------------------------------------------
Future enhancements: Not rely on iff.library which wastes memory.
Handle SHAM, Dynamic HAM and Dynamic Hi-Res pictures.
Increase speed by convering pixel read and write routines
to assembly or using internal versions (I don't have any
RKM's yet).
----------------------------------------------------------------------------------
Report any bugs and send any awe inspiring IFF files or donations to (not
requested but any and all accepted):
Rick Tillery
{until May 1991}
(405) 364-2372 (collect not accepted :-)
314 E. Boyd #7
Norman, OK, 73069
{after May 1991}
5000 Ryan Dr.
OKC, OK 73135
Cserve: 71020,1554