gimp/plug-ins/gimpressionist
Michael Natterer e803beddd4 Makefile.am configure.in added stuff for the new library below.
2001-01-23  Michael Natterer  <mitch@gimp.org>

	* Makefile.am
	* configure.in
	* gimptool.in: added stuff for the new library below.

	* libgimpcolor/.cvsignore
	* libgimpcolor/Makefile.am
	* libgimpcolor/gimpcolor.h
	* libgimpcolor/gimpcolorspace.c
	* libgimpcolor/gimpcolorspace.h
	* libgimpcolor/gimpcolortypes.h
	* libgimpcolor/gimphsv.c
	* libgimpcolor/gimphsv.h
	* libgimpcolor/gimprgb.c
	* libgimpcolor/gimprgb.h: new shared library which both the app
	and plug-ins link against. The library depends only on glib.

	* libgimpcolor/gimpcolor.def
	* libgimpcolor/makefile.mingw.in
	* libgimpcolor/makefile.msc: added Win32 build files which
	definitely don't work.

	* libgimp/Makefile.am
	* libgimp/gimpcolor.[ch]
	* libgimp/gimpcolorspace.[ch]: removed.

	* libgimp/gimp.h
	* libgimp/gimpadaptivesupersample.c
	* libgimp/gimpbilinear.c
	* libgimp/gimppalette.c
	* libgimp/gimptypes.h: include the stuff from libgimpcolor.

	Plug-Ins don't need to include <libgimpcolor/gimpcolor.h>
	explicitely. LibGimp depends on libgimpcolor and thus also includes
	it's headers.

	* libgimp/gimp.def
	* libgimp/makefile.mingw.in: fiddled around with Win32 stuff...

	* app/Makefile.am: link against libgimpcolor.la

	* app/apptypes.h: include "libgimpcolor/gimpcolortypes.h"

	* app/asupsample.c
	* app/channels_dialog.c
	* app/colormap_dialog.c
	* app/commands.c
	* app/convert.c
	* app/devices.c
	* app/disp_callbacks.c
	* app/drawable.c
	* app/gimpcontext.c
	* app/gimpdnd.c
	* app/gimpimage.c
	* app/gimppalette.c
	* app/gimprc.c
	* app/gradient.c
	* app/libgimp_glue.c
	* app/palette.c
	* app/palette_import.c
	* app/qmask.c
	* app/xcf.c
	* app/tools/paint_core.c
	* app/tools/paintbrush.c
	* app/tools/pencil.c: include "libgimpcolor/gimpcolor.h" before all
	gimp includes because it's a standalone library.

	* plug-ins/FractalExplorer/Makefile.am
	* plug-ins/Lighting/Makefile.am
	* plug-ins/MapObject/Makefile.am
	* plug-ins/bmp/Makefile.am
	* plug-ins/common/Makefile.am
	* plug-ins/common/mkgen.pl
	* plug-ins/dbbrowser/Makefile.am
	* plug-ins/faxg3/Makefile.am
	* plug-ins/fits/Makefile.am
	* plug-ins/flame/Makefile.am
	* plug-ins/fp/Makefile.am
	* plug-ins/gap/Makefile.am
	* plug-ins/gdyntext/Makefile.am
	* plug-ins/gfig/Makefile.am
	* plug-ins/gflare/Makefile.am
	* plug-ins/gfli/Makefile.am
	* plug-ins/gimpressionist/Makefile.am
	* plug-ins/helpbrowser/Makefile.am
	* plug-ins/ifscompose/Makefile.am
	* plug-ins/imagemap/Makefile.am
	* plug-ins/maze/Makefile.am
	* plug-ins/mosaic/Makefile.am
	* plug-ins/pagecurl/Makefile.am
	* plug-ins/print/Makefile.am
	* plug-ins/rcm/Makefile.am
	* plug-ins/script-fu/Makefile.am
	* plug-ins/sel2path/Makefile.am
	* plug-ins/sgi/Makefile.am
	* plug-ins/webbrowser/Makefile.am
	* plug-ins/xjt/Makefile.am: add libgimpcolor.la to LDADD.

	* INSTALL: don't recommend to --disable-shared for development.

	* TODO.xml: increased some percentages, added plug-in help stuff.
