summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2010-09-15 11:23:49 (GMT)
committer Michael Drake <tlsa@netsurf-browser.org>2010-09-15 11:23:49 (GMT)
commitac1c2b5f479073aa26fb07dd18557285e18a21ca (patch)
tree19641aa88b5c9353079928400f2bedba91796e3c
parent196cba60336459f242369b9ad3a14aebe0b80c23 (diff)
downloadalphagen-ac1c2b5f479073aa26fb07dd18557285e18a21ca.tar.gz
alphagen-ac1c2b5f479073aa26fb07dd18557285e18a21ca.tar.bz2
Documentation and licence info.
svn path=/trunk/tools/alphagen/; revision=10778
-rw-r--r--COPYING19
-rw-r--r--README39
-rw-r--r--src/alphagen.c2
3 files changed, 59 insertions, 1 deletions
diff --git a/COPYING b/COPYING
new file mode 100644
index 0000000..6045f2b
--- a/dev/null
+++ b/COPYING
@@ -0,0 +1,19 @@
+Copyright (C) 2009 Michael Drake
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+ * The above copyright notice and this permission notice shall be included in
+ all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
diff --git a/README b/README
new file mode 100644
index 0000000..6bc7a47
--- a/dev/null
+++ b/README
@@ -0,0 +1,39 @@
+--------------------------------------------------------------------------------
+ AlphaGen README
+--------------------------------------------------------------------------------
+
+ AlphaGen is a utility for recovering alpha channel information for bitmaps.
+ It requires two copies of the input image, one on a black background and
+ one on a white background.
+
+ Usage:
+
+ alphagen <black.png> <white.png> <output.png>
+
+ It outputs a PNG with an alpha channel.
+
+
+ Building AlphaGen
+===================
+
+ To compile AlphaGen:
+
+ $ make
+
+ To cross-compile AlphaGen:
+
+ $ make TARGET=<target-platform>
+
+ LibPNG is required to build.
+
+
+ Obtaining AlphaGen
+====================
+
+ AlphaGen is available from the NetSurf source repository:
+
+ Subversion: svn://svn.netsurf-browser.org/trunk/tools/alphagen/
+
+ Michael Drake's web site is:
+
+ http://www.smoothartist.com/
diff --git a/src/alphagen.c b/src/alphagen.c
index 4a3d4e2..c31e774 100644
--- a/src/alphagen.c
+++ b/src/alphagen.c
@@ -1,5 +1,5 @@
/*
- * Copyright 2009 Michael Drake <tlsa@netsurf-browser.org>
+ * Copyright 2009-2010 Michael Drake <tlsa@netsurf-browser.org>
*
* This file is part of AlphaGen.
*