Configured in the flame plugin

Updated the ripply-anim script (still broken)
Preparation for 0.99.16 release

-Yosh
This commit is contained in:
Manish Singh 1997-12-15 03:44:55 +00:00
parent e8f7ed532c
commit 099012f211
9 changed files with 107 additions and 490 deletions

View file

@ -1,3 +1,8 @@
Sun Dec 14 19:47:59 PST 1997 Manish Singh <yosh@gimp.org>
* Configured in the flame plugin by default
* updated the ripply-anim script (still broken though)
Sun Dec 14 20:57:46 1997 Ray Lehtiniemi <rayl@netrover.com>
* app/tools.c (tools_options_dialog_show): fix a problem where

7
NOTES
View file

@ -1,8 +1,7 @@
Some notes on GIMP-0.99.16:
* The Flame plug-in as well as MathMap, GimpTcl and Gfig
are included but not yet integrated into the build cause of
instability or other unresolved issues.
* The MathMap, GimpTcl, GAG, and Gfig are included but not yet integrated
into the build cause of instability or other unresolved issues.
Please read the file TODO-DIST to find more information about things
that were not included or that are (possibly) broken in this distribution.
@ -10,4 +9,4 @@ that were not included or that are (possibly) broken in this distribution.
-- Federico Mena <federico@nuclecu.unam.mx>
-- Christoph Hoegl <darkwing@bsddmail.franken.de>
-- Christoph Hoegl <darkwing@bsddmail.franken.de>

14
README
View file

@ -1,12 +1,12 @@
The GIMP: the GNU Image Manipulation Program
--------------------------------------------
This is version 0.99.15 of the GIMP. For the most part it contains all
This is version 0.99.16 of the GIMP. For the most part it contains all
of the features that will be in version 1.0 of the GIMP. It does,
however, lack a) documentation, b) robustness and c) some of the
plug-ins found in the 0.54 version.
The main difference between v0.99.15 and much earlier versions is the
The main difference between v0.99.16 and much earlier versions is the
use of a tile based memory management for images. This allows the GIMP
to work with images much larger than physical memory in a usable
fashion. Before such memory management, the GIMP was nearly unusable
@ -97,7 +97,8 @@ substituting <list-name> for "gimp-user" or "gimp-developer" (without
the quotes, of course) depending on the list you want to subscribe
to. The mailing list archives can be found at
http://kiwi.cs.berkeley.edu/~gimp
http://www.levien.com/~gimp-dev/current/
http://www.findmail.com/listsaver/gimp-developer/
Gimp-user is a mailing list dedicated to user problems, hints and
tips, discussion of cool effects, etc. Gimp-developer is oriented to
@ -118,10 +119,9 @@ More information about Byxnet can be found at
http://rudolf.canberra.edu.au/gimp/byxnet.html
Manish Singh (msingh@uclink4.berkeley.edu) has contributed a set of
keybindings similar to those in Adobe Photoshop (tm). You can find
them in the ps-menurc file. To use them, copy this file to
~/.gimp/menurc
Manish Singh (yosh@gimp.org) has contributed a set of keybindings similar
to those in Adobe Photoshop (tm). You can find them in the ps-menurc file.
To use them, copy this file to ~/.gimp/menurc
We sincerely hope you enjoy the program. Please report problems to
gimp-developer@scam.xcf.berkeley.edu. Before reporting a problem, you

427
aclocal.m4 vendored
View file

