Code Monkey home page Code Monkey logo

aggdraw's Introduction

The aggdraw module

image

agg 2.4 notes

aggdraw was ported to agg 2.4 and extended by

Dov Grobgeld <[email protected]> 2016-05-30 Mon

This port is planned for released as 1.4.0, but currently produces different results from previous versions and the causes of these differences have not been tracked down.

Original README

A high-quality graphics engine for PIL, based on Maxim Shemanarev's Anti-Grain Geometry library (from http://antigrain.com).

The necessary AGG sources are included in the aggdraw source kit.

For posterity, reference the old documentation.

Build instructions (all platforms)

  1. Check prerequisites.

    You need a C++ compiler to build this extension.

    The library comes with the necessary AGG sources included.

    The following additional libraries can be used:

  2. Configure.

    To enable freetype, you need to build the library somewhere and make sure the freetype-config command is available on your PATH. The setup.py file will call freetype-config --prefix to locate all of the necessary libraries and headers.

  3. Build.

    The library uses a standard setup.py file, and you can use all standard setup.py commands. I recommend the following steps:

    $ python setup.py build_ext -i
    $ python selftest.py

    (if you're lazy, you can skip the above and just install the library; setup.py will make sure the right stuff is built before it's installed).

  4. Install.

    If the selftest succeeds, you can install the library:

    $ python setup.py install
  5. Enjoy!

AGG2 License

Anti-Grain Geometry - Version 2.0 Copyright (c) 2002 Maxim Shemanarev (McSeem)

Permission to copy, use, modify, sell and distribute this software is granted provided this copyright notice appears in all copies. This software is provided "as is" without express or implied warranty, and with no claim as to its suitability for any purpose.

AggDraw License

The aggdraw interface, and associated modules and documentation are:

Copyright (c) 2011-2017 by AGGDraw Developers Copyright (c) 2003-2006 by Secret Labs AB Copyright (c) 2003-2006 by Fredrik Lundh

By obtaining, using, and/or copying this software and/or its associated documentation, you agree that you have read, understood, and will comply with the following terms and conditions:

Permission to use, copy, modify, and distribute this software and its associated documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appears in all copies, and that both that copyright notice and this permission notice appear in supporting documentation, and that the name of Secret Labs AB or the author not be used in advertising or publicity pertaining to distribution of the software without specific, written prior permission.

SECRET LABS AB AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL SECRET LABS AB OR THE AUTHOR BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

aggdraw's People

Contributors

a-hurst avatar adenyes avatar benburrill avatar bricetebbs avatar djhoese avatar dov avatar ejeschke avatar jakul avatar jaraco avatar micahcochran avatar mraspaud avatar odidev avatar sebastic avatar stuaxo avatar tobynanced2d avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.