2001-01-23 18:49:44 +00:00
..
Brushes Added a brush contributed by Nevit <nevilo@yahoo.com>. 2000-12-08 12:17:43 +00:00
Paper Fix to avoid a warning when closing window. 2000-12-14 17:41:10 +00:00
Presets Fix to avoid a warning when closing window. 2000-12-14 17:41:10 +00:00
.cvsignore Added gimpressionist plugin 1999-08-26 22:29:37 +00:00
ChangeLog Various fixes/enhancements 1999-09-09 20:28:34 +00:00
Makefile.am Makefile.am configure.in added stuff for the new library below. 2001-01-23 18:49:44 +00:00
README Added gimpressionist plugin 1999-08-26 22:29:37 +00:00
about.c Added gimpressionist plugin 1999-08-26 22:29:37 +00:00
brush.c Fix to avoid a warning when closing window. 2000-12-14 17:41:10 +00:00
color.c more COMPAT_CRUFT removal 2000-08-30 08:20:24 +00:00
general.c more COMPAT_CRUFT removal 2000-08-30 08:20:24 +00:00
gimp.c plug-ins/FractalExplorer/*.[ch] plug-ins/Lighting/*.[ch] 2000-08-22 03:27:14 +00:00
gimpressionist.c Fixed a bug when using Paper Relief, closing bug #34667. 2000-12-11 11:34:38 +00:00
gimpressionist.h switched to G_PI and RAND_FUNC() 1999-09-09 22:29:41 +00:00
orientation.c more COMPAT_CRUFT removal 2000-08-30 08:20:24 +00:00
orientmap.c more COMPAT_CRUFT removal 2000-08-30 08:20:24 +00:00
paper.c more COMPAT_CRUFT removal 2000-08-30 08:20:24 +00:00
placement.c more COMPAT_CRUFT removal 2000-08-30 08:20:24 +00:00
plasma.c switched to G_PI and RAND_FUNC() 1999-09-09 22:29:41 +00:00
ppmtool.c s/gimp_plugin_help_func/gimp_standard_help_func/ 2000-05-22 17:10:28 +00:00
ppmtool.h The way is now free for a new millenium without sprintf being used together with 1999-12-30 18:54:17 +00:00
presets.c more COMPAT_CRUFT removal 2000-08-30 08:20:24 +00:00
preview.c more COMPAT_CRUFT removal 2000-08-30 08:20:24 +00:00
repaint.c Fixed a bug appearing when using Tileable + Center of Brush coloring, 2000-12-11 13:15:16 +00:00
size.c more COMPAT_CRUFT removal 2000-08-30 08:20:24 +00:00
sizemap.c more COMPAT_CRUFT removal 2000-08-30 08:20:24 +00:00

README

	This is the README for The GIMPressionist
	(c) 1998, 1999 Vidar Madsen - vidar@prosalg.no

	The GIMPressionist is free software, and may be distributed
	freely, provided this file is included!

	This program comes with no warranty, whatsoever. The author
	can not be held liable for any damage caused by proper or
	improper use of this program.


--- Introduction

The GIMPressionist is a plug-in for the GNU Image Manipulation Program,
a.k.a. the GIMP. It can be used to create natural looking painting effects
and similar. It can also be run in a primitive "standalone" mode. 

The current version is still a bit shaky, and is to be considered beta
software. I'll do some serious testing, hopefully across a few more
platforms, as soon as I can.

The official Web-page is http://www.prosalg.no/~vidar/gimpressionist/ and
will always contain a link to the latest released version. 


--- Compiling / Installing

To compile (hopefully):
	make

If you want to compile for GTK-1.1 and GIMP-1.1 instead, you will have
to change the two variable at the top of Makefile. Possibly you would
want to edit DEFAULTPATH as well, but that's not critical.

To install plug-in and accompanying files:
	make install

The plug-in installs itself under $HOME/.gimp/plug-ins/ and copies a
couple of files into the directory $HOME/.gimp/gimpressionist/.  The
subdirectories 'Brushes', 'Paper' and 'Presets' will be created during
"make install", and a few files will be added; As a minimum,
'defaultbrush.pgm' and 'defaultpaper.pgm' under their respective
directories. These are vanilla .PGM files, which could be edited (and
created) with any decent program - like the GIMP! :-) 


--- Standalone

As of version 0.99 and later, the GIMPressionist can also be run
separately from the GIMP. This is primarily intended for debugging
purposes, though, as it still needs GIMP libraries to compile. In your
shell, type: 
	gimpressionist somefile.ppm

The image specified must be a valid PPM file. No other formats are
supported, and probably never will.

If you click "OK", the PPM will be replaced with the "repainted" version.
If you "Cancel", nothing will be done to the file. 


--- File Formats

The "normal" brushes are simply grayscale PGM files, which can be created
with almost any program, including xv and of course The GIMP. A number of
brushes is included, so I guess a more in-depth explaination is not
necessary. And, for those who might want to try it, GIMPressionist can
also read GBR files, which is the GIMP's native brush format. (You still
need to copy them to the GIMPressionist's brush-directory, though. This
will probably be fixed sometimes.)

Version 0.99.4 introduced the concept of using "colored" brushes (although
"pre-rendered" usually is more correct). The brushes' file format is a
plain PPM file, but the layout is somewhat special (and kinda hard to
explain);

- The Red channel contains a shading map of the brush in question. Often
  it resembles the overall image more or less completely.

- The Green channel contains a high-light map. This is a pre-defined
  image of the shiny parts of the brush. (Ordinary grayscale brushes
  have this calculated automatically with a rough emboss-ish algorithm.)

- The Blue channel functions as a brush mask. When applying a brush
  stroke to the image, all areas colored blue in the file are first
  "blacked out" of the image.


--- Feedback

If you have any comments, criticism, ideas for improvement or new
features, or if you run into problems of any sort, let me know, so that I
can (try to) fix it for the next release! (And, if you find platform-
dependant bugs, please try to fix them and send me a patch!) 

I'm also welcoming contributions in the form of brushes or textures! For
this program to be valuable, it needs them... Bad! All contributions will
be properly credited, of course. 

Good luck and happy painting!

Vidar Madsen <vidar@prosalg.no>