Files
harbour-core/harbour/contrib/hbgd
Viktor Szakats 40b78cae34 2008-07-03 15:15 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
- contrib/hbgd/tests/imgs_in/gdlogobig.png
   - contrib/hbgd/tests/imgs_in/conv_test.jpg
   - contrib/hbgd/tests/imgs_in/theclipper.gif
   + contrib/hbgd/tests/imgs_in/harbour.gif
   + contrib/hbgd/tests/imgs_in/gdlogo.png
   + contrib/hbgd/tests/imgs_in/conv_tst.jpg
   * contrib/hbgd/tests/gdtest.prg
   * contrib/hbgd/tests/tostring.prg
   * contrib/hbgd/tests/gdtestcl.prg
     * Removing long filenames in hbgd (part 3/3)

2008-07-03 15:08 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   - contrib/hbgd/tests/images_in
   - contrib/hbgd/tests/images_out
   + contrib/hbgd/tests/imgs_in
   + contrib/hbgd/tests/imgs_out
   * contrib/hbgd/tests/gdtest.prg
   * contrib/hbgd/tests/bartest.prg
   * contrib/hbgd/tests/barms.prg
   * contrib/hbgd/tests/test_out.prg
   * contrib/hbgd/tests/tostring.prg
   * contrib/hbgd/tests/gdtestcl.prg
   * contrib/hbgd/tests/animgif.prg
   * contrib/hbgd/tests/testdpi.prg
   * contrib/hbgd/tests/counter.prg
   * contrib/hbgd/tests/antialia.prg
     * Removing long filenames in hbgd (part 2/3)
     ! Added SVN headers.
     ! Fixed to not use hbcompat.ch.

2008-07-03 14:56 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
   * contrib/hbgd/Makefile
   * contrib/hbgd/common.mak
   - contrib/hbgd/gdexternal.ch
   + contrib/hbgd/gdextern.ch
   - contrib/hbgd/tests/gdtestcls.prg
   + contrib/hbgd/tests/gdtestcl.prg
   - contrib/hbgd/tests/antialiased.prg
   + contrib/hbgd/tests/antialia.prg
     ! Removing long filenames in hbgd (part 1/3)
2008-07-03 13:16:53 +00:00
..

/*
 * $Id$
 */

/*
 * The following parts are Copyright of the individual authors.
 * www - http://www.xharbour.org http://www.harbour-project.org
 *
 * Copyright 2004-2005 Francesco Saverio Giudice <info@fsgiudice.com>
 *    README file explaining howto compile GD
 *
 * See doc/license.txt for licensing terms.
 *
 */

hbgd library is a wrapper around www.libgd.org graphic library

FOLDERS
=======

Folder structure:
  /
  +- doc            : help & license files
  +- include        : gd c include files
  +- samples        : samples folder
  |  |
  |  +- counter     : a sample counter
  |
  +- tests          : test files
     |
     +- digits      : some digits images from 
     |                http://www.digitmania.holowww.com/all.html 
     |                for counter.prg test sample
     +- images_in   : sample images
     +- images_out  : output of test images

COMPILING
=========

Actually platforms supported are:
- Win32 / BCC32
- GNU systems / GCC

to build library on Win32 with BCC use:
   Download bgd.dll from this link:
   http://www.libgd.org/Downloads (Windows.DLL)
   and put a copy of it in this folder and in tests folder
then
   make_b32.bat

on GNU system use:
   make install

   ** requirements: gd, gd-devel, libpng, libpng-devel, libjpeg, libjpeg-devel,
                    freetype, freetype-devel, zlib, zlib-devel

DOCUMENTATION
=============

Not yet finished hbgd.txt is the help file.

SAMPLES
=======

For samples look at tests dir.
gdtest.prg      is an API test application
gdtestcls.prg   is a GDImage/GDChart Class test application
test_out.prg    is a sample of a cgi application for windows (I have to complete it).
antialiased.prg shows how apply anti-alias to lines.
animgif.prg     is a sample to create an animated gif.
bartest.prg     is a sample to create barcodes with GD Library.
counter.prg     is sample applications of a graphic web counter.

to compile:
   in Windows/BCC : bldtest.bat <app_without_prg_ext> (for full static)
   in Linux       : . bldtest.sh <app_without_prg_ext>