@ -1,427 +0,0 @@
dnl aclocal.m4 generated automatically by aclocal 1.2c
dnl Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation, Inc.
dnl This Makefile.in is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
dnl This program is distributed in the hope that it will be useful,
dnl but WITHOUT ANY WARRANTY, to the extent permitted by law; without
dnl even the implied warranty of MERCHANTABILITY or FITNESS FOR A
dnl PARTICULAR PURPOSE.
# Do all the work for Automake. This macro actually does too much --
# some checks are only needed if your package does certain things.
# But this isn't really a big deal.
# serial 1
dnl Usage:
dnl AM_INIT_AUTOMAKE(package,version, [no-define])
AC_DEFUN(AM_INIT_AUTOMAKE,
[AC_REQUIRE([AM_PROG_INSTALL])
PACKAGE=[$1]
AC_SUBST(PACKAGE)
VERSION=[$2]
AC_SUBST(VERSION)
dnl test to see if srcdir already configured
if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
fi
ifelse([$3],,
AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE")
AC_DEFINE_UNQUOTED(VERSION, "$VERSION"))
AM_SANITY_CHECK
AC_ARG_PROGRAM
dnl FIXME This is truly gross.
missing_dir=`cd $ac_aux_dir && pwd`
AM_MISSING_PROG(ACLOCAL, aclocal, $missing_dir)
AM_MISSING_PROG(AUTOCONF, autoconf, $missing_dir)
AM_MISSING_PROG(AUTOMAKE, automake, $missing_dir)
AM_MISSING_PROG(AUTOHEADER, autoheader, $missing_dir)
AM_MISSING_PROG(MAKEINFO, makeinfo, $missing_dir)
AC_PROG_MAKE_SET])
# serial 1
AC_DEFUN(AM_PROG_INSTALL,
[AC_REQUIRE([AC_PROG_INSTALL])
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
AC_SUBST(INSTALL_SCRIPT)dnl
])
#
# Check to make sure that the build environment is sane.
#
AC_DEFUN(AM_SANITY_CHECK,
[AC_MSG_CHECKING([whether build environment is sane])
# Just in case
sleep 1
echo timestamp > conftestfile
# Do `set' in a subshell so we don't clobber the current shell's
# arguments. Must try -L first in case configure is actually a
# symlink; some systems play weird games with the mod time of symlinks
# (eg FreeBSD returns the mod time of the symlink's containing
# directory).
if (
set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
if test "[$]*" = "X"; then
# -L didn't work.
set X `ls -t $srcdir/configure conftestfile`
fi
test "[$]2" = conftestfile
)
then
# Ok.
:
else
AC_MSG_ERROR([newly created file is older than distributed files!
Check your system clock])
fi
rm -f conftest*
AC_MSG_RESULT(yes)])
dnl AM_MISSING_PROG(NAME, PROGRAM, DIRECTORY)
dnl The program must properly implement --version.
AC_DEFUN(AM_MISSING_PROG,
[AC_MSG_CHECKING(for working $2)
# Run test in a subshell; some versions of sh will print an error if
# an executable is not found, even if stderr is redirected.
# Redirect stdin to placate older versions of autoconf. Sigh.
if ($2 --version) < /dev/null > /dev/null 2>&1; then
$1=$2
AC_MSG_RESULT(found)
else
$1="$3/missing $2"
AC_MSG_RESULT(missing)
fi
AC_SUBST($1)])
# Like AC_CONFIG_HEADER, but automatically create stamp file.
AC_DEFUN(AM_CONFIG_HEADER,
[AC_PREREQ([2.12])
AC_CONFIG_HEADER([$1])
dnl When config.status generates a header, we must update the stamp-h file.
dnl This file resides in the same directory as the config header
dnl that is generated. We must strip everything past the first ":",
dnl and everything past the last "/".
AC_OUTPUT_COMMANDS(changequote(<<,>>)dnl
ifelse(patsubst(<<$1>>, <<[^ ]>>, <<>>), <<>>,
<<test -z "<<$>>CONFIG_HEADERS" || echo timestamp > patsubst(<<$1>>, <<^\([^:]*/\)?.*>>, <<\1>>)stamp-h<<>>dnl>>,
<<am_indx=1
for am_file in <<$1>>; do
case " <<$>>CONFIG_HEADERS " in
*" <<$>>am_file "*<<)>>
echo timestamp > `echo <<$>>am_file | sed -e 's%:.*%%' -e 's%[^/]*$%%'`stamp-h$am_indx
;;
esac
am_indx=`expr "<<$>>am_indx" + 1`
done<<>>dnl>>)
changequote([,]))])
# serial 17 AM_PROG_LIBTOOL
AC_DEFUN(AM_PROG_LIBTOOL,
[AC_REQUIRE([AC_CANONICAL_HOST])
AC_REQUIRE([AC_PROG_RANLIB])
AC_REQUIRE([AC_PROG_CC])
AC_REQUIRE([AM_PROG_LD])
AC_REQUIRE([AM_PROG_NM])
AC_REQUIRE([AC_PROG_LN_S])
# Always use our own libtool.
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
AC_SUBST(LIBTOOL)
dnl Allow the --disable-shared flag to stop us from building shared libs.
AC_ARG_ENABLE(shared,
[ --enable-shared build shared libraries [default=yes]],
[if test "$enableval" = no; then
libtool_enable_shared=no
else
libtool_enable_shared=yes
fi])
test -n "$libtool_enable_shared" && enable_shared="$libtool_enable_shared"
libtool_shared=
test "$enable_shared" = no && libtool_shared=" --disable-shared"
dnl Allow the --disable-static flag to stop us from building static libs.
AC_ARG_ENABLE(static,
[ --enable-static build static libraries [default=yes]],
[if test "$enableval" = no; then
libtool_enable_static=no
else
libtool_enable_static=yes
fi])
test -n "$libtool_enable_static" && enable_static="$libtool_enable_static"
libtool_static=
test "$enable_static" = no && libtool_static=" --disable-static"
libtool_flags="$libtool_shared$libtool_static"
test "$silent" = yes && libtool_flags="$libtool_flags --silent"
test "$ac_cv_prog_gcc" = yes && libtool_flags="$libtool_flags --with-gcc"
test "$ac_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
# Some flags need to be propagated to the compiler or linker for good
# libtool support.
[case "$host" in
*-*-irix6*)
ac_save_CFLAGS="$CFLAGS"
flag_passed=no
for f in -32 -64 -n32 ABI -cckr -mips1 -mips2 -mips3 -mips4; do
case "$f" in
ABI)
test -n "$SGI_ABI" && flag_passed=yes
if test "$flag_passed" = no && test "$ac_cv_prog_gcc" = yes; then
# Choose the ABI flag according to GCC's specs.
if $CC -dumpspecs 2>&1 | sed '/^\*link:$/,/^$/!d' | egrep -e '[ ]-32' >/dev/null; then
LD="${LD-ld} -32"
else
LD="${LD-ld} -n32"
fi
fi
;;
*)
if echo " $CC $CFLAGS " | egrep -e "[ ]$f[ ]" > /dev/null; then
flag_passed=yes
LD="${LD-ld} $f"
fi
;;
esac
done
CFLAGS="$ac_save_CFLAGS"
;;
*-*-sco3.2v5*)
# On SCO OpenServer 5, we need -belf to get full-featured binaries.
CFLAGS="$CFLAGS -belf"
;;
esac]
# Actually configure libtool. ac_aux_dir is where install-sh is found.
CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
LD="$LD" NM="$NM" RANLIB="$RANLIB" LN_S="$LN_S" \
${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig \
$libtool_flags --no-verify $ac_aux_dir/ltmain.sh $host \
|| AC_MSG_ERROR([libtool configure failed])
])
# AM_PROG_LD - find the path to the GNU or non-GNU linker
AC_DEFUN(AM_PROG_LD,
[AC_ARG_WITH(gnu-ld,
[ --with-gnu-ld assume the C compiler uses GNU ld [default=no]],
test "$withval" = no || with_gnu_ld=yes, with_gnu_ld=no)
AC_REQUIRE([AC_PROG_CC])
ac_prog=ld
if test "$ac_cv_prog_gcc" = yes; then
# Check if gcc -print-prog-name=ld gives a path.
AC_MSG_CHECKING([for ld used by GCC])
ac_prog=`($CC -print-prog-name=ld) 2>&5`
case "$ac_prog" in
# Accept absolute paths.
/*)
test -z "$LD" && LD="$ac_prog"
;;
"")
# If it fails, then pretend we aren't using GCC.
ac_prog=ld
;;
*)
# If it is relative, then search for the first ld in PATH.
with_gnu_ld=unknown
;;
esac
elif test "$with_gnu_ld" = yes; then
AC_MSG_CHECKING([for GNU ld])
else
AC_MSG_CHECKING([for non-GNU ld])
fi
AC_CACHE_VAL(ac_cv_path_LD,
[if test -z "$LD"; then
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
for ac_dir in $PATH; do
test -z "$ac_dir" && ac_dir=.
if test -f "$ac_dir/$ac_prog"; then
ac_cv_path_LD="$ac_dir/$ac_prog"
# Check to see if the program is GNU ld. I'd rather use --version,
# but apparently some GNU ld's only accept -v.
# Break only if it was the GNU/non-GNU ld that we prefer.
if "$ac_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
test "$with_gnu_ld" != no && break
else
test "$with_gnu_ld" != yes && break
fi
fi
done
IFS="$ac_save_ifs"
else
ac_cv_path_LD="$LD" # Let the user override the test with a path.
fi])
LD="$ac_cv_path_LD"
if test -n "$LD"; then
AC_MSG_RESULT($LD)
else
AC_MSG_RESULT(no)
fi
test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
AC_SUBST(LD)
AM_PROG_LD_GNU
])
AC_DEFUN(AM_PROG_LD_GNU,
[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], ac_cv_prog_gnu_ld,
[# I'd rather use --version here, but apparently some GNU ld's only accept -v.
if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
ac_cv_prog_gnu_ld=yes
else
ac_cv_prog_gnu_ld=no
fi])
])
# AM_PROG_NM - find the path to a BSD-compatible name lister
AC_DEFUN(AM_PROG_NM,
[AC_MSG_CHECKING([for BSD-compatible nm])
AC_CACHE_VAL(ac_cv_path_NM,
[case "$NM" in
/*)
ac_cv_path_NM="$NM" # Let the user override the test with a path.
;;
*)
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
for ac_dir in /usr/ucb $PATH /bin; do
test -z "$ac_dir" && dir=.
if test -f $ac_dir/nm; then
# Check to see if the nm accepts a BSD-compat flag.
if ($ac_dir/nm -B /dev/null 2>&1; exit 0) | grep /dev/null >/dev/null; then
ac_cv_path_NM="$ac_dir/nm -B"
elif ($ac_dir/nm -p /dev/null 2>&1; exit 0) | grep /dev/null >/dev/null; then
ac_cv_path_NM="$ac_dir/nm -p"
else
ac_cv_path_NM="$ac_dir/nm"
fi
break
fi
done
IFS="$ac_save_ifs"
test -z "$ac_cv_path_NM" && ac_cv_path_NM=nm
;;
esac])
NM="$ac_cv_path_NM"
AC_MSG_RESULT([$NM])
AC_SUBST(NM)
])
# Add --enable-maintainer-mode option to configure.
# From Jim Meyering
# serial 1
AC_DEFUN(AM_MAINTAINER_MODE,
[AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
dnl maintainer-mode is disabled by default
AC_ARG_ENABLE(maintainer-mode,
[ --enable-maintainer-mode enable make rules and dependencies not useful
(and sometimes confusing) to the casual installer],
USE_MAINTAINER_MODE=$enableval,
USE_MAINTAINER_MODE=no)
AC_MSG_RESULT($USE_MAINTAINER_MODE)
if test $USE_MAINTAINER_MODE = yes; then
MAINT=
else
MAINT='#M#'
fi
AC_SUBST(MAINT)dnl
]
)
# serial 1
# @defmac AC_PROG_CC_STDC
# @maindex PROG_CC_STDC
# @ovindex CC
# If the C compiler in not in ANSI C mode by default, try to add an option
# to output variable @code{CC} to make it so. This macro tries various
# options that select ANSI C on some system or another. It considers the
# compiler to be in ANSI C mode if it handles function prototypes correctly.
#
# If you use this macro, you should check after calling it whether the C
# compiler has been set to accept ANSI C; if not, the shell variable
# @code{am_cv_prog_cc_stdc} is set to @samp{no}. If you wrote your source
# code in ANSI C, you can make an un-ANSIfied copy of it by using the
# program @code{ansi2knr}, which comes with Ghostscript.
# @end defmac
AC_DEFUN(AM_PROG_CC_STDC,
[AC_REQUIRE([AC_PROG_CC])
AC_BEFORE([$0], [AC_C_INLINE])
AC_BEFORE([$0], [AC_C_CONST])
dnl Force this before AC_PROG_CPP. Some cpp's, eg on HPUX, require
dnl a magic option to avoid problems with ANSI preprocessor commands
dnl like #elif.
AC_BEFORE([$0], [AC_PROG_CPP])
AC_MSG_CHECKING(for ${CC-cc} option to accept ANSI C)
AC_CACHE_VAL(am_cv_prog_cc_stdc,
[am_cv_prog_cc_stdc=no
ac_save_CC="$CC"
# Don't try gcc -ansi; that turns off useful extensions and
# breaks some systems' header files.
# AIX -qlanglvl=ansi
# Ultrix and OSF/1 -std1
# HP-UX -Aa -D_HPUX_SOURCE
# SVR4 -Xc -D__EXTENSIONS__
for ac_arg in "" -qlanglvl=ansi -std1 "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
do
CC="$ac_save_CC $ac_arg"
AC_TRY_COMPILE(
[#include <stdarg.h>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
struct buf { int x; };
FILE * (*rcsopen) (struct buf *, struct stat *, int);
static char *e (p, i)
char **p;
int i;
{
return p[i];
}
static char *f (char * (*g) (char **, int), char **p, ...)
{
char *s;
va_list v;
va_start (v,p);
s = g (p, va_arg (v,int));
va_end (v);
return s;
}
int test (int i, double x);
struct s1 {int (*f) (int a);};
struct s2 {int (*f) (double a);};
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
int argc;
char **argv;
], [
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
],
[am_cv_prog_cc_stdc="$ac_arg"; break])
done
CC="$ac_save_CC"
])
if test -z "$am_cv_prog_cc_stdc"; then
AC_MSG_RESULT([none needed])
else
AC_MSG_RESULT($am_cv_prog_cc_stdc)
fi
case "x$am_cv_prog_cc_stdc" in
x|xno) ;;
*) CC="$CC $am_cv_prog_cc_stdc" ;;
esac
])

View file

@ -7,10 +7,10 @@ GIMP_MAJOR_VERSION_NUMBER=0
dnl $Format: "GIMP_MINOR_VERSION_NUMBER=$ReleaseMinorVersion$" $
GIMP_MINOR_VERSION_NUMBER=99
dnl $Format: "GIMP_MICRO_VERSION_NUMBER=$ReleaseMicroVersion$" $
GIMP_MICRO_VERSION_NUMBER=15
GIMP_MICRO_VERSION_NUMBER=16
dnl $Format: "AM_INIT_AUTOMAKE(gimp, $ReleaseVersion$)" $
AM_INIT_AUTOMAKE(gimp, 0.99.15)
AM_INIT_AUTOMAKE(gimp, 0.99.16)
dnl Specify a header configuration file
AM_CONFIG_HEADER(config.h)

View file

@ -1511,6 +1511,20 @@ This procedure converts the specified image to indexed color. This process requ
@end defun
@emph{Spencer Kimball & Peter Mattis}
@defun gimp_convert_indexed_palette image, dither, palette_type, num_cols, palette
This procedure converts the specified image to indexed color. This process requires an image of type GRAY or RGB. The `palette_type' specifies what kind of palette to use, A type of `0' means to use an optimal palette of `num_cols' generated from the colors in the image. A type of `1' means to re-use the previous palette. A type of `2' means to use the WWW-optimized palette. Type `3' means to use only black and white colors. A type of `4' means to use a palette from the gimp palettes directories.--@strong{Internal GIMP procedure}
@strong{Inputs}
@itemize @bullet
@item @emph{image} (PDB_IMAGE)--The image
@item @emph{dither} (PDB_INT32)--Floyd-Steinberg dithering
@item @emph{palette_type} (PDB_INT32)--The type of palette to use, (0 optimal) (1 reuse) (2 WWW) (3 Mono) (4 Custom)
@item @emph{num_cols} (PDB_INT32)--The number of colors to quantize to, ignored unless (palette_type == 0)
@item @emph{palette} (PDB_STRING)--The name of the custom palette to use, ignored unless (palette_type == 4)
@end itemize
@end defun
@emph{Spencer Kimball & Peter Mattis}
@defun gimp_convert_rgb image
This procedure converts the specified image to RGB color. This process requires an image of type GRAY or INDEXED. No image content is lost in this process aside from the colormap for an indexed image.--@strong{Internal GIMP procedure}
@ -4636,6 +4650,18 @@ Then something else here--@strong{GIMP Plug-In}
@end defun
@emph{Pavel Grinfeld (pavel@@ml.com)}
@defun plug_in_flame run_mode, image, drawable
use Smooth Palette to make colormaps--@strong{GIMP Plug-In}
@strong{Inputs}
@itemize @bullet
@item @emph{run_mode} (PDB_INT32)--Interactive, non-interactive
@item @emph{image} (PDB_IMAGE)--Input image (unused)
@item @emph{drawable} (PDB_DRAWABLE)--Input drawable
@end itemize
@end defun
@emph{Scott Draves}
@defun plug_in_fractal_trace run_mode, image, drawable, xmin, xmax, ymin, ymax, ymax, depth, outside_type
transform image with the Mandelbrot Fractal--@strong{GIMP Plug-In}
@ -5837,21 +5863,6 @@ Creates a simple logo with a shadow and a highlight--@strong{Temporary Procedure
@end defun
@emph{Spencer Kimball}
@defun script-fu-beveled-logo run_mode, value, value, value, color, color
Bevel--@strong{Temporary Procedure}
@strong{Inputs}
@itemize @bullet
@item @emph{run_mode} (PDB_INT32)--Interactive, non-interactive
@item @emph{value} (PDB_STRING)--Text String
@item @emph{value} (PDB_STRING)--Font Size (in pixels)
@item @emph{value} (PDB_STRING)--Font
@item @emph{color} (PDB_COLOR)--Top Gradient Color
@item @emph{color} (PDB_COLOR)--Bottom Gradient Color
@end itemize
@end defun
@emph{Manish Singh <yosh@@gimp.org>}
@defun script-fu-beveled-pattern-arrow run_mode, value, value, value
Beveled pattern arrow--@strong{Temporary Procedure}
@ -6055,6 +6066,21 @@ Chalk scribbled logos--@strong{Temporary Procedure}
@end defun
@emph{Manish Singh <msingh@@uclink4.berkeley.edu>}
@defun script-fu-chalk-test-logo run_mode, value, value, value, color, color
Chalk scribbled logos--@strong{Temporary Procedure}
@strong{Inputs}
@itemize @bullet
@item @emph{run_mode} (PDB_INT32)--Interactive, non-interactive
@item @emph{value} (PDB_STRING)--Text String
@item @emph{value} (PDB_STRING)--Font Size (in pixels)
@item @emph{value} (PDB_STRING)--Font
@item @emph{color} (PDB_COLOR)--Background Color
@item @emph{color} (PDB_COLOR)--Chalk Color
@end itemize
@end defun
@emph{Manish Singh <msingh@@uclink4.berkeley.edu>}
@defun script-fu-chrome-logo run_mode, value, value, value, color
Somewhat simplistic, but cool chromed logos--@strong{Temporary Procedure}
@ -6450,7 +6476,7 @@ Create size of brush--@strong{Temporary Procedure}
@item @emph{value} (PDB_STRING)--Description
@item @emph{value} (PDB_STRING)--Width
@item @emph{value} (PDB_STRING)--Height
@item @emph{value} (PDB_STRING)--Spacking
@item @emph{value} (PDB_STRING)--Spacing
@end itemize
@end defun
@emph{Seth Burgess <sjburges@@ou.edu>}

View file

@ -61,6 +61,7 @@ SUBDIRS = \
figures \
film \
fits \
flame \
fp \
fractaltrace \
gauss_iir \
@ -141,7 +142,7 @@ scriptdata =
pluginlibdir = $(gimpplugindir)/plug-ins
EXTRA_DIST = build.in xcompose.txt
EXTRA_DIST = build.in
INCLUDES = \
$(X_CFLAGS) \

View file

@ -2,10 +2,10 @@
pluginlibdir = $(gimpplugindir)/plug-ins
pluginlib_PROGRAMS = tiff
pluginlib_PROGRAMS = flame
tiff_SOURCES = \
tiff.c
flame_SOURCES = \
cmap.c cmap.h flame.c flame.h libifs.c libifs.h megawidget.c megawidget.h rect.c rect.h
INCLUDES = \
$(X_CFLAGS) \
@ -16,14 +16,13 @@ LDADD = \
$(top_builddir)/libgimp/libgimpui.la \
$(top_builddir)/libgimp/libgimp.la \
$(X_LIBS) \
@LIBTIFF_LIB@ \
-lc
DEPS = \
$(top_builddir)/libgimp/libgimpui.la \
$(top_builddir)/libgimp/libgimp.la
tiff_DEPENDENCIES = $(DEPS)
flame_DEPENDENCIES = $(DEPS)
.PHONY: files

View file

@ -6,13 +6,22 @@
; of saving animations (i.e. the GIF plugin).
;
(define (copy-layer-ripple dest-image dest-drawable source-image source-drawable)
(gimp-selection-all dest-image)
(gimp-edit-clear dest-image dest-drawable)
(gimp-selection-none dest-image)
(gimp-selection-all source-image)
(gimp-edit-copy source-image source-drawable)
(let ((floating-sel (car (gimp-edit-paste dest-image dest-drawable FALSE))))
(gimp-floating-sel-anchor floating-sel)))
(define (script-fu-ripply-anim img drawable displacement num-frames)
(let* ((width (car (gimp-drawable-width drawable)))
(height (car (gimp-drawable-height drawable)))
(ripple-image (car (gimp-image-new width height GRAY)))
(ripple-layer (car (gimp-layer-new ripple-image width height GRAY_IMAGE "Ripple Texture" 100 NORMAL))))
; this script generates its own displacement map
; this script generates its own displacement map
(gimp-image-disable-undo ripple-image)
(gimp-palette-set-background '(127 127 127) )
@ -22,7 +31,7 @@
; tile noise
(set! rippletiled-ret (plug-in-tile 1 ripple-image ripple-layer (* width 3) (* height 3) TRUE))
(gimp-image-enable-undo ripple-image)
(gimp-image-delete ripple-image)
; (gimp-image-delete ripple-image)
(set! rippletiled-image (car rippletiled-ret))
(set! rippletiled-layer (cadr rippletiled-ret))
@ -44,33 +53,38 @@
(set! xoffset (/ width num-frames))
(set! yoffset (/ height num-frames))
(set! out-imagestack (car (gimp-image-new width height RGB)))
(gimp-image-disable-undo out-imagestack)
(let* ((out-imagestack (car (gimp-image-new width height RGB)))
(this-layer (car (gimp-layer-new out-imagestack width height RGB "out-layer" 100 NORMAL))))
(while (> remaining-frames 0)
(set! dup-image (car (gimp-channel-ops-duplicate rippletiled-image)))
(gimp-crop dup-image width height xpos ypos)
(set! this-layer (car (gimp-layer-copy drawable TRUE)))
(gimp-image-add-layer out-imagestack this-layer 0)
(set! dup-layer (car (gimp-image-get-active-layer dup-image)))
(plug-in-displace 1 out-imagestack this-layer displacement displacement TRUE TRUE dup-layer dup-layer 2)
(gimp-image-enable-undo dup-image)
(gimp-image-delete dup-image)
(set! remaining-frames (- remaining-frames 1))
(set! xpos (+ xoffset xpos))
(set! ypos (+ yoffset ypos)))
(gimp-image-enable-undo rippletiled-image)
(gimp-image-delete rippletiled-image)
(gimp-image-enable-undo out-imagestack)
(gimp-display-new out-imagestack)
(gimp-displays-flush)))
(gimp-image-disable-undo out-imagestack)
(while (> remaining-frames 0)
(set! dup-image (car (gimp-channel-ops-duplicate rippletiled-image)))
(gimp-crop dup-image width height xpos ypos)
; (set! this-layer (car (gimp-layer-copy drawable TRUE)))
; (gimp-image-add-layer out-imagestack this-layer 0)
(copy-layer-ripple out-imagestack this-layer img drawable)
(set! dup-layer (car (gimp-image-get-active-layer dup-image)))
(plug-in-displace 1 out-imagestack this-layer displacement displacement TRUE TRUE dup-layer dup-layer 2)
(gimp-image-enable-undo dup-image)
(gimp-image-delete dup-image)
(set! remaining-frames (- remaining-frames 1))
(set! xpos (+ xoffset xpos))
(set! ypos (+ yoffset ypos)))
(gimp-image-enable-undo rippletiled-image)
(gimp-image-delete rippletiled-image)
(gimp-image-delete ripple-image)
(gimp-image-enable-undo out-imagestack)
; (gimp-display-new out-imagestack)
))
(gimp-displays-flush))
(script-fu-register "script-fu-ripply-anim"
"<Image>/Script-Fu/Animators/Rippling"