summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
--- /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
--- /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.
*