summaryrefslogtreecommitdiff
path: root/README
blob: 6bc7a477e4978703ecfb42febf43dd91bc905355 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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/