gimp/plug-ins/gimpressionist
Michael Natterer c1041bcdcc plug-ins/Lighting/lighting_apply.c plug-ins/Lighting/lighting_preview.c
2006-10-30  Michael Natterer  <mitch@gimp.org>

	* plug-ins/Lighting/lighting_apply.c
	* plug-ins/Lighting/lighting_preview.c
	* plug-ins/MapObject/mapobject_apply.c
	* plug-ins/common/spheredesigner.c
	* plug-ins/flame/libifs.c
	* plug-ins/gfig/gfig-arc.c
	* plug-ins/gfig/gfig-bezier.c
	* plug-ins/gfig/gfig-circle.c
	* plug-ins/gfig/gfig-ellipse.c
	* plug-ins/gfig/gfig-line.c
	* plug-ins/gfig/gfig-poly.c
	* plug-ins/gfig/gfig-spiral.c
	* plug-ins/gfig/gfig-star.c
	* plug-ins/gimpressionist/general.c
	* plug-ins/gimpressionist/ppmtool.c
	* plug-ins/gimpressionist/preview.c
	* plug-ins/gimpressionist/preview.h
	* plug-ins/gimpressionist/size.h
	* plug-ins/jpeg/jpeg-save.c
	* plug-ins/uri/uri-backend-gnomevfs.c
	* plug-ins/uri/uri-backend-libcurl.c
	* plug-ins/uri/uri-backend-wget.c
	* plug-ins/winicon/icoload.c
	* plug-ins/winicon/icosave.c: another bunch of missing includes,
	missing "static" and wrong declarations found by -Wmissing-foo
2006-10-30 21:36:08 +00:00
..
Brushes reverted a change that Hans Breuer committed here, probably accidentally. 2004-11-21 16:37:39 +00:00
Paper removed antique Makefile targets, including the "files" hack (which was 2001-11-15 14:42:29 +00:00
Presets converted the newlines in the descriptions to whitespaces, so they'll 2004-07-08 17:47:17 +00:00
.cvsignore removed About dialog. 2005-10-06 11:17:15 +00:00
ChangeLog Various fixes/enhancements 1999-09-09 20:28:34 +00:00
Makefile.am removed About dialog. 2005-10-06 11:17:15 +00:00
README Added gimpressionist plugin 1999-08-26 22:29:37 +00:00
brush.c automatically removed trailing whitespace from 3460 lines. 2006-01-17 12:43:50 +00:00
brush.h Various Gimpressionist Cleanups. Made most remaining non-static global 2004-07-08 15:55:14 +00:00
color.c use the canonical form of signal names. 2005-06-30 16:03:24 +00:00
color.h fixed bug #148088: ("Gimpressioinst crashes if given malicious presets 2004-07-25 14:29:27 +00:00
general.c plug-ins/Lighting/lighting_apply.c plug-ins/Lighting/lighting_preview.c 2006-10-30 21:36:08 +00:00
general.h fixed bug #148088: ("Gimpressioinst crashes if given malicious presets 2004-07-25 14:29:27 +00:00
gimp.c plug-ins/common/CML_explorer.c plug-ins/common/curve_bend.c 2006-06-27 12:38:45 +00:00
gimpressionist.c removed About dialog. 2005-10-06 11:17:15 +00:00
gimpressionist.h plug-ins/gimpressionist/gimpressionist.[ch] 2005-10-06 11:10:34 +00:00
globals.c made the code much more readable by applying the gimp's coding standard 2004-09-02 23:28:44 +00:00
infile.h Moved the global declarations of img_has_alpha and create_colorpage to 2004-07-13 20:58:02 +00:00
orientation.c plug-ins/gimpressionist/gimpressionist.[ch] 2005-10-06 11:10:34 +00:00
orientation.h placed all the orientation map-related public functions in orientmap.h. 2004-07-26 14:56:44 +00:00
orientmap.c plug-ins/gimpressionist/gimpressionist.[ch] 2005-10-06 11:10:34 +00:00
orientmap.h plug-ins/gimpressionist/gimpressionist.[ch] 2005-10-06 11:10:34 +00:00
paper.c use the canonical form of signal names. 2005-06-30 16:03:24 +00:00
paper.h Added the paper.h header for the functions defined in the paper.c module. 2004-07-13 19:38:59 +00:00
placement.c plug-ins/gimpressionist/gimpressionist.[ch] 2005-10-06 11:10:34 +00:00
placement.h fixed bug #148088: ("Gimpressioinst crashes if given malicious presets 2004-07-25 14:29:27 +00:00
plasma.c made the code much more readable by applying the gimp's coding standard 2004-09-02 23:28:44 +00:00
ppmtool.c plug-ins/Lighting/lighting_apply.c plug-ins/Lighting/lighting_preview.c 2006-10-30 21:36:08 +00:00
ppmtool.h converted checks for initialization of ppm's done by checking the "col" 2004-07-25 18:12:49 +00:00
presets.c check for NULL before using a string pointer. Fixes bug #343121. 2006-05-29 09:39:30 +00:00
presets.h Various Gimpressionist Cleanups. Made most remaining non-static global 2004-07-08 15:55:14 +00:00
preview.c plug-ins/Lighting/lighting_apply.c plug-ins/Lighting/lighting_preview.c 2006-10-30 21:36:08 +00:00
preview.h plug-ins/Lighting/lighting_apply.c plug-ins/Lighting/lighting_preview.c 2006-10-30 21:36:08 +00:00
random.h Various Gimpressionist Cleanups. Made most remaining non-static global 2004-07-08 15:55:14 +00:00
repaint.c automatically removed trailing whitespace from 3460 lines. 2006-01-17 12:43:50 +00:00
size.c plug-ins/gimpressionist/gimpressionist.[ch] 2005-10-06 11:10:34 +00:00
size.h plug-ins/Lighting/lighting_apply.c plug-ins/Lighting/lighting_preview.c 2006-10-30 21:36:08 +00:00
sizemap.c plug-ins/gimpressionist/gimpressionist.[ch] 2005-10-06 11:10:34 +00:00
utils.c app/config/gimpcoreconfig.c app/config/gimpguiconfig.c need to free the 2005-04-07 17:10:05 +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>