From ac1c2b5f479073aa26fb07dd18557285e18a21ca Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Wed, 15 Sep 2010 11:23:49 +0000 Subject: Documentation and licence info. svn path=/trunk/tools/alphagen/; revision=10778 --- COPYING | 19 +++++++++++++++++++ README | 39 +++++++++++++++++++++++++++++++++++++++ src/alphagen.c | 2 +- 3 files changed, 59 insertions(+), 1 deletion(-) create mode 100644 COPYING create mode 100644 README 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 + + It outputs a PNG with an alpha channel. + + + Building AlphaGen +=================== + + To compile AlphaGen: + + $ make + + To cross-compile AlphaGen: + + $ make TARGET= + + 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 + * Copyright 2009-2010 Michael Drake * * This file is part of AlphaGen. * -- cgit v1.2.3