"Fossies" - the Fresh Open Source Software Archive

Member "Plone-5.2.5-UnifiedInstaller-1.0/Licenses/Imaging.txt" (13 Sep 2021, 9570 Bytes) of package /linux/www/Plone-5.2.5-UnifiedInstaller-1.0.tgz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 The Python Imaging Library
    2 $Id: README 2939 2006-12-03 13:43:51Z fredrik $
    3 
    4 Release 1.1.6 (December 3, 2006)
    5 
    6 ====================================================================
    7 The Python Imaging Library 1.1.6
    8 ====================================================================
    9 
   10 Contents
   11 --------
   12 
   13 + Introduction
   14 + Support Options
   15   - Commercial support
   16   - Free support
   17 + Software License
   18 + Build instructions (all platforms)
   19   - Additional notes for Mac OS X
   20   - Additional notes for Windows
   21 
   22 --------------------------------------------------------------------
   23 Introduction
   24 --------------------------------------------------------------------
   25 
   26 The Python Imaging Library (PIL) adds image processing capabilities
   27 to your Python environment.  This library provides extensive file
   28 format support, an efficient internal representation, and powerful
   29 image processing capabilities.
   30 
   31 This source kit has been built and tested on Windows NT/2000/XP, Mac
   32 OS X, and most major Unix platforms (including Alpha, Solaris, and
   33 Intel systems).  We believe that it should work on most modern
   34 platforms (people are using it on Crays, after all ;-)
   35 
   36 The main distribution site for this software is:
   37 
   38         http://www.pythonware.com/products/pil/
   39 
   40 That site also contains information about free and commercial support
   41 options, PIL add-ons, answers to frequently asked questions, and more.
   42 
   43 
   44 Development versions (alphas, betas) are available here:
   45 
   46         http://effbot.org/downloads/
   47 
   48 
   49 The PIL handbook is not included in this distribution; to get the
   50 latest version, check:
   51 
   52         http://www.pythonware.com/library/
   53         http://effbot.org/books/imagingbook/ (drafts)
   54 
   55 
   56 For installation and licensing details, see below.
   57 
   58 
   59 --------------------------------------------------------------------
   60 Support Options
   61 --------------------------------------------------------------------
   62 
   63 + Commercial Support
   64 
   65 Secret Labs (PythonWare) offers support contracts for companies using
   66 the Python Imaging Library in commercial applications, and in mission-
   67 critical environments.  The support contract includes technical support,
   68 bug fixes, extensions to the PIL library, sample applications, and more.
   69 
   70 For the full story, check:
   71 
   72         http://www.pythonware.com/products/pil/support.htm
   73 
   74 
   75 + Free Support
   76 
   77 For support and general questions on the Python Imaging Library, send
   78 e-mail to the Image SIG mailing list:
   79 
   80         image-sig@python.org
   81 
   82 You can join the Image SIG by sending a mail to:
   83 
   84         image-sig-request@python.org
   85 
   86 Put "subscribe" in the message body to automatically subscribe to the
   87 list, or "help" to get additional information.  Alternatively, you can
   88 send your questions to the Python mailing list, python-list@python.org,
   89 or post them to the newsgroup comp.lang.python.  DO NOT SEND SUPPORT
   90 QUESTIONS TO PYTHONWARE ADDRESSES.
   91 
   92 
   93 --------------------------------------------------------------------
   94 Software License
   95 --------------------------------------------------------------------
   96 
   97 The Python Imaging Library is
   98 
   99 Copyright (c) 1997-2006 by Secret Labs AB
  100 Copyright (c) 1995-2006 by Fredrik Lundh
  101 
  102 By obtaining, using, and/or copying this software and/or its
  103 associated documentation, you agree that you have read, understood,
  104 and will comply with the following terms and conditions:
  105 
  106 Permission to use, copy, modify, and distribute this software and its
  107 associated documentation for any purpose and without fee is hereby
  108 granted, provided that the above copyright notice appears in all
  109 copies, and that both that copyright notice and this permission notice
  110 appear in supporting documentation, and that the name of Secret Labs
  111 AB or the author not be used in advertising or publicity pertaining to
  112 distribution of the software without specific, written prior
  113 permission.
  114 
  115 SECRET LABS AB AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO
  116 THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
  117 FITNESS.  IN NO EVENT SHALL SECRET LABS AB OR THE AUTHOR BE LIABLE FOR
  118 ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
  119 WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
  120 ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
  121 OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  122 
  123 
  124 --------------------------------------------------------------------
  125 Build instructions (all platforms)
  126 --------------------------------------------------------------------
  127 
  128 For a list of changes in this release, see the CHANGES document.
  129 
  130 0. If you're in a hurry, try this:
  131 
  132         $ gunzip Imaging-1.1.6.tar.gz
  133         $ tar xvf Imaging-1.1.6.tar
  134         $ cd Imaging-1.1.6
  135         $ python setup.py install
  136 
  137    If you prefer to know what you're doing, read on.
  138 
  139 
  140 1. Prerequisites.
  141 
  142    If you need any of the features described below, make sure you
  143    have the necessary libraries before building PIL.
  144 
  145    feature              library
  146    -----------------------------------------------------------------
  147    JPEG support         libjpeg (6a or 6b)
  148 
  149                         http://www.ijg.org
  150                         http://www.ijg.org/files/jpegsrc.v6b.tar.gz
  151                         ftp://ftp.uu.net/graphics/jpeg/
  152 
  153    PNG support          zlib (1.2.3 or later is recommended)
  154 
  155                         http://www.gzip.org/zlib/
  156 
  157    OpenType/TrueType    freetype2 (2.1.3 or later is recommended)
  158    support              
  159                         http://www.freetype.org
  160                         http://freetype.sourceforge.net  
  161 
  162    If you have a recent Linux version, the libraries provided with
  163    the operating system usually work just fine.  If some library is
  164    missing, installing a prebuilt version (jpeg-devel, zlib-devel,
  165    etc) is usually easier than building from source.
  166 
  167    If you're using Mac OS X, you can use the 'fink' tool to install
  168    missing libraries (also see the Mac OS X section below).
  169 
  170    Similar tools are available for many other platforms (such as
  171    'apt-get' for Debian).
  172 
  173 
  174 2. To build under Python 1.5.2, you need to install the stand-alone
  175    version of the distutils library:
  176 
  177        http://www.python.org/sigs/distutils-sig/download.html
  178 
  179    For newer releases, the distutils library is included in the
  180    Python standard library.
  181 
  182 
  183 3. If you didn't build Python from sources, make sure you have
  184    Python's build support files on your machine.  If you've down-
  185    loaded a prebuilt package (e.g. a Linux RPM), you probably
  186    need additional developer packages.  Look for packages named
  187    "python-devel", "py-dev", or similar.
  188 
  189 
  190 4. When you have everything you need, unpack the PIL distribution
  191    (the file Imaging-1.1.6.tar.gz) in your Python extensions
  192    directory (if you have one, that is.  If not, feel free to
  193    unpack it in any other suitable directory).
  194 
  195         $ cd Python-2.4/Extensions # example
  196         $ gunzip Imaging-1.1.6.tar.gz
  197         $ tar xvf Imaging-1.1.6.tar
  198 
  199 
  200 5. Build the library.  We recommend that you do an in-place build,
  201    and run the self test before installing.
  202 
  203         $ cd Imaging-1.1.6
  204         $ python setup.py build_ext -i
  205         $ python selftest.py
  206 
  207    When the build finishes, a summary report is shown.  Make sure
  208    that the optional components you need are included.
  209 
  210         ----------------------------------------------------------------
  211         PIL 1.1.6 BUILD SUMMARY
  212         ----------------------------------------------------------------
  213         *** TKINTER support not available (Tcl/Tk 8.3 libraries needed)
  214         --- JPEG support ok
  215         --- ZLIB (PNG/ZIP) support ok
  216         --- FREETYPE support ok
  217         ----------------------------------------------------------------
  218 
  219    If the build script won't find a given component, you can edit the
  220    setup.py file and set the appropriate ROOT variable.  For details,
  221    see instructions in the file.
  222 
  223 
  224 6. If the setup.py and selftest.py commands finish without any
  225    errors, you're ready to install the library:
  226 
  227         $ python setup.py install
  228 
  229    (depending on how Python has been installed on your machine,
  230    you might have to log in as a superuser to run the 'install'
  231    command.)
  232 
  233 
  234 --------------------------------------------------------------------
  235 Additional notes for Mac OS X
  236 --------------------------------------------------------------------
  237 
  238 On Mac OS X you will usually install additional software such as
  239 libjpeg or freetype with the "fink" tool, and then it ends up in
  240 "/sw".  If you have installed the libraries elsewhere, you may have
  241 to tweak the "setup.py" file before building.
  242 
  243 
  244 --------------------------------------------------------------------
  245 Additional notes for Windows
  246 --------------------------------------------------------------------
  247 
  248 On Windows, you need to tweak the ROOT settings in the "setup.py"
  249 file, to make it find the external libraries.  See comments in the
  250 file for details.
  251 
  252 Make sure to build PIL and the external libraries with the same
  253 runtime linking options as was used for the Python interpreter
  254 (usually /MD, under Visual Studio).
  255 
  256 
  257 Note that most Python distributions include libraries compiled for
  258 Microsoft Visual Studio.  To build extensions using other tool chains,
  259 see the "Using non-Microsoft compilers on Windows" section in the
  260 distutils handbook:
  261 
  262         http://www.python.org/doc/current/inst/non-ms-compilers.html
  263 
  264 For additional information on how to build extensions using the
  265 popular MinGW compiler, see:
  266 
  267         http://mingw.org (compiler)
  268         http://sebsauvage.net/python/mingw.html (build instructions)
  269         http://sourceforge.net/projects/gnuwin32 (prebuilt libraries)
  270