Short: Create icons from IFF/ILBM brushes Author: ukjg@rz.rz.uni-karlsruhe.de (Tobias Ferber) Uploader: tf antatres ping de (Tobias Ferber) Type: gfx/conv Replaces: gfx/conv/im-1.1.lha Architecture: m68k-amigaos Distribution: GPL IM/IconMaker IM/IconMaker NAME IconMaker (IM) -- Create icons from IFF/ILBM brushes PURPOSE Suppose you painted some brushes and now you want to make icons from them. Or let's assume you've downloaded some brushes and you don't know how they look like. This is where it comes to IM -- the IconMaker. IM creates icons from brushes and offers you the best possibility for a preview: the Workbench with all its functions! (-: INSTALLATION Simply copy IM.000 (or IM.030 if you have a MC68030 Amiga) somewhere into your path (e.g. to C:) and rename it to IM. EXAMPLE Let's assume you have DOpus5 and you want to see all brushes in the Images/ and Images2/ drawer. You simply have to do the following: List >RAM:doit ALL FILES DIR DOpus5:Images/ DOpus5:Images2/ + PAT ~(#?.info) LFORMAT "IM FROM *"%p%n*" TO *"%p%n*"" Execute RAM:doit By default IM creates a project icon with the default tool "MultiView" and a ToolType "FILETYPE=ILBM". This is what I need in most cases when using IM for the above purpose. However, with IM you can create icons of any type. OPTIONS IM can be given several parameters: FROM=NORMAL/K/A The specified IFF/ILBM brush will be used for the normal image of the icon. This argument must be present in the command line. SELECTED/K The specified IFF/ILBM brush will be used for the selected image of the icon. If present in the command line, an implicit HIGHLIGHT=IMAGE is used. TO/K/A The name of the icon without (!) the trailing ".info" which is appended automatically by PutDiskObject(). IW=ICONWIDTH/K/N IH=ICONHEIGHT/K/N The dimensions of the icon image. Smaller values than those of the brush(es) will use the top/left corner of the image, larger values will fill up the icon image's bottom/right border with 0's MINSIZE/S If the two IFF/ILBM brushes differ in size then the resulting icon image normally has the dimensions of the larger brush. However, if the MINSIZE switch is present in the command line, the dimensions of the smaller brush are used. TYPE/K By default, IM will use TYPE=PROJECT and create a project icon with the default tool "MultiView". However TYPE can be one of the following: DISK/S,DRAWER/S,TOOL/S,PROJECT/S,GARBAGE/S HIGHLIGHT/K This argument specifies the highlighting method of the icon, i.e. what happens when the icon is selected. If a SELECTED image is specified, then IM implicitly assumes HIGHLIGHT=IMAGE. However HIGHLIGHT can be one of the following: COMPLEMENT/S,BACKFILL/S,IMAGE/S IX=ICONX/K/N IY=ICONY/K/N By default the created icon has no fix position. These two options allow an exact positioning of the created icon. TOOLTYPES/K/M Any number of ToolTypes can be specified. By default IM uses TOOLTYPES "FILETYPE=ILBM" STACKSIZE/K/N The default stack size for a tool. DEFAULTTOOL/K The default tool for PROJECT and DISK icons. WX=WINDOWX/K/N WY=WINDOWY/K/N WW=WINDOWWIDTH/K/N WH=WINDOWHEIGHT/K/N The window parameters for DRAWERs or DISKs. BUGS IM does not remap the colors in your brushes to Workbench colors. This may or may not be implemented in the future. Please mail me if you really need such a feature. SEE ALSO IM, OptIcon and Icon2C are good friends. Together they make a strong tool triple for icon manipulation without a GUI. DISCLAIMER IconMaker (IM) is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 1 of the License, or (at your option) any later version. IconMaker is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with the program; see the file COPYING. If not, write to the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. COPYRIGHT IconMaker (IM) is Copyright (C)1994 by Tobias Ferber. You can reach me via E-mail: ukjg@rz.uni-karlsruhe.de