COMPOSE/DECOMPOSE plugin V1.00 for the GIMP =========================================== Peter Kirchgessner, 30-Jun-97 e-mail: pkirchg@aol.com WWW : http://members.aol.com/pkirchg Here are the Compose/Decompose plug-ins known from V0.54 for the GIMP V 0.99.10 and up. In the directory ftp://members.aol.com/pkirchg/pub/gimp you will find the following files: xcompose.txt : this document xcompose.tgz : gzipped tarfile with sources/documentation xcompose.linux.386.elf.tgz : gzipped tarfile with Linux exectuable Features: Decomposes RGB and RGBA-images into R/G/B, H/S/V, C/M/Y, C/M/Y/K and Alpha channels and vice versa. Installation of executable -------------------------- To tell the GIMP about the COMPOSE/DECOMPOSE-plug-ins, copy the executables to /usr/local/lib/gimp/0.99.x/plug-ins . Installation from source ------------------------ The COMPOSE-plug-in needs two modifications to the GIMP V 99.10 to run correctly: 1.: Apply this patch to libgimp/gimpmenu.c (needed for default gray-image in menu): --- gimpmenu.c.orig Sun Mar 9 02:00:20 1997 +++ gimpmenu.c Mon Jun 30 07:22:41 1997 @@ -47,7 +47,7 @@ g_free (label); if (images[i] == active_image) - gtk_menu_set_active (GTK_MENU (menu), i); + gtk_menu_set_active (GTK_MENU (menu), k); k += 1; } 2.: Add the following library to pre_LDADD in your plug-in makefile: $(top_builddir)/libgimp/libgimpui.la 3.: Add compose and decompose to your plug-in makefile Suggestions ----------- Suggestions about the plug-ins should be mailed to pkirchg@aol.com