Short: 3in1:icon2brush/newicon2oldicon/mapicon2newpalette Uploader: koessi chessy aworld de (Bernd Koesling) Type: util/conv Architecture: m68k-amigaos ----- i2b v0.99b (September 23 1996) © koessi ----- features: create iff-brushes from icons change the palette/style of icons clone newicon-image to standard-image of icons support filepatterns support newicon-standard (only if installed) ----- parameter template: ICON/A/M,P=PALETTE/K,M=MAPCOLORS/S,A=ADDICON/S, D=DEFTOOL/K,I=ICONONLY/S,N=NEWICON/S,Q=QUIET/S ICON/A/M required icon(s) to convert; created brushes will be named .br1, .br2 P=PALETTE/K filename of the optional palettefile !must be a valid IFF-brush!; if not given, the actual workbench palette/depth is used. eg. i2b mwb.info P=magicwb.pal will use the colours and depth of the file "magicwb.pal" as the palette and depth for the brushes/icons to create. If the depth (n) of the given palette is less than the workbenchscreen, it is necessary to set the first n colours of the screen to the same values as the palettefile uses. In addition to that the next parameter becomes useful: M=MAPCOLORS/S option to map the workbench-colors used by the icon to the given palette: this will eg. map a 256-color-icon down to a 16-color-brush for the given 16-color-palette. eg. i2b newicon.info P=newicon.pal M will build brushes from the newicon with the colors set similar to those shown in their actual representation on the workbench. A=ADDICON/S create project-icons for the brushes; the brushes will be their own iconimages. D=DEFTOOL/K if ADDICON is on, the given string is the defaulttool entry of projecticons added to the brushes; if omitted "wbdisplay" will be used. I=ICONONLY/S create a recolored icon-copy only; the original icon is overridden! ADDICON and DEFTOOL are ignored. eg. i2b newicon.info P=magicwb.pal M I will convert the newicon to a magicwb- styled icon. eg. i2b newicon.info M I will convert the newicon to a standard-icon (on a256-color-wb you will see no difference) N=NEWICON/S copy the recolored newicon-images to the icon's standard-images. the original newicon-images are kept! (you will see no difference) ADDICON, DEFTOOL and ICONONLY are ignored non-newicons are skipped eg. i2b newicon.info P=magicwb.pal M N will make the newicon look okay on a magicwb without loosing the newicon Q=QUIET/S shut up and work ----- known bugs: palettefile must be a valid IFF-brush - a simple palette is not enough. even totally mad parameters are accepted as icon-filenames and brushes are created from the system's default project icon. had some freezes from time to time, but after all my newicons are changed ... author: koessi@chessy.aworld.de