mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-08-16 18:24:45 +03:00
Removed history
This commit is contained in:
parent
e5fd6d519e
commit
7a8cbdf1ca
|
@ -4,13 +4,6 @@
|
||||||
#
|
#
|
||||||
# bitmap distribution font (bdf) file parser
|
# bitmap distribution font (bdf) file parser
|
||||||
#
|
#
|
||||||
# history:
|
|
||||||
# 1996-05-16 fl created (as bdf2pil)
|
|
||||||
# 1997-08-25 fl converted to FontFile driver
|
|
||||||
# 2001-05-25 fl removed bogus __init__ call
|
|
||||||
# 2002-11-20 fl robustification (from Kevin Cazabon, Dmitry Vasiliev)
|
|
||||||
# 2003-04-22 fl more robustification (from Graham Dumpleton)
|
|
||||||
#
|
|
||||||
# Copyright (c) 1997-2003 by Secret Labs AB.
|
# Copyright (c) 1997-2003 by Secret Labs AB.
|
||||||
# Copyright (c) 1997-2003 by Fredrik Lundh.
|
# Copyright (c) 1997-2003 by Fredrik Lundh.
|
||||||
#
|
#
|
||||||
|
|
|
@ -6,17 +6,6 @@
|
||||||
#
|
#
|
||||||
# Windows (and OS/2) native bitmap storage format.
|
# Windows (and OS/2) native bitmap storage format.
|
||||||
#
|
#
|
||||||
# history:
|
|
||||||
# 1995-09-01 fl Created
|
|
||||||
# 1996-04-30 fl Added save
|
|
||||||
# 1997-08-27 fl Fixed save of 1-bit images
|
|
||||||
# 1998-03-06 fl Load P images as L where possible
|
|
||||||
# 1998-07-03 fl Load P images as 1 where possible
|
|
||||||
# 1998-12-29 fl Handle small palettes
|
|
||||||
# 2002-12-30 fl Fixed load of 1-bit palette images
|
|
||||||
# 2003-04-21 fl Fixed load of 1-bit monochrome images
|
|
||||||
# 2003-04-23 fl Added limited support for BI_BITFIELDS compression
|
|
||||||
#
|
|
||||||
# Copyright (c) 1997-2003 by Secret Labs AB
|
# Copyright (c) 1997-2003 by Secret Labs AB
|
||||||
# Copyright (c) 1995-2003 by Fredrik Lundh
|
# Copyright (c) 1995-2003 by Fredrik Lundh
|
||||||
#
|
#
|
||||||
|
|
|
@ -4,10 +4,6 @@
|
||||||
#
|
#
|
||||||
# a class to read from a container file
|
# a class to read from a container file
|
||||||
#
|
#
|
||||||
# History:
|
|
||||||
# 1995-06-18 fl Created
|
|
||||||
# 1995-09-07 fl Added readline(), readlines()
|
|
||||||
#
|
|
||||||
# Copyright (c) 1997-2001 by Secret Labs AB
|
# Copyright (c) 1997-2001 by Secret Labs AB
|
||||||
# Copyright (c) 1995 by Fredrik Lundh
|
# Copyright (c) 1995 by Fredrik Lundh
|
||||||
#
|
#
|
||||||
|
|
|
@ -7,9 +7,6 @@
|
||||||
# notes:
|
# notes:
|
||||||
# uses BmpImagePlugin.py to read the bitmap data.
|
# uses BmpImagePlugin.py to read the bitmap data.
|
||||||
#
|
#
|
||||||
# history:
|
|
||||||
# 96-05-27 fl Created
|
|
||||||
#
|
|
||||||
# Copyright (c) Secret Labs AB 1997.
|
# Copyright (c) Secret Labs AB 1997.
|
||||||
# Copyright (c) Fredrik Lundh 1996.
|
# Copyright (c) Fredrik Lundh 1996.
|
||||||
#
|
#
|
||||||
|
|
|
@ -9,12 +9,6 @@
|
||||||
# (a list of file offsets) followed by a set of (usually 1-bit)
|
# (a list of file offsets) followed by a set of (usually 1-bit)
|
||||||
# PCX files.
|
# PCX files.
|
||||||
#
|
#
|
||||||
# History:
|
|
||||||
# 1995-09-09 fl Created
|
|
||||||
# 1996-03-20 fl Properly derived from PcxImageFile.
|
|
||||||
# 1998-07-15 fl Renamed offset attribute to avoid name clash
|
|
||||||
# 2002-07-30 fl Fixed file handling
|
|
||||||
#
|
|
||||||
# Copyright (c) 1997-98 by Secret Labs AB.
|
# Copyright (c) 1997-98 by Secret Labs AB.
|
||||||
# Copyright (c) 1995-96 by Fredrik Lundh.
|
# Copyright (c) 1995-96 by Fredrik Lundh.
|
||||||
#
|
#
|
||||||
|
|
|
@ -4,16 +4,6 @@
|
||||||
#
|
#
|
||||||
# EPS file handling
|
# EPS file handling
|
||||||
#
|
#
|
||||||
# History:
|
|
||||||
# 1995-09-01 fl Created (0.1)
|
|
||||||
# 1996-05-18 fl Don't choke on "atend" fields, Ghostscript interface (0.2)
|
|
||||||
# 1996-08-22 fl Don't choke on floating point BoundingBox values
|
|
||||||
# 1996-08-23 fl Handle files from Macintosh (0.3)
|
|
||||||
# 2001-02-17 fl Use 're' instead of 'regex' (Python 2.1) (0.4)
|
|
||||||
# 2003-09-07 fl Check gs.close status (from Federico Di Gregorio) (0.5)
|
|
||||||
# 2014-05-07 e Handling of EPS with binary preview and fixed resolution
|
|
||||||
# resizing
|
|
||||||
#
|
|
||||||
# Copyright (c) 1997-2003 by Secret Labs AB.
|
# Copyright (c) 1997-2003 by Secret Labs AB.
|
||||||
# Copyright (c) 1995-2003 by Fredrik Lundh
|
# Copyright (c) 1995-2003 by Fredrik Lundh
|
||||||
#
|
#
|
||||||
|
|
|
@ -4,11 +4,6 @@
|
||||||
#
|
#
|
||||||
# FLI/FLC file handling.
|
# FLI/FLC file handling.
|
||||||
#
|
#
|
||||||
# History:
|
|
||||||
# 95-09-01 fl Created
|
|
||||||
# 97-01-03 fl Fixed parser, setup decoder tile
|
|
||||||
# 98-07-15 fl Renamed offset attribute to avoid name clash
|
|
||||||
#
|
|
||||||
# Copyright (c) Secret Labs AB 1997-98.
|
# Copyright (c) Secret Labs AB 1997-98.
|
||||||
# Copyright (c) Fredrik Lundh 1995-97.
|
# Copyright (c) Fredrik Lundh 1995-97.
|
||||||
#
|
#
|
||||||
|
|
|
@ -4,10 +4,6 @@
|
||||||
#
|
#
|
||||||
# base class for raster font file parsers
|
# base class for raster font file parsers
|
||||||
#
|
#
|
||||||
# history:
|
|
||||||
# 1997-06-05 fl created
|
|
||||||
# 1997-08-19 fl restrict image width
|
|
||||||
#
|
|
||||||
# Copyright (c) 1997-1998 by Secret Labs AB
|
# Copyright (c) 1997-1998 by Secret Labs AB
|
||||||
# Copyright (c) 1997-1998 by Fredrik Lundh
|
# Copyright (c) 1997-1998 by Fredrik Lundh
|
||||||
#
|
#
|
||||||
|
|
|
@ -6,9 +6,6 @@
|
||||||
#
|
#
|
||||||
# FlashPix support for PIL
|
# FlashPix support for PIL
|
||||||
#
|
#
|
||||||
# History:
|
|
||||||
# 97-01-25 fl Created (reads uncompressed RGB images only)
|
|
||||||
#
|
|
||||||
# Copyright (c) Secret Labs AB 1997.
|
# Copyright (c) Secret Labs AB 1997.
|
||||||
# Copyright (c) Fredrik Lundh 1997.
|
# Copyright (c) Fredrik Lundh 1997.
|
||||||
#
|
#
|
||||||
|
|
|
@ -3,10 +3,6 @@
|
||||||
#
|
#
|
||||||
# load a GIMP brush file
|
# load a GIMP brush file
|
||||||
#
|
#
|
||||||
# History:
|
|
||||||
# 96-03-14 fl Created
|
|
||||||
# 16-01-08 es Version 2
|
|
||||||
#
|
|
||||||
# Copyright (c) Secret Labs AB 1997.
|
# Copyright (c) Secret Labs AB 1997.
|
||||||
# Copyright (c) Fredrik Lundh 1996.
|
# Copyright (c) Fredrik Lundh 1996.
|
||||||
# Copyright (c) Eric Soroos 2016.
|
# Copyright (c) Eric Soroos 2016.
|
||||||
|
|
|
@ -4,9 +4,6 @@
|
||||||
#
|
#
|
||||||
# GD file handling
|
# GD file handling
|
||||||
#
|
#
|
||||||
# History:
|
|
||||||
# 1996-04-12 fl Created
|
|
||||||
#
|
|
||||||
# Copyright (c) 1997 by Secret Labs AB.
|
# Copyright (c) 1997 by Secret Labs AB.
|
||||||
# Copyright (c) 1996 by Fredrik Lundh.
|
# Copyright (c) 1996 by Fredrik Lundh.
|
||||||
#
|
#
|
||||||
|
|
|
@ -4,20 +4,6 @@
|
||||||
#
|
#
|
||||||
# GIF file handling
|
# GIF file handling
|
||||||
#
|
#
|
||||||
# History:
|
|
||||||
# 1995-09-01 fl Created
|
|
||||||
# 1996-12-14 fl Added interlace support
|
|
||||||
# 1996-12-30 fl Added animation support
|
|
||||||
# 1997-01-05 fl Added write support, fixed local colour map bug
|
|
||||||
# 1997-02-23 fl Make sure to load raster data in getdata()
|
|
||||||
# 1997-07-05 fl Support external decoder (0.4)
|
|
||||||
# 1998-07-09 fl Handle all modes when saving (0.5)
|
|
||||||
# 1998-07-15 fl Renamed offset attribute to avoid name clash
|
|
||||||
# 2001-04-16 fl Added rewind support (seek to frame 0) (0.6)
|
|
||||||
# 2001-04-17 fl Added palette optimization (0.7)
|
|
||||||
# 2002-06-06 fl Added transparency support for save (0.8)
|
|
||||||
# 2004-02-24 fl Disable interlacing for small images
|
|
||||||
#
|
|
||||||
# Copyright (c) 1997-2004 by Secret Labs AB
|
# Copyright (c) 1997-2004 by Secret Labs AB
|
||||||
# Copyright (c) 1995-2004 by Fredrik Lundh
|
# Copyright (c) 1995-2004 by Fredrik Lundh
|
||||||
#
|
#
|
||||||
|
|
|
@ -4,9 +4,6 @@
|
||||||
#
|
#
|
||||||
# stuff to read (and render) GIMP gradient files
|
# stuff to read (and render) GIMP gradient files
|
||||||
#
|
#
|
||||||
# History:
|
|
||||||
# 97-08-23 fl Created
|
|
||||||
#
|
|
||||||
# Copyright (c) Secret Labs AB 1997.
|
# Copyright (c) Secret Labs AB 1997.
|
||||||
# Copyright (c) Fredrik Lundh 1997.
|
# Copyright (c) Fredrik Lundh 1997.
|
||||||
#
|
#
|
||||||
|
|
|
@ -4,10 +4,6 @@
|
||||||
#
|
#
|
||||||
# stuff to read GIMP palette files
|
# stuff to read GIMP palette files
|
||||||
#
|
#
|
||||||
# History:
|
|
||||||
# 1997-08-23 fl Created
|
|
||||||
# 2004-09-07 fl Support GIMP 2.0 palette files.
|
|
||||||
#
|
|
||||||
# Copyright (c) Secret Labs AB 1997-2004. All rights reserved.
|
# Copyright (c) Secret Labs AB 1997-2004. All rights reserved.
|
||||||
# Copyright (c) Fredrik Lundh 1997-2004.
|
# Copyright (c) Fredrik Lundh 1997-2004.
|
||||||
#
|
#
|
||||||
|
|
|
@ -4,9 +4,6 @@
|
||||||
#
|
#
|
||||||
# Mac OS X icns file decoder, based on icns.py by Bob Ippolito.
|
# Mac OS X icns file decoder, based on icns.py by Bob Ippolito.
|
||||||
#
|
#
|
||||||
# history:
|
|
||||||
# 2004-10-09 fl Turned into a PIL plugin; removed 2.3 dependencies.
|
|
||||||
#
|
|
||||||
# Copyright (c) 2004 by Bob Ippolito.
|
# Copyright (c) 2004 by Bob Ippolito.
|
||||||
# Copyright (c) 2004 by Secret Labs.
|
# Copyright (c) 2004 by Secret Labs.
|
||||||
# Copyright (c) 2004 by Fredrik Lundh.
|
# Copyright (c) 2004 by Fredrik Lundh.
|
||||||
|
|
|
@ -4,9 +4,6 @@
|
||||||
#
|
#
|
||||||
# Windows Icon support for PIL
|
# Windows Icon support for PIL
|
||||||
#
|
#
|
||||||
# History:
|
|
||||||
# 96-05-27 fl Created
|
|
||||||
#
|
|
||||||
# Copyright (c) Secret Labs AB 1997.
|
# Copyright (c) Secret Labs AB 1997.
|
||||||
# Copyright (c) Fredrik Lundh 1996.
|
# Copyright (c) Fredrik Lundh 1996.
|
||||||
#
|
#
|
||||||
|
|
|
@ -4,21 +4,6 @@
|
||||||
#
|
#
|
||||||
# IFUNC IM file handling for PIL
|
# IFUNC IM file handling for PIL
|
||||||
#
|
#
|
||||||
# history:
|
|
||||||
# 1995-09-01 fl Created.
|
|
||||||
# 1997-01-03 fl Save palette images
|
|
||||||
# 1997-01-08 fl Added sequence support
|
|
||||||
# 1997-01-23 fl Added P and RGB save support
|
|
||||||
# 1997-05-31 fl Read floating point images
|
|
||||||
# 1997-06-22 fl Save floating point images
|
|
||||||
# 1997-08-27 fl Read and save 1-bit images
|
|
||||||
# 1998-06-25 fl Added support for RGB+LUT images
|
|
||||||
# 1998-07-02 fl Added support for YCC images
|
|
||||||
# 1998-07-15 fl Renamed offset attribute to avoid name clash
|
|
||||||
# 1998-12-29 fl Added I;16 support
|
|
||||||
# 2001-02-17 fl Use 're' instead of 'regex' (Python 2.1) (0.7)
|
|
||||||
# 2003-09-26 fl Added LA/PA support
|
|
||||||
#
|
|
||||||
# Copyright (c) 1997-2003 by Secret Labs AB.
|
# Copyright (c) 1997-2003 by Secret Labs AB.
|
||||||
# Copyright (c) 1995-2001 by Fredrik Lundh.
|
# Copyright (c) 1995-2001 by Fredrik Lundh.
|
||||||
#
|
#
|
||||||
|
|
14
PIL/Image.py
14
PIL/Image.py
|
@ -4,20 +4,6 @@
|
||||||
#
|
#
|
||||||
# the Image class wrapper
|
# the Image class wrapper
|
||||||
#
|
#
|
||||||
# partial release history:
|
|
||||||
# 1995-09-09 fl Created
|
|
||||||
# 1996-03-11 fl PIL release 0.0 (proof of concept)
|
|
||||||
# 1996-04-30 fl PIL release 0.1b1
|
|
||||||
# 1999-07-28 fl PIL release 1.0 final
|
|
||||||
# 2000-06-07 fl PIL release 1.1
|
|
||||||
# 2000-10-20 fl PIL release 1.1.1
|
|
||||||
# 2001-05-07 fl PIL release 1.1.2
|
|
||||||
# 2002-03-15 fl PIL release 1.1.3
|
|
||||||
# 2003-05-10 fl PIL release 1.1.4
|
|
||||||
# 2005-03-28 fl PIL release 1.1.5
|
|
||||||
# 2006-12-02 fl PIL release 1.1.6
|
|
||||||
# 2009-11-15 fl PIL release 1.1.7
|
|
||||||
#
|
|
||||||
# Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved.
|
# Copyright (c) 1997-2009 by Secret Labs AB. All rights reserved.
|
||||||
# Copyright (c) 1995-2009 by Fredrik Lundh.
|
# Copyright (c) 1995-2009 by Fredrik Lundh.
|
||||||
#
|
#
|
||||||
|
|
|
@ -4,11 +4,6 @@
|
||||||
#
|
#
|
||||||
# standard channel operations
|
# standard channel operations
|
||||||
#
|
#
|
||||||
# History:
|
|
||||||
# 1996-03-24 fl Created
|
|
||||||
# 1996-08-13 fl Added logical operations (for "1" images)
|
|
||||||
# 2000-10-12 fl Added offset method (from Image.py)
|
|
||||||
#
|
|
||||||
# Copyright (c) 1997-2000 by Secret Labs AB
|
# Copyright (c) 1997-2000 by Secret Labs AB
|
||||||
# Copyright (c) 1996-2000 by Fredrik Lundh
|
# Copyright (c) 1996-2000 by Fredrik Lundh
|
||||||
#
|
#
|
||||||
|
|
|
@ -4,10 +4,6 @@
|
||||||
# Optional color management support, based on Kevin Cazabon's PyCMS
|
# Optional color management support, based on Kevin Cazabon's PyCMS
|
||||||
# library.
|
# library.
|
||||||
|
|
||||||
# History:
|
|
||||||
|
|
||||||
# 2009-03-08 fl Added to PIL.
|
|
||||||
|
|
||||||
# Copyright (C) 2002-2003 Kevin Cazabon
|
# Copyright (C) 2002-2003 Kevin Cazabon
|
||||||
# Copyright (c) 2009 by Fredrik Lundh
|
# Copyright (c) 2009 by Fredrik Lundh
|
||||||
# Copyright (c) 2013 by Eric Soroos
|
# Copyright (c) 2013 by Eric Soroos
|
||||||
|
|
|
@ -4,13 +4,6 @@
|
||||||
#
|
#
|
||||||
# map CSS3-style colour description strings to RGB
|
# map CSS3-style colour description strings to RGB
|
||||||
#
|
#
|
||||||
# History:
|
|
||||||
# 2002-10-24 fl Added support for CSS-style color strings
|
|
||||||
# 2002-12-15 fl Added RGBA support
|
|
||||||
# 2004-03-27 fl Fixed remaining int() problems for Python 1.5.2
|
|
||||||
# 2004-07-19 fl Fixed gray/grey spelling issues
|
|
||||||
# 2009-03-05 fl Fixed rounding error in grayscale calculation
|
|
||||||
#
|
|
||||||
# Copyright (c) 2002-2004 by Secret Labs AB
|
# Copyright (c) 2002-2004 by Secret Labs AB
|
||||||
# Copyright (c) 2002-2004 by Fredrik Lundh
|
# Copyright (c) 2002-2004 by Fredrik Lundh
|
||||||
#
|
#
|
||||||
|
|
|
@ -4,26 +4,6 @@
|
||||||
#
|
#
|
||||||
# drawing interface operations
|
# drawing interface operations
|
||||||
#
|
#
|
||||||
# History:
|
|
||||||
# 1996-04-13 fl Created (experimental)
|
|
||||||
# 1996-08-07 fl Filled polygons, ellipses.
|
|
||||||
# 1996-08-13 fl Added text support
|
|
||||||
# 1998-06-28 fl Handle I and F images
|
|
||||||
# 1998-12-29 fl Added arc; use arc primitive to draw ellipses
|
|
||||||
# 1999-01-10 fl Added shape stuff (experimental)
|
|
||||||
# 1999-02-06 fl Added bitmap support
|
|
||||||
# 1999-02-11 fl Changed all primitives to take options
|
|
||||||
# 1999-02-20 fl Fixed backwards compatibility
|
|
||||||
# 2000-10-12 fl Copy on write, when necessary
|
|
||||||
# 2001-02-18 fl Use default ink for bitmap/text also in fill mode
|
|
||||||
# 2002-10-24 fl Added support for CSS-style color strings
|
|
||||||
# 2002-12-10 fl Added experimental support for RGBA-on-RGB drawing
|
|
||||||
# 2002-12-11 fl Refactored low-level drawing API (work in progress)
|
|
||||||
# 2004-08-26 fl Made Draw() a factory function, added getdraw() support
|
|
||||||
# 2004-09-04 fl Added width support to line primitive
|
|
||||||
# 2004-09-10 fl Added font mode handling
|
|
||||||
# 2006-06-19 fl Added font bearing support (getmask2)
|
|
||||||
#
|
|
||||||
# Copyright (c) 1997-2006 by Secret Labs AB
|
# Copyright (c) 1997-2006 by Secret Labs AB
|
||||||
# Copyright (c) 1996-2006 by Fredrik Lundh
|
# Copyright (c) 1996-2006 by Fredrik Lundh
|
||||||
#
|
#
|
||||||
|
|
|
@ -4,12 +4,6 @@
|
||||||
#
|
#
|
||||||
# WCK-style drawing interface operations
|
# WCK-style drawing interface operations
|
||||||
#
|
#
|
||||||
# History:
|
|
||||||
# 2003-12-07 fl created
|
|
||||||
# 2005-05-15 fl updated; added to PIL as ImageDraw2
|
|
||||||
# 2005-05-15 fl added text support
|
|
||||||
# 2005-05-20 fl added arc/chord/pieslice support
|
|
||||||
#
|
|
||||||
# Copyright (c) 2003-2005 by Secret Labs AB
|
# Copyright (c) 2003-2005 by Secret Labs AB
|
||||||
# Copyright (c) 2003-2005 by Fredrik Lundh
|
# Copyright (c) 2003-2005 by Fredrik Lundh
|
||||||
#
|
#
|
||||||
|
|
|
@ -8,10 +8,6 @@
|
||||||
# Extrapolation", Paul Haeberli and Douglas Voorhies. Available
|
# Extrapolation", Paul Haeberli and Douglas Voorhies. Available
|
||||||
# at http://www.graficaobscura.com/interp/index.html
|
# at http://www.graficaobscura.com/interp/index.html
|
||||||
#
|
#
|
||||||
# History:
|
|
||||||
# 1996-03-23 fl Created
|
|
||||||
# 2009-06-16 fl Fixed mean calculation
|
|
||||||
#
|
|
||||||
# Copyright (c) Secret Labs AB 1997.
|
# Copyright (c) Secret Labs AB 1997.
|
||||||
# Copyright (c) Fredrik Lundh 1996.
|
# Copyright (c) Fredrik Lundh 1996.
|
||||||
#
|
#
|
||||||
|
|
|
@ -4,23 +4,6 @@
|
||||||
#
|
#
|
||||||
# base class for image file handlers
|
# base class for image file handlers
|
||||||
#
|
#
|
||||||
# history:
|
|
||||||
# 1995-09-09 fl Created
|
|
||||||
# 1996-03-11 fl Fixed load mechanism.
|
|
||||||
# 1996-04-15 fl Added pcx/xbm decoders.
|
|
||||||
# 1996-04-30 fl Added encoders.
|
|
||||||
# 1996-12-14 fl Added load helpers
|
|
||||||
# 1997-01-11 fl Use encode_to_file where possible
|
|
||||||
# 1997-08-27 fl Flush output in _save
|
|
||||||
# 1998-03-05 fl Use memory mapping for some modes
|
|
||||||
# 1999-02-04 fl Use memory mapping also for "I;16" and "I;16B"
|
|
||||||
# 1999-05-31 fl Added image parser
|
|
||||||
# 2000-10-12 fl Set readonly flag on memory-mapped images
|
|
||||||
# 2002-03-20 fl Use better messages for common decoder errors
|
|
||||||
# 2003-04-21 fl Fall back on mmap/map_buffer if map is not available
|
|
||||||
# 2003-10-30 fl Added StubImageFile class
|
|
||||||
# 2004-02-25 fl Made incremental parser more robust
|
|
||||||
#
|
|
||||||
# Copyright (c) 1997-2004 by Secret Labs AB
|
# Copyright (c) 1997-2004 by Secret Labs AB
|
||||||
# Copyright (c) 1995-2004 by Fredrik Lundh
|
# Copyright (c) 1995-2004 by Fredrik Lundh
|
||||||
#
|
#
|
||||||
|
|
|
@ -4,11 +4,6 @@
|
||||||
#
|
#
|
||||||
# standard filters
|
# standard filters
|
||||||
#
|
#
|
||||||
# History:
|
|
||||||
# 1995-11-27 fl Created
|
|
||||||
# 2002-06-08 fl Added rank and mode filters
|
|
||||||
# 2003-09-15 fl Fixed rank calculation in rank filter; added expand call
|
|
||||||
#
|
|
||||||
# Copyright (c) 1997-2003 by Secret Labs AB.
|
# Copyright (c) 1997-2003 by Secret Labs AB.
|
||||||
# Copyright (c) 1995-2002 by Fredrik Lundh.
|
# Copyright (c) 1995-2002 by Fredrik Lundh.
|
||||||
#
|
#
|
||||||
|
|
|
@ -4,18 +4,6 @@
|
||||||
#
|
#
|
||||||
# PIL raster font management
|
# PIL raster font management
|
||||||
#
|
#
|
||||||
# History:
|
|
||||||
# 1996-08-07 fl created (experimental)
|
|
||||||
# 1997-08-25 fl minor adjustments to handle fonts from pilfont 0.3
|
|
||||||
# 1999-02-06 fl rewrote most font management stuff in C
|
|
||||||
# 1999-03-17 fl take pth files into account in load_path (from Richard Jones)
|
|
||||||
# 2001-02-17 fl added freetype support
|
|
||||||
# 2001-05-09 fl added TransposedFont wrapper class
|
|
||||||
# 2002-03-04 fl make sure we have a "L" or "1" font
|
|
||||||
# 2002-12-04 fl skip non-directory entries in the system path
|
|
||||||
# 2003-04-29 fl add embedded default font
|
|
||||||
# 2003-09-27 fl added support for truetype charmap encodings
|
|
||||||
#
|
|
||||||
# Todo:
|
# Todo:
|
||||||
# Adapt to PILFONT2 format (16-bit fonts, compressed, single file)
|
# Adapt to PILFONT2 format (16-bit fonts, compressed, single file)
|
||||||
#
|
#
|
||||||
|
|
|
@ -4,11 +4,6 @@
|
||||||
#
|
#
|
||||||
# screen grabber (OS X and Windows only)
|
# screen grabber (OS X and Windows only)
|
||||||
#
|
#
|
||||||
# History:
|
|
||||||
# 2001-04-26 fl created
|
|
||||||
# 2001-09-17 fl use builtin driver, if present
|
|
||||||
# 2002-11-19 fl added grabclipboard support
|
|
||||||
#
|
|
||||||
# Copyright (c) 2001-2002 by Secret Labs AB
|
# Copyright (c) 2001-2002 by Secret Labs AB
|
||||||
# Copyright (c) 2001-2002 by Fredrik Lundh
|
# Copyright (c) 2001-2002 by Fredrik Lundh
|
||||||
#
|
#
|
||||||
|
|
|
@ -4,11 +4,6 @@
|
||||||
#
|
#
|
||||||
# a simple math add-on for the Python Imaging Library
|
# a simple math add-on for the Python Imaging Library
|
||||||
#
|
#
|
||||||
# History:
|
|
||||||
# 1999-02-15 fl Original PIL Plus release
|
|
||||||
# 2005-05-05 fl Simplified and cleaned up for PIL 1.1.6
|
|
||||||
# 2005-09-12 fl Fixed int() and float() for Python 2.4.1
|
|
||||||
#
|
|
||||||
# Copyright (c) 1999-2005 by Secret Labs AB
|
# Copyright (c) 1999-2005 by Secret Labs AB
|
||||||
# Copyright (c) 2005 by Fredrik Lundh
|
# Copyright (c) 2005 by Fredrik Lundh
|
||||||
#
|
#
|
||||||
|
|
|
@ -4,9 +4,6 @@
|
||||||
#
|
#
|
||||||
# standard mode descriptors
|
# standard mode descriptors
|
||||||
#
|
#
|
||||||
# History:
|
|
||||||
# 2006-03-20 fl Added
|
|
||||||
#
|
|
||||||
# Copyright (c) 2006 by Secret Labs AB.
|
# Copyright (c) 2006 by Secret Labs AB.
|
||||||
# Copyright (c) 2006 by Fredrik Lundh.
|
# Copyright (c) 2006 by Fredrik Lundh.
|
||||||
#
|
#
|
||||||
|
|
|
@ -1,8 +1,5 @@
|
||||||
# A binary morphology add-on for the Python Imaging Library
|
# A binary morphology add-on for the Python Imaging Library
|
||||||
#
|
#
|
||||||
# History:
|
|
||||||
# 2014-06-04 Initial version.
|
|
||||||
#
|
|
||||||
# Copyright (c) 2014 Dov Grobgeld <dov.grobgeld@gmail.com>
|
# Copyright (c) 2014 Dov Grobgeld <dov.grobgeld@gmail.com>
|
||||||
|
|
||||||
from PIL import Image
|
from PIL import Image
|
||||||
|
|
|
@ -4,13 +4,6 @@
|
||||||
#
|
#
|
||||||
# standard image operations
|
# standard image operations
|
||||||
#
|
#
|
||||||
# History:
|
|
||||||
# 2001-10-20 fl Created
|
|
||||||
# 2001-10-23 fl Added autocontrast operator
|
|
||||||
# 2001-12-18 fl Added Kevin's fit operator
|
|
||||||
# 2004-03-14 fl Fixed potential division by zero in equalize
|
|
||||||
# 2005-05-05 fl Fixed equalize for low number of values
|
|
||||||
#
|
|
||||||
# Copyright (c) 2001-2004 by Secret Labs AB
|
# Copyright (c) 2001-2004 by Secret Labs AB
|
||||||
# Copyright (c) 2001-2004 by Fredrik Lundh
|
# Copyright (c) 2001-2004 by Fredrik Lundh
|
||||||
#
|
#
|
||||||
|
|
|
@ -4,12 +4,6 @@
|
||||||
#
|
#
|
||||||
# image palette object
|
# image palette object
|
||||||
#
|
#
|
||||||
# History:
|
|
||||||
# 1996-03-11 fl Rewritten.
|
|
||||||
# 1997-01-03 fl Up and running.
|
|
||||||
# 1997-08-23 fl Added load hack
|
|
||||||
# 2001-04-16 fl Fixed randint shadow bug in random()
|
|
||||||
#
|
|
||||||
# Copyright (c) 1997-2001 by Secret Labs AB
|
# Copyright (c) 1997-2001 by Secret Labs AB
|
||||||
# Copyright (c) 1996-1997 by Fredrik Lundh
|
# Copyright (c) 1996-1997 by Fredrik Lundh
|
||||||
#
|
#
|
||||||
|
|
|
@ -4,10 +4,6 @@
|
||||||
#
|
#
|
||||||
# path interface
|
# path interface
|
||||||
#
|
#
|
||||||
# History:
|
|
||||||
# 1996-11-04 fl Created
|
|
||||||
# 2002-04-14 fl Added documentation stub class
|
|
||||||
#
|
|
||||||
# Copyright (c) Secret Labs AB 1997.
|
# Copyright (c) Secret Labs AB 1997.
|
||||||
# Copyright (c) Fredrik Lundh 1996.
|
# Copyright (c) Fredrik Lundh 1996.
|
||||||
#
|
#
|
||||||
|
|
|
@ -4,12 +4,6 @@
|
||||||
#
|
#
|
||||||
# a simple Qt image interface.
|
# a simple Qt image interface.
|
||||||
#
|
#
|
||||||
# history:
|
|
||||||
# 2006-06-03 fl: created
|
|
||||||
# 2006-06-04 fl: inherit from QImage instead of wrapping it
|
|
||||||
# 2006-06-05 fl: removed toimage helper; move string support to ImageQt
|
|
||||||
# 2013-11-13 fl: add support for Qt5 (aurelien.ballier@cyclonit.com)
|
|
||||||
#
|
|
||||||
# Copyright (c) 2006 by Secret Labs AB
|
# Copyright (c) 2006 by Secret Labs AB
|
||||||
# Copyright (c) 2006 by Fredrik Lundh
|
# Copyright (c) 2006 by Fredrik Lundh
|
||||||
#
|
#
|
||||||
|
|
|
@ -4,9 +4,6 @@
|
||||||
#
|
#
|
||||||
# sequence support classes
|
# sequence support classes
|
||||||
#
|
#
|
||||||
# history:
|
|
||||||
# 1997-02-20 fl Created
|
|
||||||
#
|
|
||||||
# Copyright (c) 1997 by Secret Labs AB.
|
# Copyright (c) 1997 by Secret Labs AB.
|
||||||
# Copyright (c) 1997 by Fredrik Lundh.
|
# Copyright (c) 1997 by Fredrik Lundh.
|
||||||
#
|
#
|
||||||
|
|
|
@ -4,9 +4,6 @@
|
||||||
#
|
#
|
||||||
# im.show() drivers
|
# im.show() drivers
|
||||||
#
|
#
|
||||||
# History:
|
|
||||||
# 2008-04-06 fl Created
|
|
||||||
#
|
|
||||||
# Copyright (c) Secret Labs AB 2008.
|
# Copyright (c) Secret Labs AB 2008.
|
||||||
#
|
#
|
||||||
# See the README file for information on usage and redistribution.
|
# See the README file for information on usage and redistribution.
|
||||||
|
|
|
@ -4,12 +4,6 @@
|
||||||
#
|
#
|
||||||
# global image statistics
|
# global image statistics
|
||||||
#
|
#
|
||||||
# History:
|
|
||||||
# 1996-04-05 fl Created
|
|
||||||
# 1997-05-21 fl Added mask; added rms, var, stddev attributes
|
|
||||||
# 1997-08-05 fl Added median
|
|
||||||
# 1998-07-05 hk Fixed integer overflow error
|
|
||||||
#
|
|
||||||
# Notes:
|
# Notes:
|
||||||
# This class shows how to implement delayed evaluation of attributes.
|
# This class shows how to implement delayed evaluation of attributes.
|
||||||
# To get a certain value, simply access the corresponding attribute.
|
# To get a certain value, simply access the corresponding attribute.
|
||||||
|
|
|
@ -4,21 +4,6 @@
|
||||||
#
|
#
|
||||||
# a Tk display interface
|
# a Tk display interface
|
||||||
#
|
#
|
||||||
# History:
|
|
||||||
# 96-04-08 fl Created
|
|
||||||
# 96-09-06 fl Added getimage method
|
|
||||||
# 96-11-01 fl Rewritten, removed image attribute and crop method
|
|
||||||
# 97-05-09 fl Use PyImagingPaste method instead of image type
|
|
||||||
# 97-05-12 fl Minor tweaks to match the IFUNC95 interface
|
|
||||||
# 97-05-17 fl Support the "pilbitmap" booster patch
|
|
||||||
# 97-06-05 fl Added file= and data= argument to image constructors
|
|
||||||
# 98-03-09 fl Added width and height methods to Image classes
|
|
||||||
# 98-07-02 fl Use default mode for "P" images without palette attribute
|
|
||||||
# 98-07-02 fl Explicitly destroy Tkinter image objects
|
|
||||||
# 99-07-24 fl Support multiple Tk interpreters (from Greg Couch)
|
|
||||||
# 99-07-26 fl Automatically hook into Tkinter (if possible)
|
|
||||||
# 99-08-15 fl Hook uses _imagingtk instead of _imaging
|
|
||||||
#
|
|
||||||
# Copyright (c) 1997-1999 by Secret Labs AB
|
# Copyright (c) 1997-1999 by Secret Labs AB
|
||||||
# Copyright (c) 1996-1997 by Fredrik Lundh
|
# Copyright (c) 1996-1997 by Fredrik Lundh
|
||||||
#
|
#
|
||||||
|
|
|
@ -4,9 +4,6 @@
|
||||||
#
|
#
|
||||||
# transform wrappers
|
# transform wrappers
|
||||||
#
|
#
|
||||||
# History:
|
|
||||||
# 2002-04-08 fl Created
|
|
||||||
#
|
|
||||||
# Copyright (c) 2002 by Secret Labs AB
|
# Copyright (c) 2002 by Secret Labs AB
|
||||||
# Copyright (c) 2002 by Fredrik Lundh
|
# Copyright (c) 2002 by Fredrik Lundh
|
||||||
#
|
#
|
||||||
|
|
|
@ -4,13 +4,6 @@
|
||||||
#
|
#
|
||||||
# a Windows DIB display interface
|
# a Windows DIB display interface
|
||||||
#
|
#
|
||||||
# History:
|
|
||||||
# 1996-05-20 fl Created
|
|
||||||
# 1996-09-20 fl Fixed subregion exposure
|
|
||||||
# 1997-09-21 fl Added draw primitive (for tzPrint)
|
|
||||||
# 2003-05-21 fl Added experimental Window/ImageWindow classes
|
|
||||||
# 2003-09-05 fl Added fromstring/tostring methods
|
|
||||||
#
|
|
||||||
# Copyright (c) Secret Labs AB 1997-2003.
|
# Copyright (c) Secret Labs AB 1997-2003.
|
||||||
# Copyright (c) Fredrik Lundh 1996-2003.
|
# Copyright (c) Fredrik Lundh 1996-2003.
|
||||||
#
|
#
|
||||||
|
|
|
@ -4,10 +4,6 @@
|
||||||
#
|
#
|
||||||
# IM Tools support for PIL
|
# IM Tools support for PIL
|
||||||
#
|
#
|
||||||
# history:
|
|
||||||
# 1996-05-27 fl Created (read 8-bit images only)
|
|
||||||
# 2001-02-17 fl Use 're' instead of 'regex' (Python 2.1) (0.2)
|
|
||||||
#
|
|
||||||
# Copyright (c) Secret Labs AB 1997-2001.
|
# Copyright (c) Secret Labs AB 1997-2001.
|
||||||
# Copyright (c) Fredrik Lundh 1996-2001.
|
# Copyright (c) Fredrik Lundh 1996-2001.
|
||||||
#
|
#
|
||||||
|
|
|
@ -4,11 +4,6 @@
|
||||||
#
|
#
|
||||||
# IPTC/NAA file handling
|
# IPTC/NAA file handling
|
||||||
#
|
#
|
||||||
# history:
|
|
||||||
# 1995-10-01 fl Created
|
|
||||||
# 1998-03-09 fl Cleaned up and added to PIL
|
|
||||||
# 2002-06-18 fl Added getiptcinfo helper
|
|
||||||
#
|
|
||||||
# Copyright (c) Secret Labs AB 1997-2002.
|
# Copyright (c) Secret Labs AB 1997-2002.
|
||||||
# Copyright (c) Fredrik Lundh 1995.
|
# Copyright (c) Fredrik Lundh 1995.
|
||||||
#
|
#
|
||||||
|
|
|
@ -4,9 +4,6 @@
|
||||||
#
|
#
|
||||||
# JPEG2000 file handling
|
# JPEG2000 file handling
|
||||||
#
|
#
|
||||||
# History:
|
|
||||||
# 2014-03-12 ajh Created
|
|
||||||
#
|
|
||||||
# Copyright (c) 2014 Coriolis Systems Limited
|
# Copyright (c) 2014 Coriolis Systems Limited
|
||||||
# Copyright (c) 2014 Alastair Houghton
|
# Copyright (c) 2014 Alastair Houghton
|
||||||
#
|
#
|
||||||
|
|
|
@ -7,25 +7,6 @@
|
||||||
# See "Digital Compression and Coding of Continuous-Tone Still Images,
|
# See "Digital Compression and Coding of Continuous-Tone Still Images,
|
||||||
# Part 1, Requirements and Guidelines" (CCITT T.81 / ISO 10918-1)
|
# Part 1, Requirements and Guidelines" (CCITT T.81 / ISO 10918-1)
|
||||||
#
|
#
|
||||||
# History:
|
|
||||||
# 1995-09-09 fl Created
|
|
||||||
# 1995-09-13 fl Added full parser
|
|
||||||
# 1996-03-25 fl Added hack to use the IJG command line utilities
|
|
||||||
# 1996-05-05 fl Workaround Photoshop 2.5 CMYK polarity bug
|
|
||||||
# 1996-05-28 fl Added draft support, JFIF version (0.1)
|
|
||||||
# 1996-12-30 fl Added encoder options, added progression property (0.2)
|
|
||||||
# 1997-08-27 fl Save mode 1 images as BW (0.3)
|
|
||||||
# 1998-07-12 fl Added YCbCr to draft and save methods (0.4)
|
|
||||||
# 1998-10-19 fl Don't hang on files using 16-bit DQT's (0.4.1)
|
|
||||||
# 2001-04-16 fl Extract DPI settings from JFIF files (0.4.2)
|
|
||||||
# 2002-07-01 fl Skip pad bytes before markers; identify Exif files (0.4.3)
|
|
||||||
# 2003-04-25 fl Added experimental EXIF decoder (0.5)
|
|
||||||
# 2003-06-06 fl Added experimental EXIF GPSinfo decoder
|
|
||||||
# 2003-09-13 fl Extract COM markers
|
|
||||||
# 2009-09-06 fl Added icc_profile support (from Florian Hoech)
|
|
||||||
# 2009-03-06 fl Changed CMYK handling; always use Adobe polarity (0.6)
|
|
||||||
# 2009-03-08 fl Added subsampling support (from Justin Huff).
|
|
||||||
#
|
|
||||||
# Copyright (c) 1997-2003 by Secret Labs AB.
|
# Copyright (c) 1997-2003 by Secret Labs AB.
|
||||||
# Copyright (c) 1995-1996 by Fredrik Lundh.
|
# Copyright (c) 1995-1996 by Fredrik Lundh.
|
||||||
#
|
#
|
||||||
|
|
|
@ -4,10 +4,6 @@
|
||||||
#
|
#
|
||||||
# Basic McIdas support for PIL
|
# Basic McIdas support for PIL
|
||||||
#
|
#
|
||||||
# History:
|
|
||||||
# 1997-05-05 fl Created (8-bit images only)
|
|
||||||
# 2009-03-08 fl Added 16/32-bit support.
|
|
||||||
#
|
|
||||||
# Thanks to Richard Jones and Craig Swank for specs and samples.
|
# Thanks to Richard Jones and Craig Swank for specs and samples.
|
||||||
#
|
#
|
||||||
# Copyright (c) Secret Labs AB 1997.
|
# Copyright (c) Secret Labs AB 1997.
|
||||||
|
|
|
@ -7,9 +7,6 @@
|
||||||
# Notes:
|
# Notes:
|
||||||
# uses TiffImagePlugin.py to read the actual image streams
|
# uses TiffImagePlugin.py to read the actual image streams
|
||||||
#
|
#
|
||||||
# History:
|
|
||||||
# 97-01-20 fl Created
|
|
||||||
#
|
|
||||||
# Copyright (c) Secret Labs AB 1997.
|
# Copyright (c) Secret Labs AB 1997.
|
||||||
# Copyright (c) Fredrik Lundh 1997.
|
# Copyright (c) Fredrik Lundh 1997.
|
||||||
#
|
#
|
||||||
|
|
|
@ -4,9 +4,6 @@
|
||||||
#
|
#
|
||||||
# MPEG file handling
|
# MPEG file handling
|
||||||
#
|
#
|
||||||
# History:
|
|
||||||
# 95-09-09 fl Created
|
|
||||||
#
|
|
||||||
# Copyright (c) Secret Labs AB 1997.
|
# Copyright (c) Secret Labs AB 1997.
|
||||||
# Copyright (c) Fredrik Lundh 1995.
|
# Copyright (c) Fredrik Lundh 1995.
|
||||||
#
|
#
|
||||||
|
|
|
@ -12,9 +12,6 @@
|
||||||
# a GIF animation, it is commonly used to represent 3D photographs and is (as
|
# a GIF animation, it is commonly used to represent 3D photographs and is (as
|
||||||
# of this writing) the most commonly used format by 3D cameras.
|
# of this writing) the most commonly used format by 3D cameras.
|
||||||
#
|
#
|
||||||
# History:
|
|
||||||
# 2014-03-13 Feneric Created
|
|
||||||
#
|
|
||||||
# See the README file for information on usage and redistribution.
|
# See the README file for information on usage and redistribution.
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
|
@ -6,10 +6,6 @@
|
||||||
#
|
#
|
||||||
# This is the format used by the Paint program in Windows 1 and 2.
|
# This is the format used by the Paint program in Windows 1 and 2.
|
||||||
#
|
#
|
||||||
# History:
|
|
||||||
# 95-09-05 fl Created
|
|
||||||
# 97-01-03 fl Read/write MSP images
|
|
||||||
#
|
|
||||||
# Copyright (c) Secret Labs AB 1997.
|
# Copyright (c) Secret Labs AB 1997.
|
||||||
# Copyright (c) Fredrik Lundh 1995-97.
|
# Copyright (c) Fredrik Lundh 1995-97.
|
||||||
#
|
#
|
||||||
|
|
|
@ -229,12 +229,6 @@ __version__ = '0.42b'
|
||||||
#-----------------------------------------------------------------------------
|
#-----------------------------------------------------------------------------
|
||||||
# NOTES from PIL 1.1.6:
|
# NOTES from PIL 1.1.6:
|
||||||
|
|
||||||
# History:
|
|
||||||
# 1997-01-20 fl Created
|
|
||||||
# 1997-01-22 fl Fixed 64-bit portability quirk
|
|
||||||
# 2003-09-09 fl Fixed typo in OleFileIO.loadfat (noted by Daniel Haertle)
|
|
||||||
# 2004-02-29 fl Changed long hex constants to signed integers
|
|
||||||
#
|
|
||||||
# Notes:
|
# Notes:
|
||||||
# FIXME: sort out sign problem (eliminate long hex constants)
|
# FIXME: sort out sign problem (eliminate long hex constants)
|
||||||
# FIXME: change filename to use "a/b/c" instead of ["a", "b", "c"]
|
# FIXME: change filename to use "a/b/c" instead of ["a", "b", "c"]
|
||||||
|
|
|
@ -4,11 +4,6 @@
|
||||||
#
|
#
|
||||||
# simple postscript graphics interface
|
# simple postscript graphics interface
|
||||||
#
|
#
|
||||||
# History:
|
|
||||||
# 1996-04-20 fl Created
|
|
||||||
# 1999-01-10 fl Added gsave/grestore to image method
|
|
||||||
# 2005-05-04 fl Fixed floating point issue in image (from Eric Etheridge)
|
|
||||||
#
|
|
||||||
# Copyright (c) 1997-2005 by Secret Labs AB. All rights reserved.
|
# Copyright (c) 1997-2005 by Secret Labs AB. All rights reserved.
|
||||||
# Copyright (c) 1996 by Fredrik Lundh.
|
# Copyright (c) 1996 by Fredrik Lundh.
|
||||||
#
|
#
|
||||||
|
@ -147,9 +142,6 @@ class PSDraw(object):
|
||||||
#
|
#
|
||||||
# EDROFF.PS -- Postscript driver for Edroff 2
|
# EDROFF.PS -- Postscript driver for Edroff 2
|
||||||
#
|
#
|
||||||
# History:
|
|
||||||
# 94-01-25 fl: created (edroff 2.04)
|
|
||||||
#
|
|
||||||
# Copyright (c) Fredrik Lundh 1994.
|
# Copyright (c) Fredrik Lundh 1994.
|
||||||
#
|
#
|
||||||
|
|
||||||
|
@ -176,9 +168,6 @@ EDROFF_PS = """\
|
||||||
#
|
#
|
||||||
# VDI.PS -- Postscript driver for VDI meta commands
|
# VDI.PS -- Postscript driver for VDI meta commands
|
||||||
#
|
#
|
||||||
# History:
|
|
||||||
# 94-01-25 fl: created (edroff 2.04)
|
|
||||||
#
|
|
||||||
# Copyright (c) Fredrik Lundh 1994.
|
# Copyright (c) Fredrik Lundh 1994.
|
||||||
#
|
#
|
||||||
|
|
||||||
|
@ -203,9 +192,6 @@ VDI_PS = """\
|
||||||
#
|
#
|
||||||
# ERROR.PS -- Error handler
|
# ERROR.PS -- Error handler
|
||||||
#
|
#
|
||||||
# History:
|
|
||||||
# 89-11-21 fl: created (pslist 1.10)
|
|
||||||
#
|
|
||||||
|
|
||||||
ERROR_PS = """\
|
ERROR_PS = """\
|
||||||
/landscape false def
|
/landscape false def
|
||||||
|
|
|
@ -4,9 +4,6 @@
|
||||||
#
|
#
|
||||||
# stuff to read simple, teragon-style palette files
|
# stuff to read simple, teragon-style palette files
|
||||||
#
|
#
|
||||||
# History:
|
|
||||||
# 97-08-23 fl Created
|
|
||||||
#
|
|
||||||
# Copyright (c) Secret Labs AB 1997.
|
# Copyright (c) Secret Labs AB 1997.
|
||||||
# Copyright (c) Fredrik Lundh 1997.
|
# Copyright (c) Fredrik Lundh 1997.
|
||||||
#
|
#
|
||||||
|
|
|
@ -4,10 +4,6 @@
|
||||||
#
|
#
|
||||||
# PCD file handling
|
# PCD file handling
|
||||||
#
|
#
|
||||||
# History:
|
|
||||||
# 96-05-10 fl Created
|
|
||||||
# 96-05-27 fl Added draft mode (128x192, 256x384)
|
|
||||||
#
|
|
||||||
# Copyright (c) Secret Labs AB 1997.
|
# Copyright (c) Secret Labs AB 1997.
|
||||||
# Copyright (c) Fredrik Lundh 1996.
|
# Copyright (c) Fredrik Lundh 1996.
|
||||||
#
|
#
|
||||||
|
|
|
@ -6,10 +6,6 @@
|
||||||
#
|
#
|
||||||
# portable compiled font file parser
|
# portable compiled font file parser
|
||||||
#
|
#
|
||||||
# history:
|
|
||||||
# 1997-08-19 fl created
|
|
||||||
# 2003-09-13 fl fixed loading of unicode fonts
|
|
||||||
#
|
|
||||||
# Copyright (c) 1997-2003 by Secret Labs AB.
|
# Copyright (c) 1997-2003 by Secret Labs AB.
|
||||||
# Copyright (c) 1997-2003 by Fredrik Lundh.
|
# Copyright (c) 1997-2003 by Fredrik Lundh.
|
||||||
#
|
#
|
||||||
|
|
|
@ -9,16 +9,6 @@
|
||||||
# Windows applications, including the Windows PaintBrush program in
|
# Windows applications, including the Windows PaintBrush program in
|
||||||
# Windows 3.
|
# Windows 3.
|
||||||
#
|
#
|
||||||
# history:
|
|
||||||
# 1995-09-01 fl Created
|
|
||||||
# 1996-05-20 fl Fixed RGB support
|
|
||||||
# 1997-01-03 fl Fixed 2-bit and 4-bit support
|
|
||||||
# 1999-02-03 fl Fixed 8-bit support (broken in 1.0b1)
|
|
||||||
# 1999-02-07 fl Added write support
|
|
||||||
# 2002-06-09 fl Made 2-bit and 4-bit support a bit more robust
|
|
||||||
# 2002-07-30 fl Seek from to current position, not beginning of file
|
|
||||||
# 2003-06-03 fl Extract DPI settings (info["dpi"])
|
|
||||||
#
|
|
||||||
# Copyright (c) 1997-2003 by Secret Labs AB.
|
# Copyright (c) 1997-2003 by Secret Labs AB.
|
||||||
# Copyright (c) 1995-2003 by Fredrik Lundh.
|
# Copyright (c) 1995-2003 by Fredrik Lundh.
|
||||||
#
|
#
|
||||||
|
|
|
@ -4,12 +4,6 @@
|
||||||
#
|
#
|
||||||
# PDF (Acrobat) file handling
|
# PDF (Acrobat) file handling
|
||||||
#
|
#
|
||||||
# History:
|
|
||||||
# 1996-07-16 fl Created
|
|
||||||
# 1997-01-18 fl Fixed header
|
|
||||||
# 2004-02-21 fl Fixes for 1/L/CMYK images, etc.
|
|
||||||
# 2004-02-24 fl Fixes for 1 and P images.
|
|
||||||
#
|
|
||||||
# Copyright (c) 1997-2004 by Secret Labs AB. All rights reserved.
|
# Copyright (c) 1997-2004 by Secret Labs AB. All rights reserved.
|
||||||
# Copyright (c) 1996-1997 by Fredrik Lundh.
|
# Copyright (c) 1996-1997 by Fredrik Lundh.
|
||||||
#
|
#
|
||||||
|
|
|
@ -4,9 +4,6 @@
|
||||||
#
|
#
|
||||||
# PIXAR raster support for PIL
|
# PIXAR raster support for PIL
|
||||||
#
|
#
|
||||||
# history:
|
|
||||||
# 97-01-29 fl Created
|
|
||||||
#
|
|
||||||
# notes:
|
# notes:
|
||||||
# This is incomplete; it is based on a few samples created with
|
# This is incomplete; it is based on a few samples created with
|
||||||
# Photoshop 2.5 and 3.0, and a summary description provided by
|
# Photoshop 2.5 and 3.0, and a summary description provided by
|
||||||
|
|
|
@ -7,24 +7,6 @@
|
||||||
# See "PNG (Portable Network Graphics) Specification, version 1.0;
|
# See "PNG (Portable Network Graphics) Specification, version 1.0;
|
||||||
# W3C Recommendation", 1996-10-01, Thomas Boutell (ed.).
|
# W3C Recommendation", 1996-10-01, Thomas Boutell (ed.).
|
||||||
#
|
#
|
||||||
# history:
|
|
||||||
# 1996-05-06 fl Created (couldn't resist it)
|
|
||||||
# 1996-12-14 fl Upgraded, added read and verify support (0.2)
|
|
||||||
# 1996-12-15 fl Separate PNG stream parser
|
|
||||||
# 1996-12-29 fl Added write support, added getchunks
|
|
||||||
# 1996-12-30 fl Eliminated circular references in decoder (0.3)
|
|
||||||
# 1998-07-12 fl Read/write 16-bit images as mode I (0.4)
|
|
||||||
# 2001-02-08 fl Added transparency support (from Zircon) (0.5)
|
|
||||||
# 2001-04-16 fl Don't close data source in "open" method (0.6)
|
|
||||||
# 2004-02-24 fl Don't even pretend to support interlaced files (0.7)
|
|
||||||
# 2004-08-31 fl Do basic sanity check on chunk identifiers (0.8)
|
|
||||||
# 2004-09-20 fl Added PngInfo chunk container
|
|
||||||
# 2004-12-18 fl Added DPI read support (based on code by Niki Spahiev)
|
|
||||||
# 2008-08-13 fl Added tRNS support for RGB images
|
|
||||||
# 2009-03-06 fl Support for preserving ICC profiles (by Florian Hoech)
|
|
||||||
# 2009-03-08 fl Added zTXT support (from Lowell Alleman)
|
|
||||||
# 2009-03-29 fl Read interlaced PNG files (from Conrado Porto Lopes Gouvua)
|
|
||||||
#
|
|
||||||
# Copyright (c) 1997-2009 by Secret Labs AB
|
# Copyright (c) 1997-2009 by Secret Labs AB
|
||||||
# Copyright (c) 1996 by Fredrik Lundh
|
# Copyright (c) 1996 by Fredrik Lundh
|
||||||
#
|
#
|
||||||
|
|
|
@ -4,10 +4,6 @@
|
||||||
#
|
#
|
||||||
# PPM support for PIL
|
# PPM support for PIL
|
||||||
#
|
#
|
||||||
# History:
|
|
||||||
# 96-03-24 fl Created
|
|
||||||
# 98-03-06 fl Write RGBA images (as RGB, that is)
|
|
||||||
#
|
|
||||||
# Copyright (c) Secret Labs AB 1997-98.
|
# Copyright (c) Secret Labs AB 1997-98.
|
||||||
# Copyright (c) Fredrik Lundh 1996.
|
# Copyright (c) Fredrik Lundh 1996.
|
||||||
#
|
#
|
||||||
|
|
|
@ -4,12 +4,6 @@
|
||||||
#
|
#
|
||||||
# Adobe PSD 2.5/3.0 file handling
|
# Adobe PSD 2.5/3.0 file handling
|
||||||
#
|
#
|
||||||
# History:
|
|
||||||
# 1995-09-01 fl Created
|
|
||||||
# 1997-01-03 fl Read most PSD images
|
|
||||||
# 1997-01-18 fl Fixed P and CMYK support
|
|
||||||
# 2001-10-21 fl Added seek/tell support (for layers)
|
|
||||||
#
|
|
||||||
# Copyright (c) 1997-2001 by Secret Labs AB.
|
# Copyright (c) 1997-2001 by Secret Labs AB.
|
||||||
# Copyright (c) 1995-2001 by Fredrik Lundh
|
# Copyright (c) 1995-2001 by Fredrik Lundh
|
||||||
#
|
#
|
||||||
|
|
|
@ -7,9 +7,6 @@
|
||||||
# See "The SGI Image File Format (Draft version 0.97)", Paul Haeberli.
|
# See "The SGI Image File Format (Draft version 0.97)", Paul Haeberli.
|
||||||
# <ftp://ftp.sgi.com/graphics/SGIIMAGESPEC>
|
# <ftp://ftp.sgi.com/graphics/SGIIMAGESPEC>
|
||||||
#
|
#
|
||||||
# History:
|
|
||||||
# 1995-09-10 fl Created
|
|
||||||
#
|
|
||||||
# Copyright (c) 2008 by Karsten Hiddemann.
|
# Copyright (c) 2008 by Karsten Hiddemann.
|
||||||
# Copyright (c) 1997 by Secret Labs AB.
|
# Copyright (c) 1997 by Secret Labs AB.
|
||||||
# Copyright (c) 1995 by Fredrik Lundh.
|
# Copyright (c) 1995 by Fredrik Lundh.
|
||||||
|
|
|
@ -3,11 +3,6 @@
|
||||||
#
|
#
|
||||||
# SPIDER image file handling
|
# SPIDER image file handling
|
||||||
#
|
#
|
||||||
# History:
|
|
||||||
# 2004-08-02 Created BB
|
|
||||||
# 2006-03-02 added save method
|
|
||||||
# 2006-03-13 added support for stack images
|
|
||||||
#
|
|
||||||
# Copyright (c) 2004 by Health Research Inc. (HRI) RENSSELAER, NY 12144.
|
# Copyright (c) 2004 by Health Research Inc. (HRI) RENSSELAER, NY 12144.
|
||||||
# Copyright (c) 2004 by William Baxter.
|
# Copyright (c) 2004 by William Baxter.
|
||||||
# Copyright (c) 2004 by Secret Labs AB.
|
# Copyright (c) 2004 by Secret Labs AB.
|
||||||
|
|
|
@ -4,12 +4,6 @@
|
||||||
#
|
#
|
||||||
# Sun image file handling
|
# Sun image file handling
|
||||||
#
|
#
|
||||||
# History:
|
|
||||||
# 1995-09-10 fl Created
|
|
||||||
# 1996-05-28 fl Fixed 32-bit alignment
|
|
||||||
# 1998-12-29 fl Import ImagePalette module
|
|
||||||
# 2001-12-18 fl Fixed palette loading (from Jean-Claude Rimbault)
|
|
||||||
#
|
|
||||||
# Copyright (c) 1997-2001 by Secret Labs AB
|
# Copyright (c) 1997-2001 by Secret Labs AB
|
||||||
# Copyright (c) 1995-1996 by Fredrik Lundh
|
# Copyright (c) 1995-1996 by Fredrik Lundh
|
||||||
#
|
#
|
||||||
|
|
|
@ -4,10 +4,6 @@
|
||||||
#
|
#
|
||||||
# read files from within a tar file
|
# read files from within a tar file
|
||||||
#
|
#
|
||||||
# History:
|
|
||||||
# 95-06-18 fl Created
|
|
||||||
# 96-05-28 fl Open files in binary mode
|
|
||||||
#
|
|
||||||
# Copyright (c) Secret Labs AB 1997.
|
# Copyright (c) Secret Labs AB 1997.
|
||||||
# Copyright (c) Fredrik Lundh 1995-96.
|
# Copyright (c) Fredrik Lundh 1995-96.
|
||||||
#
|
#
|
||||||
|
|
|
@ -4,12 +4,6 @@
|
||||||
#
|
#
|
||||||
# TGA file handling
|
# TGA file handling
|
||||||
#
|
#
|
||||||
# History:
|
|
||||||
# 95-09-01 fl created (reads 24-bit files only)
|
|
||||||
# 97-01-04 fl support more TGA versions, including compressed images
|
|
||||||
# 98-07-04 fl fixed orientation and alpha layer bugs
|
|
||||||
# 98-09-11 fl fixed orientation for runlength decoder
|
|
||||||
#
|
|
||||||
# Copyright (c) Secret Labs AB 1997-98.
|
# Copyright (c) Secret Labs AB 1997-98.
|
||||||
# Copyright (c) Fredrik Lundh 1995-97.
|
# Copyright (c) Fredrik Lundh 1995-97.
|
||||||
#
|
#
|
||||||
|
|
|
@ -13,26 +13,6 @@
|
||||||
# progressive decoding, make sure to use TIFF files where the tag
|
# progressive decoding, make sure to use TIFF files where the tag
|
||||||
# directory is placed first in the file.
|
# directory is placed first in the file.
|
||||||
#
|
#
|
||||||
# History:
|
|
||||||
# 1995-09-01 fl Created
|
|
||||||
# 1996-05-04 fl Handle JPEGTABLES tag
|
|
||||||
# 1996-05-18 fl Fixed COLORMAP support
|
|
||||||
# 1997-01-05 fl Fixed PREDICTOR support
|
|
||||||
# 1997-08-27 fl Added support for rational tags (from Perry Stoll)
|
|
||||||
# 1998-01-10 fl Fixed seek/tell (from Jan Blom)
|
|
||||||
# 1998-07-15 fl Use private names for internal variables
|
|
||||||
# 1999-06-13 fl Rewritten for PIL 1.0 (1.0)
|
|
||||||
# 2000-10-11 fl Additional fixes for Python 2.0 (1.1)
|
|
||||||
# 2001-04-17 fl Fixed rewind support (seek to frame 0) (1.2)
|
|
||||||
# 2001-05-12 fl Added write support for more tags (from Greg Couch) (1.3)
|
|
||||||
# 2001-12-18 fl Added workaround for broken Matrox library
|
|
||||||
# 2002-01-18 fl Don't mess up if photometric tag is missing (D. Alan Stewart)
|
|
||||||
# 2003-05-19 fl Check FILLORDER tag
|
|
||||||
# 2003-09-26 fl Added RGBa support
|
|
||||||
# 2004-02-24 fl Added DPI support; fixed rational write support
|
|
||||||
# 2005-02-07 fl Added workaround for broken Corel Draw 10 files
|
|
||||||
# 2006-01-09 fl Added support for float/double tags (from Russell Nelson)
|
|
||||||
#
|
|
||||||
# Copyright (c) 1997-2006 by Secret Labs AB. All rights reserved.
|
# Copyright (c) 1997-2006 by Secret Labs AB. All rights reserved.
|
||||||
# Copyright (c) 1995-1997 by Fredrik Lundh
|
# Copyright (c) 1995-1997 by Fredrik Lundh
|
||||||
#
|
#
|
||||||
|
|
|
@ -5,9 +5,6 @@
|
||||||
#
|
#
|
||||||
# WAL file handling
|
# WAL file handling
|
||||||
#
|
#
|
||||||
# History:
|
|
||||||
# 2003-04-23 fl created
|
|
||||||
#
|
|
||||||
# Copyright (c) 2003 by Fredrik Lundh.
|
# Copyright (c) 2003 by Fredrik Lundh.
|
||||||
#
|
#
|
||||||
# See the README file for information on usage and redistribution.
|
# See the README file for information on usage and redistribution.
|
||||||
|
|
|
@ -4,11 +4,6 @@
|
||||||
#
|
#
|
||||||
# WMF stub codec
|
# WMF stub codec
|
||||||
#
|
#
|
||||||
# history:
|
|
||||||
# 1996-12-14 fl Created
|
|
||||||
# 2004-02-22 fl Turned into a stub driver
|
|
||||||
# 2004-02-23 fl Added EMF support
|
|
||||||
#
|
|
||||||
# Copyright (c) Secret Labs AB 1997-2004. All rights reserved.
|
# Copyright (c) Secret Labs AB 1997-2004. All rights reserved.
|
||||||
# Copyright (c) Fredrik Lundh 1996.
|
# Copyright (c) Fredrik Lundh 1996.
|
||||||
#
|
#
|
||||||
|
|
|
@ -8,11 +8,6 @@
|
||||||
# see xvcolor.c and xvbrowse.c in the sources to John Bradley's XV,
|
# see xvcolor.c and xvbrowse.c in the sources to John Bradley's XV,
|
||||||
# available from ftp://ftp.cis.upenn.edu/pub/xv/
|
# available from ftp://ftp.cis.upenn.edu/pub/xv/
|
||||||
#
|
#
|
||||||
# history:
|
|
||||||
# 98-08-15 cec created (b/w only)
|
|
||||||
# 98-12-09 cec added color palette
|
|
||||||
# 98-12-28 fl added to PIL (with only a few very minor modifications)
|
|
||||||
#
|
|
||||||
# To do:
|
# To do:
|
||||||
# FIXME: make save work (this requires quantization support)
|
# FIXME: make save work (this requires quantization support)
|
||||||
#
|
#
|
||||||
|
|
|
@ -4,15 +4,6 @@
|
||||||
#
|
#
|
||||||
# XBM File handling
|
# XBM File handling
|
||||||
#
|
#
|
||||||
# History:
|
|
||||||
# 1995-09-08 fl Created
|
|
||||||
# 1996-11-01 fl Added save support
|
|
||||||
# 1997-07-07 fl Made header parser more tolerant
|
|
||||||
# 1997-07-22 fl Fixed yet another parser bug
|
|
||||||
# 2001-02-17 fl Use 're' instead of 'regex' (Python 2.1) (0.4)
|
|
||||||
# 2001-05-13 fl Added hotspot handling (based on code from Bernhard Herzog)
|
|
||||||
# 2004-02-24 fl Allow some whitespace before first #define
|
|
||||||
#
|
|
||||||
# Copyright (c) 1997-2004 by Secret Labs AB
|
# Copyright (c) 1997-2004 by Secret Labs AB
|
||||||
# Copyright (c) 1996-1997 by Fredrik Lundh
|
# Copyright (c) 1996-1997 by Fredrik Lundh
|
||||||
#
|
#
|
||||||
|
|
|
@ -4,10 +4,6 @@
|
||||||
#
|
#
|
||||||
# XPM File handling
|
# XPM File handling
|
||||||
#
|
#
|
||||||
# History:
|
|
||||||
# 1996-12-29 fl Created
|
|
||||||
# 2001-02-17 fl Use 're' instead of 'regex' (Python 2.1) (0.7)
|
|
||||||
#
|
|
||||||
# Copyright (c) Secret Labs AB 1997-2001.
|
# Copyright (c) Secret Labs AB 1997-2001.
|
||||||
# Copyright (c) Fredrik Lundh 1996-2001.
|
# Copyright (c) Fredrik Lundh 1996-2001.
|
||||||
#
|
#
|
||||||
|
|
|
@ -5,9 +5,6 @@
|
||||||
#
|
#
|
||||||
# convert sequence format to GIF animation
|
# convert sequence format to GIF animation
|
||||||
#
|
#
|
||||||
# history:
|
|
||||||
# 97-01-03 fl created
|
|
||||||
#
|
|
||||||
# Copyright (c) Secret Labs AB 1997. All rights reserved.
|
# Copyright (c) Secret Labs AB 1997. All rights reserved.
|
||||||
# Copyright (c) Fredrik Lundh 1997.
|
# Copyright (c) Fredrik Lundh 1997.
|
||||||
#
|
#
|
||||||
|
|
|
@ -5,13 +5,6 @@
|
||||||
#
|
#
|
||||||
# convert image files
|
# convert image files
|
||||||
#
|
#
|
||||||
# History:
|
|
||||||
# 0.1 96-04-20 fl Created
|
|
||||||
# 0.2 96-10-04 fl Use draft mode when converting images
|
|
||||||
# 0.3 96-12-30 fl Optimize output (PNG, JPEG)
|
|
||||||
# 0.4 97-01-18 fl Made optimize an option (PNG, JPEG)
|
|
||||||
# 0.5 98-12-30 fl Fixed -f option (from Anthony Baxter)
|
|
||||||
#
|
|
||||||
|
|
||||||
from __future__ import print_function
|
from __future__ import print_function
|
||||||
|
|
||||||
|
|
|
@ -9,13 +9,6 @@
|
||||||
# pixel mode information for known file formats. Note that
|
# pixel mode information for known file formats. Note that
|
||||||
# you don't need the PIL C extension to use this module.
|
# you don't need the PIL C extension to use this module.
|
||||||
#
|
#
|
||||||
# History:
|
|
||||||
# 0.0 1995-09-01 fl Created
|
|
||||||
# 0.1 1996-05-18 fl Modified options, added debugging mode
|
|
||||||
# 0.2 1996-12-29 fl Added verify mode
|
|
||||||
# 0.3 1999-06-05 fl Don't mess up on class exceptions (1.5.2 and later)
|
|
||||||
# 0.4 2003-09-30 fl Expand wildcards on Windows; robustness tweaks
|
|
||||||
#
|
|
||||||
|
|
||||||
from __future__ import print_function
|
from __future__ import print_function
|
||||||
|
|
||||||
|
|
|
@ -5,10 +5,6 @@
|
||||||
#
|
#
|
||||||
# PIL raster font compiler
|
# PIL raster font compiler
|
||||||
#
|
#
|
||||||
# history:
|
|
||||||
# 1997-08-25 fl created
|
|
||||||
# 2002-03-10 fl use "from PIL import"
|
|
||||||
#
|
|
||||||
|
|
||||||
from __future__ import print_function
|
from __future__ import print_function
|
||||||
|
|
||||||
|
|
|
@ -5,11 +5,6 @@
|
||||||
#
|
#
|
||||||
# print image files to postscript printer
|
# print image files to postscript printer
|
||||||
#
|
#
|
||||||
# History:
|
|
||||||
# 0.1 1996-04-20 fl Created
|
|
||||||
# 0.2 1996-10-04 fl Use draft mode when converting.
|
|
||||||
# 0.3 2003-05-06 fl Fixed a typo or two.
|
|
||||||
#
|
|
||||||
|
|
||||||
from __future__ import print_function
|
from __future__ import print_function
|
||||||
import getopt
|
import getopt
|
||||||
|
|
|
@ -28,14 +28,6 @@
|
||||||
* Setup file for details on how to use tkappinit.c). Note that
|
* Setup file for details on how to use tkappinit.c). Note that
|
||||||
* _tkinter.c must be compiled with WITH_APPINIT.
|
* _tkinter.c must be compiled with WITH_APPINIT.
|
||||||
*
|
*
|
||||||
* History:
|
|
||||||
* 1995-09-12 fl Created
|
|
||||||
* 1996-04-08 fl Ready for release
|
|
||||||
* 1997-05-09 fl Use command instead of image type
|
|
||||||
* 2001-03-18 fl Initialize alpha layer pointer (struct changed in 8.3)
|
|
||||||
* 2003-04-23 fl Fixed building for Tk 8.4.1 and later (Jack Jansen)
|
|
||||||
* 2004-06-24 fl Fixed building for Tk 8.4.6 and later.
|
|
||||||
*
|
|
||||||
* Copyright (c) 1997-2004 by Secret Labs AB
|
* Copyright (c) 1997-2004 by Secret Labs AB
|
||||||
* Copyright (c) 1995-2004 by Fredrik Lundh
|
* Copyright (c) 1995-2004 by Fredrik Lundh
|
||||||
*
|
*
|
||||||
|
|
62
_imaging.c
62
_imaging.c
|
@ -3,68 +3,6 @@
|
||||||
*
|
*
|
||||||
* the imaging library bindings
|
* the imaging library bindings
|
||||||
*
|
*
|
||||||
* history:
|
|
||||||
* 1995-09-24 fl Created
|
|
||||||
* 1996-03-24 fl Ready for first public release (release 0.0)
|
|
||||||
* 1996-03-25 fl Added fromstring (for Jack's "img" library)
|
|
||||||
* 1996-03-28 fl Added channel operations
|
|
||||||
* 1996-03-31 fl Added point operation
|
|
||||||
* 1996-04-08 fl Added new/new_block/new_array factories
|
|
||||||
* 1996-04-13 fl Added decoders
|
|
||||||
* 1996-05-04 fl Added palette hack
|
|
||||||
* 1996-05-12 fl Compile cleanly as C++
|
|
||||||
* 1996-05-19 fl Added matrix conversions, gradient fills
|
|
||||||
* 1996-05-27 fl Added display_mode
|
|
||||||
* 1996-07-22 fl Added getbbox, offset
|
|
||||||
* 1996-07-23 fl Added sequence semantics
|
|
||||||
* 1996-08-13 fl Added logical operators, point mode
|
|
||||||
* 1996-08-16 fl Modified paste interface
|
|
||||||
* 1996-09-06 fl Added putdata methods, use abstract interface
|
|
||||||
* 1996-11-01 fl Added xbm encoder
|
|
||||||
* 1996-11-04 fl Added experimental path stuff, draw_lines, etc
|
|
||||||
* 1996-12-10 fl Added zip decoder, crc32 interface
|
|
||||||
* 1996-12-14 fl Added modulo arithmetics
|
|
||||||
* 1996-12-29 fl Added zip encoder
|
|
||||||
* 1997-01-03 fl Added fli and msp decoders
|
|
||||||
* 1997-01-04 fl Added experimental sun_rle and tga_rle decoders
|
|
||||||
* 1997-01-05 fl Added gif encoder, getpalette hack
|
|
||||||
* 1997-02-23 fl Added histogram mask
|
|
||||||
* 1997-05-12 fl Minor tweaks to match the IFUNC95 interface
|
|
||||||
* 1997-05-21 fl Added noise generator, spread effect
|
|
||||||
* 1997-06-05 fl Added mandelbrot generator
|
|
||||||
* 1997-08-02 fl Modified putpalette to coerce image mode if necessary
|
|
||||||
* 1998-01-11 fl Added INT32 support
|
|
||||||
* 1998-01-22 fl Fixed draw_points to draw the last point too
|
|
||||||
* 1998-06-28 fl Added getpixel, getink, draw_ink
|
|
||||||
* 1998-07-12 fl Added getextrema
|
|
||||||
* 1998-07-17 fl Added point conversion to arbitrary formats
|
|
||||||
* 1998-09-21 fl Added support for resampling filters
|
|
||||||
* 1998-09-22 fl Added support for quad transform
|
|
||||||
* 1998-12-29 fl Added support for arcs, chords, and pieslices
|
|
||||||
* 1999-01-10 fl Added some experimental arrow graphics stuff
|
|
||||||
* 1999-02-06 fl Added draw_bitmap, font acceleration stuff
|
|
||||||
* 2001-04-17 fl Fixed some egcs compiler nits
|
|
||||||
* 2001-09-17 fl Added screen grab primitives (win32)
|
|
||||||
* 2002-03-09 fl Added stretch primitive
|
|
||||||
* 2002-03-10 fl Fixed filter handling in rotate
|
|
||||||
* 2002-06-06 fl Added I, F, and RGB support to putdata
|
|
||||||
* 2002-06-08 fl Added rankfilter
|
|
||||||
* 2002-06-09 fl Added support for user-defined filter kernels
|
|
||||||
* 2002-11-19 fl Added clipboard grab primitives (win32)
|
|
||||||
* 2002-12-11 fl Added draw context
|
|
||||||
* 2003-04-26 fl Tweaks for Python 2.3 beta 1
|
|
||||||
* 2003-05-21 fl Added createwindow primitive (win32)
|
|
||||||
* 2003-09-13 fl Added thread section hooks
|
|
||||||
* 2003-09-15 fl Added expand helper
|
|
||||||
* 2003-09-26 fl Added experimental LA support
|
|
||||||
* 2004-02-21 fl Handle zero-size images in quantize
|
|
||||||
* 2004-06-05 fl Added ptr attribute (used to access Imaging objects)
|
|
||||||
* 2004-06-05 fl Don't crash when fetching pixels from zero-wide images
|
|
||||||
* 2004-09-17 fl Added getcolors
|
|
||||||
* 2004-10-04 fl Added modefilter
|
|
||||||
* 2005-10-02 fl Added access proxy
|
|
||||||
* 2006-06-18 fl Always draw last point in polyline
|
|
||||||
*
|
|
||||||
* Copyright (c) 1997-2006 by Secret Labs AB
|
* Copyright (c) 1997-2006 by Secret Labs AB
|
||||||
* Copyright (c) 1995-2006 by Fredrik Lundh
|
* Copyright (c) 1995-2006 by Fredrik Lundh
|
||||||
*
|
*
|
||||||
|
|
12
_imagingft.c
12
_imagingft.c
|
@ -3,18 +3,6 @@
|
||||||
*
|
*
|
||||||
* a FreeType 2.X driver for PIL
|
* a FreeType 2.X driver for PIL
|
||||||
*
|
*
|
||||||
* history:
|
|
||||||
* 2001-02-17 fl Created (based on old experimental freetype 1.0 code)
|
|
||||||
* 2001-04-18 fl Fixed some egcs compiler nits
|
|
||||||
* 2002-11-08 fl Added unicode support; more font metrics, etc
|
|
||||||
* 2003-05-20 fl Fixed compilation under 1.5.2 and newer non-unicode builds
|
|
||||||
* 2003-09-27 fl Added charmap encoding support
|
|
||||||
* 2004-05-15 fl Fixed compilation for FreeType 2.1.8
|
|
||||||
* 2004-09-10 fl Added support for monochrome bitmaps
|
|
||||||
* 2006-06-18 fl Fixed glyph bearing calculation
|
|
||||||
* 2007-12-23 fl Fixed crash in family/style attribute fetch
|
|
||||||
* 2008-01-02 fl Handle Unicode filenames properly
|
|
||||||
*
|
|
||||||
* Copyright (c) 1998-2007 by Secret Labs AB
|
* Copyright (c) 1998-2007 by Secret Labs AB
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
@ -3,10 +3,6 @@
|
||||||
*
|
*
|
||||||
* a simple math add-on for the Python Imaging Library
|
* a simple math add-on for the Python Imaging Library
|
||||||
*
|
*
|
||||||
* history:
|
|
||||||
* 1999-02-15 fl Created
|
|
||||||
* 2005-05-05 fl Simplified and cleaned up for PIL 1.1.6
|
|
||||||
*
|
|
||||||
* Copyright (c) 1999-2005 by Secret Labs AB
|
* Copyright (c) 1999-2005 by Secret Labs AB
|
||||||
* Copyright (c) 2005 by Fredrik Lundh
|
* Copyright (c) 2005 by Fredrik Lundh
|
||||||
*
|
*
|
||||||
|
|
|
@ -3,9 +3,6 @@
|
||||||
*
|
*
|
||||||
* A binary morphology add-on for the Python Imaging Library
|
* A binary morphology add-on for the Python Imaging Library
|
||||||
*
|
*
|
||||||
* History:
|
|
||||||
* 2014-06-04 Initial version.
|
|
||||||
*
|
|
||||||
* Copyright (c) 2014 Dov Grobgeld <dov.grobgeld@gmail.com>
|
* Copyright (c) 2014 Dov Grobgeld <dov.grobgeld@gmail.com>
|
||||||
*
|
*
|
||||||
* See the README file for information on usage and redistribution.
|
* See the README file for information on usage and redistribution.
|
||||||
|
|
|
@ -3,10 +3,6 @@
|
||||||
*
|
*
|
||||||
* tkinter hooks
|
* tkinter hooks
|
||||||
*
|
*
|
||||||
* history:
|
|
||||||
* 99-07-26 fl created
|
|
||||||
* 99-08-15 fl moved to its own support module
|
|
||||||
*
|
|
||||||
* Copyright (c) Secret Labs AB 1999.
|
* Copyright (c) Secret Labs AB 1999.
|
||||||
*
|
*
|
||||||
* See the README file for information on usage and redistribution.
|
* See the README file for information on usage and redistribution.
|
||||||
|
|
18
decode.c
18
decode.c
|
@ -3,24 +3,6 @@
|
||||||
*
|
*
|
||||||
* standard decoder interfaces for the Imaging library
|
* standard decoder interfaces for the Imaging library
|
||||||
*
|
*
|
||||||
* history:
|
|
||||||
* 1996-03-28 fl Moved from _imagingmodule.c
|
|
||||||
* 1996-04-15 fl Support subregions in setimage
|
|
||||||
* 1996-04-19 fl Allocate decoder buffer (where appropriate)
|
|
||||||
* 1996-05-02 fl Added jpeg decoder
|
|
||||||
* 1996-05-12 fl Compile cleanly as C++
|
|
||||||
* 1996-05-16 fl Added hex decoder
|
|
||||||
* 1996-05-26 fl Added jpeg configuration parameters
|
|
||||||
* 1996-12-14 fl Added zip decoder
|
|
||||||
* 1996-12-30 fl Plugged potential memory leak for tiled images
|
|
||||||
* 1997-01-03 fl Added fli and msp decoders
|
|
||||||
* 1997-01-04 fl Added sun_rle and tga_rle decoders
|
|
||||||
* 1997-05-31 fl Added bitfield decoder
|
|
||||||
* 1998-09-11 fl Added orientation and pixelsize fields to tga_rle decoder
|
|
||||||
* 1998-12-29 fl Added mode/rawmode argument to decoders
|
|
||||||
* 1998-12-30 fl Added mode argument to *all* decoders
|
|
||||||
* 2002-06-09 fl Added stride argument to pcx decoder
|
|
||||||
*
|
|
||||||
* Copyright (c) 1997-2002 by Secret Labs AB.
|
* Copyright (c) 1997-2002 by Secret Labs AB.
|
||||||
* Copyright (c) 1995-2002 by Fredrik Lundh.
|
* Copyright (c) 1995-2002 by Fredrik Lundh.
|
||||||
*
|
*
|
||||||
|
|
13
display.c
13
display.c
|
@ -3,19 +3,6 @@
|
||||||
*
|
*
|
||||||
* display support (and other windows-related stuff)
|
* display support (and other windows-related stuff)
|
||||||
*
|
*
|
||||||
* History:
|
|
||||||
* 1996-05-13 fl Windows DIB support
|
|
||||||
* 1996-05-21 fl Added palette stuff
|
|
||||||
* 1996-05-28 fl Added display_mode stuff
|
|
||||||
* 1997-09-21 fl Added draw primitive
|
|
||||||
* 2001-09-17 fl Added ImagingGrabScreen (from _grabscreen.c)
|
|
||||||
* 2002-05-12 fl Added ImagingListWindows
|
|
||||||
* 2002-11-19 fl Added clipboard support
|
|
||||||
* 2002-11-25 fl Added GetDC/ReleaseDC helpers
|
|
||||||
* 2003-05-21 fl Added create window support (including window callback)
|
|
||||||
* 2003-09-05 fl Added fromstring/tostring methods
|
|
||||||
* 2009-03-14 fl Added WMF support (from pilwmf)
|
|
||||||
*
|
|
||||||
* Copyright (c) 1997-2003 by Secret Labs AB.
|
* Copyright (c) 1997-2003 by Secret Labs AB.
|
||||||
* Copyright (c) 1996-1997 by Fredrik Lundh.
|
* Copyright (c) 1996-1997 by Fredrik Lundh.
|
||||||
*
|
*
|
||||||
|
|
11
encode.c
11
encode.c
|
@ -3,17 +3,6 @@
|
||||||
*
|
*
|
||||||
* standard encoder interfaces for the Imaging library
|
* standard encoder interfaces for the Imaging library
|
||||||
*
|
*
|
||||||
* History:
|
|
||||||
* 1996-04-19 fl Based on decoders.c
|
|
||||||
* 1996-05-12 fl Compile cleanly as C++
|
|
||||||
* 1996-12-30 fl Plugged potential memory leak for tiled images
|
|
||||||
* 1997-01-03 fl Added GIF encoder
|
|
||||||
* 1997-01-05 fl Plugged encoder buffer leaks
|
|
||||||
* 1997-01-11 fl Added encode_to_file method
|
|
||||||
* 1998-03-09 fl Added mode/rawmode argument to encoders
|
|
||||||
* 1998-07-09 fl Added interlace argument to GIF encoder
|
|
||||||
* 1999-02-07 fl Added PCX encoder
|
|
||||||
*
|
|
||||||
* Copyright (c) 1997-2001 by Secret Labs AB
|
* Copyright (c) 1997-2001 by Secret Labs AB
|
||||||
* Copyright (c) 1996-1997 by Fredrik Lundh
|
* Copyright (c) 1996-1997 by Fredrik Lundh
|
||||||
*
|
*
|
||||||
|
|
|
@ -4,11 +4,6 @@
|
||||||
*
|
*
|
||||||
* stuff to extract and paste back individual bands
|
* stuff to extract and paste back individual bands
|
||||||
*
|
*
|
||||||
* history:
|
|
||||||
* 1996-03-20 fl Created
|
|
||||||
* 1997-08-27 fl Fixed putband for single band targets.
|
|
||||||
* 2003-09-26 fl Fixed getband/putband for 2-band images (LA, PA).
|
|
||||||
*
|
|
||||||
* Copyright (c) 1997-2003 by Secret Labs AB.
|
* Copyright (c) 1997-2003 by Secret Labs AB.
|
||||||
* Copyright (c) 1996-1997 by Fredrik Lundh.
|
* Copyright (c) 1996-1997 by Fredrik Lundh.
|
||||||
*
|
*
|
||||||
|
|
|
@ -4,9 +4,6 @@
|
||||||
*
|
*
|
||||||
* decoder for packed bitfields (converts to floating point)
|
* decoder for packed bitfields (converts to floating point)
|
||||||
*
|
*
|
||||||
* history:
|
|
||||||
* 97-05-31 fl created (much more than originally intended)
|
|
||||||
*
|
|
||||||
* Copyright (c) Fredrik Lundh 1997.
|
* Copyright (c) Fredrik Lundh 1997.
|
||||||
* Copyright (c) Secret Labs AB 1997.
|
* Copyright (c) Secret Labs AB 1997.
|
||||||
*
|
*
|
||||||
|
|
|
@ -4,11 +4,6 @@
|
||||||
*
|
*
|
||||||
* interpolate between two existing images
|
* interpolate between two existing images
|
||||||
*
|
*
|
||||||
* history:
|
|
||||||
* 96-03-20 fl Created
|
|
||||||
* 96-05-18 fl Simplified blend expression
|
|
||||||
* 96-10-05 fl Fixed expression bug, special case for interpolation
|
|
||||||
*
|
|
||||||
* Copyright (c) Fredrik Lundh 1996.
|
* Copyright (c) Fredrik Lundh 1996.
|
||||||
* Copyright (c) Secret Labs AB 1997.
|
* Copyright (c) Secret Labs AB 1997.
|
||||||
*
|
*
|
||||||
|
|
|
@ -4,12 +4,6 @@
|
||||||
*
|
*
|
||||||
* basic channel operations
|
* basic channel operations
|
||||||
*
|
*
|
||||||
* history:
|
|
||||||
* 1996-03-28 fl Created
|
|
||||||
* 1996-08-13 fl Added and/or/xor for "1" images
|
|
||||||
* 1996-12-14 fl Added add_modulo, sub_modulo
|
|
||||||
* 2005-09-10 fl Fixed output values from and/or/xor
|
|
||||||
*
|
|
||||||
* Copyright (c) 1996 by Fredrik Lundh.
|
* Copyright (c) 1996 by Fredrik Lundh.
|
||||||
* Copyright (c) 1997 by Secret Labs AB.
|
* Copyright (c) 1997 by Secret Labs AB.
|
||||||
*
|
*
|
||||||
|
|
|
@ -4,28 +4,6 @@
|
||||||
*
|
*
|
||||||
* convert images
|
* convert images
|
||||||
*
|
*
|
||||||
* history:
|
|
||||||
* 1995-06-15 fl created
|
|
||||||
* 1995-11-28 fl added some "RGBA" and "CMYK" conversions
|
|
||||||
* 1996-04-22 fl added "1" conversions (same as "L")
|
|
||||||
* 1996-05-05 fl added palette conversions (hack)
|
|
||||||
* 1996-07-23 fl fixed "1" conversions to zero/non-zero convention
|
|
||||||
* 1996-11-01 fl fixed "P" to "L" and "RGB" to "1" conversions
|
|
||||||
* 1996-12-29 fl set alpha byte in RGB converters
|
|
||||||
* 1997-05-12 fl added ImagingConvert2
|
|
||||||
* 1997-05-30 fl added floating point support
|
|
||||||
* 1997-08-27 fl added "P" to "1" and "P" to "F" conversions
|
|
||||||
* 1998-01-11 fl added integer support
|
|
||||||
* 1998-07-01 fl added "YCbCr" support
|
|
||||||
* 1998-07-02 fl added "RGBX" conversions (sort of)
|
|
||||||
* 1998-07-04 fl added floyd-steinberg dithering
|
|
||||||
* 1998-07-12 fl changed "YCrCb" to "YCbCr" (!)
|
|
||||||
* 1998-12-29 fl added basic "I;16" and "I;16B" conversions
|
|
||||||
* 1999-02-03 fl added "RGBa", and "BGR" conversions (experimental)
|
|
||||||
* 2003-09-26 fl added "LA" and "PA" conversions (experimental)
|
|
||||||
* 2005-05-05 fl fixed "P" to "1" threshold
|
|
||||||
* 2005-12-08 fl fixed palette memory leak in topalette
|
|
||||||
*
|
|
||||||
* Copyright (c) 1997-2005 by Secret Labs AB.
|
* Copyright (c) 1997-2005 by Secret Labs AB.
|
||||||
* Copyright (c) 1995-1997 by Fredrik Lundh.
|
* Copyright (c) 1995-1997 by Fredrik Lundh.
|
||||||
*
|
*
|
||||||
|
|
|
@ -4,9 +4,6 @@
|
||||||
*
|
*
|
||||||
* code to convert YCbCr data
|
* code to convert YCbCr data
|
||||||
*
|
*
|
||||||
* history:
|
|
||||||
* 98-07-01 hk Created
|
|
||||||
*
|
|
||||||
* Copyright (c) Secret Labs AB 1998
|
* Copyright (c) Secret Labs AB 1998
|
||||||
*
|
*
|
||||||
* See the README file for information on usage and redistribution.
|
* See the README file for information on usage and redistribution.
|
||||||
|
|
|
@ -4,11 +4,6 @@
|
||||||
*
|
*
|
||||||
* copy image
|
* copy image
|
||||||
*
|
*
|
||||||
* history:
|
|
||||||
* 95-11-26 fl Moved from Imaging.c
|
|
||||||
* 97-05-12 fl Added ImagingCopy2
|
|
||||||
* 97-08-28 fl Allow imOut == NULL in ImagingCopy2
|
|
||||||
*
|
|
||||||
* Copyright (c) Fredrik Lundh 1995-97.
|
* Copyright (c) Fredrik Lundh 1995-97.
|
||||||
* Copyright (c) Secret Labs AB 1997.
|
* Copyright (c) Secret Labs AB 1997.
|
||||||
*
|
*
|
||||||
|
|
|
@ -4,9 +4,6 @@
|
||||||
*
|
*
|
||||||
* calculate ISO 3307 checksum
|
* calculate ISO 3307 checksum
|
||||||
*
|
*
|
||||||
* history:
|
|
||||||
* 96-12-10 fl: Created (based on example in the PNG spec)
|
|
||||||
*
|
|
||||||
* Copyright (c) Fredrik Lundh 1996.
|
* Copyright (c) Fredrik Lundh 1996.
|
||||||
* Copyright (c) Secret Labs AB 1997.
|
* Copyright (c) Secret Labs AB 1997.
|
||||||
*
|
*
|
||||||
|
|
|
@ -4,11 +4,6 @@
|
||||||
*
|
*
|
||||||
* cut region from image
|
* cut region from image
|
||||||
*
|
*
|
||||||
* history:
|
|
||||||
* 95-11-27 fl Created
|
|
||||||
* 98-07-10 fl Fixed "null result" error
|
|
||||||
* 99-02-05 fl Rewritten to use Paste primitive
|
|
||||||
*
|
|
||||||
* Copyright (c) Secret Labs AB 1997-99.
|
* Copyright (c) Secret Labs AB 1997-99.
|
||||||
* Copyright (c) Fredrik Lundh 1995.
|
* Copyright (c) Fredrik Lundh 1995.
|
||||||
*
|
*
|
||||||
|
|
|
@ -4,15 +4,6 @@
|
||||||
*
|
*
|
||||||
* imaging display object for Windows
|
* imaging display object for Windows
|
||||||
*
|
*
|
||||||
* history:
|
|
||||||
* 1996-05-12 fl Created
|
|
||||||
* 1996-05-17 fl Up and running
|
|
||||||
* 1996-05-21 fl Added palette stuff
|
|
||||||
* 1996-05-26 fl Added query palette and mode inquery
|
|
||||||
* 1997-09-21 fl Added draw primitive
|
|
||||||
* 1998-01-20 fl Use StretchDIBits instead of StretchBlt
|
|
||||||
* 1998-12-30 fl Plugged a resource leak in DeleteDIB (from Roger Burnham)
|
|
||||||
*
|
|
||||||
* Copyright (c) Secret Labs AB 1997-2001.
|
* Copyright (c) Secret Labs AB 1997-2001.
|
||||||
* Copyright (c) Fredrik Lundh 1996.
|
* Copyright (c) Fredrik Lundh 1996.
|
||||||
*
|
*
|
||||||
|
|
|
@ -4,23 +4,6 @@
|
||||||
*
|
*
|
||||||
* a simple drawing package for the Imaging library
|
* a simple drawing package for the Imaging library
|
||||||
*
|
*
|
||||||
* history:
|
|
||||||
* 1996-04-13 fl Created.
|
|
||||||
* 1996-04-30 fl Added transforms and polygon support.
|
|
||||||
* 1996-08-12 fl Added filled polygons.
|
|
||||||
* 1996-11-05 fl Fixed float/int confusion in polygon filler
|
|
||||||
* 1997-07-04 fl Support 32-bit images (C++ would have been nice)
|
|
||||||
* 1998-09-09 fl Eliminated qsort casts; improved rectangle clipping
|
|
||||||
* 1998-09-10 fl Fixed fill rectangle to include lower edge (!)
|
|
||||||
* 1998-12-29 fl Added arc, chord, and pieslice primitives
|
|
||||||
* 1999-01-10 fl Added some level 2 ("arrow") stuff (experimental)
|
|
||||||
* 1999-02-06 fl Added bitmap primitive
|
|
||||||
* 1999-07-26 fl Eliminated a compiler warning
|
|
||||||
* 1999-07-31 fl Pass ink as void* instead of int
|
|
||||||
* 2002-12-10 fl Added experimental RGBA-on-RGB drawing
|
|
||||||
* 2004-09-04 fl Support simple wide lines (no joins)
|
|
||||||
* 2005-05-25 fl Fixed line width calculation
|
|
||||||
*
|
|
||||||
* Copyright (c) 1996-2006 by Fredrik Lundh
|
* Copyright (c) 1996-2006 by Fredrik Lundh
|
||||||
* Copyright (c) 1997-2006 by Secret Labs AB.
|
* Copyright (c) 1997-2006 by Secret Labs AB.
|
||||||
*
|
*
|
||||||
|
|
|
@ -4,11 +4,6 @@
|
||||||
*
|
*
|
||||||
* various special effects and image generators
|
* various special effects and image generators
|
||||||
*
|
*
|
||||||
* history:
|
|
||||||
* 1997-05-21 fl Just for fun
|
|
||||||
* 1997-06-05 fl Added mandelbrot generator
|
|
||||||
* 2003-05-24 fl Added perlin_turbulence generator (in progress)
|
|
||||||
*
|
|
||||||
* Copyright (c) 1997-2003 by Fredrik Lundh.
|
* Copyright (c) 1997-2003 by Fredrik Lundh.
|
||||||
* Copyright (c) 1997 by Secret Labs AB.
|
* Copyright (c) 1997 by Secret Labs AB.
|
||||||
*
|
*
|
||||||
|
|
|
@ -4,10 +4,6 @@
|
||||||
*
|
*
|
||||||
* encoder for EPS hex data
|
* encoder for EPS hex data
|
||||||
*
|
*
|
||||||
* history:
|
|
||||||
* 96-04-19 fl created
|
|
||||||
* 96-06-27 fl don't drop last block of encoded data
|
|
||||||
*
|
|
||||||
* notes:
|
* notes:
|
||||||
* FIXME: rename to HexEncode.c ??
|
* FIXME: rename to HexEncode.c ??
|
||||||
*
|
*
|
||||||
|
|
|
@ -8,11 +8,6 @@
|
||||||
* _imaging.c for PIL's standard Python bindings). If you get
|
* _imaging.c for PIL's standard Python bindings). If you get
|
||||||
* linking errors, remove this file from your project/library.
|
* linking errors, remove this file from your project/library.
|
||||||
*
|
*
|
||||||
* history:
|
|
||||||
* 1995-06-15 fl Created
|
|
||||||
* 1998-12-29 fl Minor tweaks
|
|
||||||
* 2003-09-13 fl Added ImagingEnter/LeaveSection()
|
|
||||||
*
|
|
||||||
* Copyright (c) 1997-2003 by Secret Labs AB.
|
* Copyright (c) 1997-2003 by Secret Labs AB.
|
||||||
* Copyright (c) 1995-2003 by Fredrik Lundh.
|
* Copyright (c) 1995-2003 by Fredrik Lundh.
|
||||||
*
|
*
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user