index.rst 1.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. The pure PHP graphics library
  2. =====================================
  3. This library implements input, output and processing of raster images in pure
  4. PHP, so that image processing PHP extensions are not required.
  5. This allows developers to eliminate some portability issues from their applications.
  6. The basic usage is like this:
  7. .. code-block:: php
  8. <?php
  9. use Mike42\GfxPhp\Image;
  10. $img = Image::fromFile("colorwheel256.png");
  11. $img -> write("test.gif");
  12. Features
  13. --------
  14. - Format support includes PNG, GIF, BMP and the Netpbm formats.
  15. - Support for scaling, cropping, format conversion and colorspace transformations.
  16. - Pure PHP: This library does not require Gd, ImageMagick or GraphicsMagick extensions.
  17. Installation
  18. ------------
  19. Install gfx-php by running:
  20. .. code-block:: bash
  21. composer install mike42/gfx-php
  22. Contribute
  23. ----------
  24. - Issue Tracker: https://github.com/mike42/gfx-php/issues
  25. - Source Code: https://github.com/mike42/gfx-php
  26. Navigation
  27. ==========
  28. .. toctree::
  29. :maxdepth: 1
  30. :caption: User Documentation
  31. user/formats.rst
  32. user/imagetypes.rst
  33. user/operations.rst
  34. .. toctree::
  35. :maxdepth: 1
  36. :caption: Project Information
  37. project/license.rst
  38. project/contributing.rst
  39. .. toctree::
  40. :maxdepth: 2
  41. :caption: API Documentation
  42. Classes <api.rst>
  43. Indices and tables
  44. ==================
  45. * :ref:`genindex`
  46. * :ref:`search`