eliempje
f7817b93cf
Merge pull request #2 from hugovk/eps_tests
...
Tests for EPS thumbnail bugfix (including thumbnail bugfix)
2014-05-08 18:09:13 +02:00
eliempje
d3192dd930
Update EpsImagePlugin.py
...
FIXED issue #302 : https://github.com/python-imaging/Pillow/issues/302
EPS file can have binary preview. Header is now also read binary.
Also fix for resizing EPS. Resolution is now 2 dimensional and dependend on bbox and size.
2014-05-07 13:36:35 +02:00
hugovk
f4071ade0a
pep8
2014-05-05 22:41:09 +03:00
hugovk
e835dd70a1
Discard first byte if not 0xFF (for issue #630 )
2014-05-05 22:09:57 +03:00
hugovk
f1cc194955
Don't compare pyaccess in __eq__
2014-04-26 21:23:45 +03:00
hugovk
2a6f2c5442
Add __eq__ and __ne__ to Image to be able to test image equality when pickling. Pickle more data.
2014-04-26 19:43:53 +03:00
hugovk
6c938b784b
Remove duplication by calling __init__() (Suggested by @ulope: 6802c12f89 (commitcomment-6125853)
)
2014-04-26 17:18:29 +03:00
hugovk
6802c12f89
Initialise object when unpickling
2014-04-25 09:01:16 +03:00
hugovk
a3edb45f08
pep8
2014-04-22 09:23:34 +03:00
hugovk
adfbe8323a
Tests and partial implementation of pickling ( #629 )
2014-04-22 08:54:16 +03:00
wiredfool
5ca5652d0b
Merge pull request #551 from wiredfool/with
...
Image.close, Context manager support
2014-04-17 22:20:30 -07:00
wiredfool
8c6a4c0299
Docs changes for close/context manager
2014-04-17 21:53:49 -07:00
wiredfool
ca36b6cd36
Merge pull request #606 from wiredfool/pgm
...
16 bit Read/Write PGM support.
2014-04-17 12:22:18 -07:00
wiredfool
1945fd6cb4
Merge pull request #618 from hugovk/master
...
Add version 0.30 of OleFileIO (2014-02-04)
2014-04-17 12:19:03 -07:00
Dmitry Selitsky
d5b09509be
logic typo fix
2014-04-16 16:07:43 +03:00
hugovk
a97e5039d8
Remove unused _binary import (plus flake8)
2014-04-14 12:51:12 +03:00
hugovk
5cd454bde2
Fix docstring printing from __main__, and pyflakes and some pep8
2014-04-14 12:30:32 +03:00
eliempje
2cd6d416b2
Bugfix: EPS thumbnail failed
...
EPS thumbnail failed to resize correctly due to incorrect resolution argument (should be a function of the image size and bounding box). This is fixed in this commit.
2014-04-12 13:38:39 +02:00
Hugo
be201bf4f3
Undo cleanup reversal
...
"Just pointing out that this bit is actually reversing a recent cleanup in Pillow. See commit 923018d
and PR #474 . I guess that cleanup was merged into Pillow after I did my merge from Pillow to PL’s fork."
https://github.com/python-imaging/Pillow/pull/618#discussion_r11559186
2014-04-12 12:43:24 +03:00
hugovk
43ec928d33
version 0.30 2014-02-04
2014-04-11 14:03:32 +03:00
Hijackal
029a4a5079
Add specific 32-bit float tiff format
...
We regularly use this format to store 32bit floats and I would like to see it handled by clean Pillow installations without having to add it on every system I use.
2014-04-10 15:52:53 +02:00
wiredfool
3d352329f4
Use the deferred error to provide a logical exception on access to a closed image
2014-04-08 23:43:13 -07:00
wiredfool
b27ef76468
Rename import_err to something more general
2014-04-08 23:42:34 -07:00
wiredfool
1256fb496e
Merge from master
2014-04-08 23:22:40 -07:00
wiredfool
398450a5e4
Fix failing tests, turns out I is different than L
2014-04-08 22:44:24 -07:00
wiredfool
88e235f3f5
sanity check on ascii integers
2014-04-08 22:43:57 -07:00
wiredfool
213cec00cb
consistency
2014-04-07 22:24:48 -07:00
wiredfool
327ea209b8
Write support, fixes #602
2014-04-07 22:23:04 -07:00
wiredfool
f5ba642b5e
Read support for 16 bit pgm file
2014-04-07 22:12:33 -07:00
wiredfool
86d5c5c389
Have the tempfile use a suffix with a dot
2014-04-07 16:01:49 -07:00
wiredfool
844ed441de
Add the suffix if it's not there, not if it is
2014-04-07 15:59:33 -07:00
Michal Čihař
07650be832
Fix variable name
...
Wrong variable name was used for transparency manipulations.
2014-04-07 17:36:36 +02:00
wiredfool
82d7524add
made has_ghostscript a method, using it from test_imagefile
2014-04-04 13:33:54 -07:00
wiredfool
8ca2cfe75c
Use an import error instead of a plain exception
2014-04-03 16:05:02 -07:00
wiredfool
688c8dd538
comment ->autodoc transform
2014-04-03 15:47:57 -07:00
wiredfool
90bbd9ff3e
Delayed import error for doc use
2014-04-02 20:09:04 -07:00
wiredfool
7b4768a9fa
Bump all the version numbers
2014-04-02 15:25:46 -07:00
wiredfool
0d7115a5a4
Merge from master
2014-03-30 09:14:04 -07:00
Alex Clark ☺
6e6bc21ba1
Merge pull request #565 from al45tair/icns-support
...
Improved icns support
2014-03-30 07:30:14 -04:00
Alex Clark ☺
0baa82ac69
Merge pull request #580 from wiredfool/libtiff-fd-leak
...
Fixes libtiff leaking open files
2014-03-29 18:25:57 -04:00
Alastair Houghton
172e46def8
Fixed a silly mistake.
2014-03-28 09:30:16 +00:00
Alastair Houghton
5dd67abd71
Merge branch 'master' into icns-support
2014-03-28 09:15:20 +00:00
Alastair Houghton
5aac5b7eff
Made JPEG2K support for files conditional on its inclusion in pillow build. Added a JPEG2K icon test.
2014-03-28 09:09:55 +00:00
wiredfool
937ae7790f
Renamed variables from reused single letter confusing names to something halfway descriptive
2014-03-27 22:19:39 -07:00
wiredfool
9552d9bc66
close the fd, if possible. Fixes #526
2014-03-27 22:18:40 -07:00
wiredfool
3e24bc684d
Merge pull request #578 from wiredfool/xrange
...
Python3 issues in JpegImagePlugin
2014-03-27 20:52:07 -07:00
wiredfool
a2800ba9a1
Additional commits from pr
2014-03-27 20:00:10 -07:00
wiredfool
e07b0d8ac9
don't use xrange, has_key, fixes #577
2014-03-27 16:40:44 -07:00
Alastair Houghton
0eccdf534d
Merge branch 'master' into icns+jp2k
2014-03-27 08:38:02 +00:00
Alastair Houghton
18d6432036
Fixed some problems with the reduce option, as well as a number of warnings from GCC.
2014-03-27 08:35:38 +00:00
wiredfool
2b81156619
merge to master
2014-03-26 18:46:35 -07:00
Alastair Houghton
cbe7e93bdd
Merge branch 'icns-support' into icns+jp2k
2014-03-26 11:18:26 +00:00
Alastair Houghton
3655a0ecce
Fixed a pre-existing Python 3 bug.
2014-03-26 11:12:14 +00:00
Alastair Houghton
5904ac1718
Added some tests and a couple of icns files.
2014-03-26 10:49:39 +00:00
wiredfool
8adbaf8098
Better tests, fixes for leaking RGB->P transparency
2014-03-26 00:01:10 -07:00
wiredfool
8ea903ec59
Transparency conversion for L, RGP and P images, fixes #510
2014-03-25 23:34:41 -07:00
wiredfool
abebac25cc
Sane quantize defaults for RGBA->P, fixes #544
2014-03-25 21:42:40 -07:00
Alastair Houghton
18f12b30aa
The JPEG plug-in will seek the stream if it's an fd, so change to using an io.BytesIO.
2014-03-24 18:04:37 +00:00
Alastair Houghton
5f77c39090
Added JPEG 2000 support for .icns files.
2014-03-24 17:24:49 +00:00
Alastair Houghton
8eec69d39e
Merging JPEG 2000 support with .icns plugin.
2014-03-24 17:22:59 +00:00
Alastair Houghton
9b5bc2012f
Removed print statements.
2014-03-24 17:13:14 +00:00
Lars Buitinck
61975dd8ad
more detailed error messages from Image.py
2014-03-24 17:49:19 +01:00
Alastair Houghton
299c278e66
Improved icns support
2014-03-24 16:10:23 +00:00
Alastair Houghton
ac8ebccfa6
Added tests and fixed a few bugs that the tests threw up.
2014-03-19 12:16:14 +00:00
wiredfool
45ce1e04a7
Docstring/comment fixes [skip ci] ref #534
2014-03-17 13:29:44 -07:00
wiredfool
196a48b4fd
added context manager support
2014-03-17 13:17:34 -07:00
Alex Clark ☺
878d0ca51d
Merge pull request #512 from vadmium/pl
...
Merge from Philippe Lagadec’s OleFileIO_PL fork
2014-03-17 10:41:26 -04:00
Alex Clark ☺
da3ab720f4
Merge pull request #534 from homm/fix-getcolor-rgba
...
Fix ImageColor.getcolor
2014-03-17 10:20:40 -04:00
Alex Clark ☺
054eb71bc6
Merge pull request #525 from wiredfool/ico_parser
...
Make ICO files work with the ImageFile.Parser interface, fixes #522
2014-03-17 10:14:03 -04:00
Alex Clark
0e9f4c6c60
Merge branch 'dschmidt_palette_513' of https://github.com/wiredfool/Pillow into wiredfool-dschmidt_palette_513
2014-03-17 09:48:24 -04:00
Alex Clark
c1d44980b8
Merge branch 'pcx' of https://github.com/wiredfool/Pillow into wiredfool-pcx
2014-03-17 09:38:38 -04:00
wiredfool
1e331e3e6a
Removed tempfile.mktemp, fixes CVE-2014-1932 CVE-2014-1933, debian bug #737059
2014-03-14 15:56:41 -07:00
Alastair Houghton
6840278b7d
Removed print statement.
2014-03-14 16:49:29 +00:00
Alastair Houghton
9a1b6966b5
Added precinct size option. Also added the jp2klib_version symbol on the _imaging module.
2014-03-14 15:40:30 +00:00
Alastair Houghton
cb1f990a92
Added seek support to make writing jp2 files work. Also added support for directly using an fd rather than relying on the Python loop, if we have a real fd.
2014-03-14 11:21:08 +00:00
Alastair Houghton
61fb89ec54
Added a JPEG 2000 encoder.
2014-03-13 18:27:16 +00:00
Alastair Houghton
5b22b715ce
Fixed some bugs.
2014-03-13 12:29:03 +00:00
Alastair Houghton
7dba77364a
Fixed rounding.
2014-03-13 11:57:47 +00:00
Alastair Houghton
d6b8f0f666
Added a JPEG 2000 decoder based on OpenJPEG.
2014-03-13 11:46:47 +00:00
wiredfool
414e887726
Merge Changes from Master
2014-03-04 22:43:19 -08:00
wiredfool
f8ce951a2d
Merge Changes from master
2014-03-04 22:41:36 -08:00
wiredfool
a77ee2d8c5
Fix test failure when optimizing the palette on mode L gifs
2014-03-04 21:44:32 -08:00
David Schmidt
6457eed2cb
overwrite redundant Image palette with new ImageCore Palette after quantize, fixes #513
2014-03-04 21:44:32 -08:00
David Schmidt
232c175bd9
fixes #513
2014-03-04 21:44:32 -08:00
David Schmidt
93a8bc9bd3
* fix palette handling for converted gifs
...
* fix gif optimization
* better auto convert paramter for gif save
2014-03-04 21:44:32 -08:00
wiredfool
89cb3c7e85
Use even stride when saving odd sized .pcx files
2014-03-03 23:05:50 -08:00
wiredfool
fe5372c867
Debug Loging
2014-03-03 20:29:14 -08:00
homm
68a64e8071
fix ImageColor.getcolor in cases:
...
- color is rgba, mode is RGB
- mode is LA
2014-03-03 16:10:34 +04:00
wiredfool
aa864f4ab4
Merge pull request #533 from wiredfool/fix_528
...
Fix for transparency = 0 in PNG mode P images
2014-02-28 16:34:32 -08:00
David Schmidt
37f4aea0d0
fixes #529
...
doc fix
2014-02-25 09:56:49 +01:00
David Schmidt
f848993c89
fixes #528
...
Accept 0 as transparency value.
2014-02-25 09:50:42 +01:00
wiredfool
36323d1140
Make ICO files work with the ImageFile.Parser interface, fixes #522
2014-02-16 20:58:06 -08:00
Alex Clark ☺
cbdd639838
Merge pull request #504 from e98cuenc/highquality
...
Improve heuristic used when saving progressive and optimized JPEGs with high quality values.
2014-02-10 07:23:44 -05:00
Martin Panter
99e7599ce2
OleFileIO: Add MAGIC constant to __all__
...
This is used by other modules in Pillow.
2014-02-04 04:10:19 +00:00
wiredfool
c9955628e2
Merge from master
2014-01-31 21:38:34 -08:00
wiredfool
88d0e6080a
Fixed DOS with invalid BMP size entries
2014-01-31 21:33:24 -08:00
wiredfool
de1b02dc8c
Merge pull request #508 from wiredfool/no-icc-profile
...
Fix crash on saving PNG when icc_profile is None
2014-01-31 14:03:21 -08:00
wiredfool
8a86364885
Merge branch 'no-icc-profile' of github.com:wiredfool/Pillow into no-icc-profile
2014-01-31 13:59:38 -08:00
wiredfool
3ea93e5de5
Merge branch 'bmp_test' of github.com:wiredfool/Pillow into bmp_test
2014-01-31 13:52:17 -08:00
wiredfool
288a563d1a
merge from master
2014-01-31 13:45:31 -08:00
Alex Clark ☺
5750d5d6ef
Merge pull request #474 from sciunto/bool
...
Maint: minor patch on booleans + travis
2014-01-31 13:16:38 -08:00
Martin Panter
caa609c438
Do away with @functools.total_ordering to restore Python 2.6 support
...
* Manually implement __ne__() and __lt__()
* __gt__() and __ge__() not needed due to operator reflection
2014-01-31 01:32:46 +00:00
Martin Panter
704ed76229
Update documentation for Python 3
2014-01-30 23:47:12 +00:00
Martin Panter
a6fd013a77
Implement rich comparison using @total_ordering (2.7+, 3.2+)
2014-01-30 23:38:04 +00:00
Martin Panter
5143df8561
Use range() rather than xrange(), for Python 3 compatibility
2014-01-30 23:38:04 +00:00
Martin Panter
6977b592e3
Port more stuff to Python 3, dropping some pre-2.6 support
2014-01-30 23:38:04 +00:00
Martin Panter
cd61720845
Merge Pillow changes with Philippe Lagadec’s OleFileIO_PL fork
...
Conflicts:
PIL/OleFileIO.py
I kept Philippe’s version of Unicode decoding that uses UTF-16LE. Pillow
started using Python’s “utf_16” codec in the meantime, but I understand it
uses native byte ordering by default.
2014-01-30 23:37:44 +00:00
Martin Panter
ac5cb028be
Convert OleFileIO.py to LF newlines before merging
2014-01-30 23:30:58 +00:00
decalage
0b79c83709
updated readme
2014-01-30 23:29:57 +00:00
decalage
a468016b63
v0.26: added methods to parse stream/storage timestamps, improved listdir to include storages, fixed parsing of direntry timestamps
2014-01-30 23:29:57 +00:00
decalage
e1fe77b48b
fix #12
...
updated readme
2014-01-30 23:29:57 +00:00
decalage
7d37cf071f
- getproperties: improved exception handling
...
- _raise_defect: added option to set exception type
- all non-fatal issues are now recorded, and displayed when run as a script
2014-01-30 23:29:57 +00:00
decalage
8e826441b2
2013-05-24 v0.25 PL: - getproperties: option to not convert some timestamps
...
- OleMetaData: total_edit_time is now a number of seconds,
not a timestamp
- getproperties: added support for VT_BOOL, VT_INT, V_UINT
- getproperties: filter out null chars from strings
- getproperties: raise non-fatal defects instead of
exceptions when properties cannot be parsed properly
2014-01-30 23:29:57 +00:00
decalage
90f0b6796e
updated readme
2014-01-30 23:29:57 +00:00
decalage
5b616ca1be
v0.24: slight improvements in OleMetadata, updated readme.
2014-01-30 23:29:57 +00:00
decalage
c5cd0ccefc
updated readme
2014-01-30 23:29:57 +00:00
decalage
d5166fd97e
- new class OleMetadata to parse standard properties
...
- added get_metadata method to OleFileIO
2014-01-30 23:29:57 +00:00
decalage
25158fe8b1
- getproperties: added conversion from filetime to python datetime
...
- main: displays properties with date format
2014-01-30 23:29:54 +00:00
decalage
4bdd2b2bef
version 0.23 - updated readme and setup.py
2014-01-30 23:29:40 +00:00
decalage
f88809e5f3
Updated readme in markdown and rst formats
2014-01-30 23:29:08 +00:00
decalage
ab541b1b4d
Added comments for patch submitted by mete0r_kr, changed version
2014-01-30 23:21:25 +00:00
mete0r sarangbang
bbee2b5b8a
support file-like object
...
fix #8
2014-01-30 23:21:25 +00:00
decalage
eaeb12f695
Fixed issue 2 - added close method to OleFileIO class
2014-01-30 23:21:25 +00:00
decalage
bd833a6972
Fixed issue 7 in OleFileIO.getproperties reported by chuckleberryfinn
2014-01-30 23:21:23 +00:00
decalage
491f3e9f99
updated readme
2014-01-30 23:20:31 +00:00
decalage
87a7ec955e
version 0.21 2010-01-22
2014-01-30 23:20:28 +00:00
decalage
4248acb7a7
version 0.20 2009-12-11
2014-01-30 23:17:51 +00:00
decalage
61a3ceb812
version 0.19 2009-12-10
2014-01-30 23:17:51 +00:00
decalage
70a99619bc
version 0.18 2007-12-05
2014-01-30 23:17:51 +00:00
decalage
18333d8edf
version 0.17 2007-12-04
2014-01-30 23:15:35 +00:00
decalage
e614631025
version 0.15 2007-11-25
2014-01-30 23:15:17 +00:00
decalage
d6d3f50205
version 0.14 2007-11-19
2014-01-30 23:15:17 +00:00
decalage
fad61ba20c
version 0.13 2007-09-04
2014-01-30 23:12:46 +00:00
decalage
f05f8001c5
Original version of OleFileIO.py from PIL, dated 2005-03-25, still current in PIL 1.1.7 on the 2011-10-20
2014-01-30 23:12:19 +00:00
Joaquín Cuenca Abela
bab068a337
Improve heuristic used when saving progressive and optimized JPEGs with high quality values.
2014-01-27 20:27:03 +01:00
wiredfool
6de70524f7
108 and 124 bit header fields are a superset of the 64 bit header
2014-01-26 20:43:21 -08:00
wiredfool
046a226f34
Don't use gigs of memory with invalid palette sizes
2014-01-23 20:11:05 -08:00
wiredfool
a549e77bd8
Fix hang by using temp file and command line args instead of stdin
2014-01-21 23:18:24 -08:00
wiredfool
8ce2faa8c9
enable eps test in test_imagefile, test passes
2014-01-21 23:17:47 -08:00
cgohlke
4446f05ac0
Fix saving EPS to open file objects on Python 2.x
...
Fix issue #470 and #479
2014-01-21 21:14:32 -08:00
wiredfool
2cc2a8cd62
Merge pull request #499 from wiredfool/webp_exif
...
* Don't send None as exif to JpegImagePlugin._getexif -- homm
* Test for fix -- wiredfool
2014-01-20 11:03:02 -08:00
wiredfool
c8895fa7a4
Merge branch 'fix-typeerror' of https://github.com/homm/Pillow into webp_exif
2014-01-20 10:46:33 -08:00
homm
4ce2939b02
JpegImagePlugin._getexif expects no exif key in info dict, not None
2014-01-20 19:03:03 +04:00
Bruno Renié
e1e64904c7
Cleanup handling of ICC profile, more extensive testing
2014-01-19 19:09:40 +01:00
Bruno Renié
0348fcac51
Fix crash on save when icc_profile is None
2014-01-19 16:40:39 +01:00
homm
0a256f9e56
fix UnboundLocalError: local variable 't' referenced before assignment
2014-01-15 16:55:10 +04:00
David Schmidt
af11b908cf
Update Image.py
...
docs update/fixes
2014-01-10 18:27:43 +01:00
Eric Soroos
9e069bfa54
I mode is native endian
2014-01-08 21:52:15 -08:00
wiredfool
79a7fdc100
I32 modes, not that I can actually use the I;32L/B ones
2014-01-08 21:18:38 -08:00
wiredfool
bfdc599c28
F mode support
2014-01-08 20:23:20 -08:00
François Boulogne
ead121d951
MAINT replace is False by not
2014-01-08 22:07:35 -05:00
François Boulogne
980517587d
MAINT: use is instead of == for True, False, None
2014-01-07 21:24:21 -05:00
François Boulogne
923018dfeb
MAINT: s/while 1:/while True:/
2014-01-07 21:21:24 -05:00
wiredfool
84e2cf6eda
I;16 modes
2014-01-06 23:15:00 -08:00
wiredfool
5dfadf623b
LA, PA image modes
2014-01-06 22:51:31 -08:00
wiredfool
8a69f6caa0
use cffi by default in pypy, not in c-python
2014-01-06 22:08:14 -08:00
wiredfool
c3812f46b2
clamping channels to 255
2014-01-06 21:20:19 -08:00
wiredfool
53ba63fcd5
Raising proper ValueErrors
2014-01-06 21:19:58 -08:00
wiredfool
594276c45e
existing behaviour is to clamp to max, not bitmask
2014-01-05 22:20:07 -08:00
wiredfool
32f4097d1e
Fixes putalpha tests
...
Make sure we clear the pyaccess object each time we reset the self.im
object
2014-01-05 22:18:42 -08:00
wiredfool
d8a88a5390
Passes tests on python 3.2
...
Reorganized to remove ImagingMemoryInstance struct, only saving the
three pointers that we need (image, image8, image32) and the x/ysize
ints.
2014-01-05 22:00:09 -08:00
wiredfool
663f881b21
all original tests pass
2014-01-05 21:07:56 -08:00
wiredfool
5efe737f6f
Cffi pixel access object, #248
2014-01-05 10:41:25 -08:00
cgohlke
db092e7d82
Correctly quote file names for WindowsViewer command
2014-01-01 19:04:30 -08:00
Alex Clark ☺
ae7edfa58d
Merge pull request #441 from wiredfool/lut
...
Image.point fixes for numpy.array and docs
2013-12-28 06:08:08 -08:00
Alex Clark ☺
ad47ea5a52
Merge pull request #424 from wiredfool/trns-write-bydefault2
...
Save the transparency header by default for PNGs
2013-12-28 05:57:45 -08:00
Alex Clark ☺
d48f301d57
Merge pull request #423 from wiredfool/trns-png
...
Support for PNG tRNS header when converting from RGB->RGBA
2013-12-28 05:56:03 -08:00
Alex Clark ☺
e4ae62ae59
Merge pull request #418 from wiredfool/AurelienBallier-master
...
PyQT5 Support
2013-12-28 05:50:49 -08:00
wiredfool
aa1c0fdfb6
merge from master
2013-12-19 20:48:49 -08:00
wiredfool
4791d156f1
Comments/Docs, fixes #440
2013-12-10 16:05:05 -08:00
wiredfool
d05b5d9060
Restore numpy.array as valid lookup tables
2013-12-10 15:47:26 -08:00
Alex Clark
404b245d89
Fix travis
2013-12-05 05:32:33 -05:00
wiredfool
543f96de61
Merge from master
2013-11-30 09:57:00 -08:00
Alex Clark ☺
666b2ce9e0
Merge pull request #398 from tmccombs/escape
...
Quote filenames and title before using on command line
2013-11-29 16:07:12 -08:00
Alex Clark ☺
e269fc6755
Merge pull request #399 from tmccombs/double
...
Closes #397 . Fixed Viewer.show to return properly.
2013-11-29 16:02:23 -08:00
Alex Clark ☺
eebb8c2a97
Merge pull request #408 from wiredfool/convert_doc
...
Image.convert mode 1 documentation update.
2013-11-29 15:15:23 -08:00
wiredfool
d65a2c8018
Save the transparency header by default for PNGs
2013-11-26 15:06:26 -08:00
wiredfool
0356741a29
Now using the rgbT2rgba conversion for L+transparency to RGBA, dropping the palette hack
2013-11-26 13:04:10 -08:00
wiredfool
c546c5a4c0
Added conversion for RGB+Transparency to RGBA that adds an alpha mask corresponding to the transparency value, fixes #421
2013-11-26 12:24:19 -08:00
wiredfool
94e3c75179
Merge from 12-bit-tiff
2013-11-21 21:41:54 -08:00
wiredfool
44e4d6b49d
Comments
2013-11-21 20:57:48 -08:00
wiredfool
16c95fc295
Flags to force libtiff read/write
2013-11-21 20:37:52 -08:00
wiredfool
65e3bfaf33
added generic libtiff en/decoder instead of each compression version
2013-11-21 20:37:52 -08:00
wiredfool
9d06fa74be
12 bit tiffs come out as 12 bits from libtiff
2013-11-21 20:37:30 -08:00
wiredfool
886b075526
Merge from master
2013-11-20 22:52:47 -08:00
wiredfool
dbecc1cb70
Fix for failing ImageQt with mode 'L' image
2013-11-20 22:20:13 -08:00
Aurélien Ballier
938323bd2b
Add Qt5 support.
2013-11-20 21:34:33 -08:00
wiredfool
e4fe6ae7a3
Read only implementation of 12bit tiffs
2013-11-20 16:56:23 -08:00
Esteban Santana Santana
8d27167fc7
More python3 fixes.
...
Changed the way the translate command that is passed to ghostscript is generated. This should now work on both python2.6+ and python3.
2013-11-20 02:54:31 -06:00
Esteban Santana Santana
3d1cd63afd
We need to write bytes not strings.
...
Python3 compatibility issue, we need to write bytes to buffers and pipes, not strings. This should still work in python2.6+.
2013-11-20 02:41:35 -06:00
Esteban Santana Santana
9cd654917d
Changed the Ghostscript() function inside of EpsImagePlugin to use subprocess.Popen() instead of the deprecated os.popen().
2013-11-20 01:32:06 -06:00
Esteban Santana Santana
7989378bfd
Added a way to specify the render size for EPS files.
...
There is now a scale parameter that you can pass in to the EpsImageFile.load() function. This parameter is used to specify at what scale Ghostscript renders the EPS internally. Scale needs to be an integer, and all of the internal structures (image size and bounding box) are scaled based on that parameter.
2013-11-17 01:26:44 -06:00
Aurelien Ballier
2a3422335b
Fix PyQt4&5 support.
2013-11-13 12:34:09 +01:00
wiredfool
18ced74c06
Image.convert mode 1 documentation update. Fixes #407
2013-11-12 22:42:06 -08:00
David Schmidt
06301c9eba
don't create a new palette on Image._new if one already exists (i.e. after im.copy())
2013-11-12 14:41:35 +01:00
wiredfool
49191c78fb
CHECK: support for int arrays as ifd entries
2013-11-07 16:23:20 -08:00
wiredfool
d2f1fa0e5f
two additional tags for saving color images with libtiff
2013-11-05 20:49:09 -08:00
Aurélien Ballier
6121dd5aa5
Add Qt5 support.
2013-11-05 19:14:15 +01:00
Aurélien Ballier
86a64dfd60
Add Qt5 support.
2013-11-04 12:44:41 +01:00
Thayne McCombs
840c7b9acb
Closes #397 . Fixed Viewer.show to return properly.
...
Viewer.show did not return a value, however ImageShow.show expected
Viewer.show to return a non-falsey value if successful. Therefor ImageShow.show
would continue to call multiple viewers.
2013-10-30 19:40:21 -06:00
Thayne McCombs
4da7c475ec
Quote filenames and title before using on command line
...
This commit quotes title and filename paramaters that are passed to the
command line when showing an image.
2013-10-30 19:29:15 -06:00
cgohlke
42b8ec37d7
Support RGBA TIFF with missing ExtraSamples tag
2013-10-26 18:02:17 -07:00
Alex Clark ☺
e3d85700b4
Merge pull request #390 from wiredfool/webp-lossless
...
Lossless WEBP Support
2013-10-24 03:08:24 -07:00
Alex Clark ☺
b57d68e993
Merge pull request #389 from wiredfool/libtiff-save
...
Take compression as an option in the save call for tiffs
2013-10-24 03:03:27 -07:00
Alex Clark ☺
06ba0ea757
Merge pull request #386 from liftoff/master
...
Add support for saving lossless WebP. Just pass 'lossless=True' to save()
2013-10-24 03:00:51 -07:00
wiredfool
63995459bc
merge from master
2013-10-22 16:18:06 -07:00
wiredfool
f8abb98ffd
Merge from master
2013-10-22 16:05:18 -07:00
wiredfool
2c1e800836
added new VP8 mode for lossless reading of RGBA, fixes failing tests
2013-10-22 12:44:09 -07:00
wiredfool
6a0516d2c9
final pass through atts: handling single rational tuple, using isStringType, flattening from single element tuple to string or int
2013-10-22 10:10:37 -07:00
wiredfool
8655209b4a
rm debugging print
2013-10-22 09:24:51 -07:00
wiredfool
32e2f97b21
Tag issues with libtiff -- Need to parse the tuples for the ifd and the im.ifd. getattr + default for the im.ifd instead of silent try/except
2013-10-22 09:18:41 -07:00
Eric Soroos
3128a76495
MM and II 16 bit integer tiffs pack/write properly using libtiff on bigendian platform
2013-10-21 22:37:20 +00:00
Eric Soroos
6f8d968cbb
MM and II 16 bit integer tiffs unpack properly using libtiff on bigendian platform
2013-10-21 22:17:33 +00:00
wiredfool
7ece94edc7
compression in encoder info
2013-10-21 09:30:06 -07:00
Dan McDougall
0a91541df8
Add support for saving lossless WebP. Just pass 'lossless=True' to save().
2013-10-20 15:44:22 -04:00
Eric Soroos
175c572432
I;16 images are little endian, not native endian
2013-10-19 03:28:31 +00:00
hugovk
92507e5d0a
Fix issue #382 : TypeError with TransposedFont's getsize()
...
When getting the size of text with a TransposedFont it was failing:
File "/usr/local/lib/python2.7/site-packages/PIL/ImageDraw.py", line 281, in textsize
return font.getsize(text)
File "/usr/local/lib/python2.7/site-packages/PIL/ImageFont.py", line 189, in getsize
w, h = self.font.getsize(text)[0]
TypeError: 'int' object is not iterable
This is because self.font.getsize(text) returns a (w, h) tuple. To fix, remove the [0].
Test cases have been created in test_imagefont.py:
test_rotated_transposed_font()
test_unrotated_transposed_font()
Both fail before the fix, both pass with the fix. Furthermore, the code I'm using this from ( https://github.com/mattdeboard/word_cloud ) now works as expected and creates a word cloud similar to the ones that PIL created.
2013-10-17 19:00:42 +03:00
Alex Clark ☺
55a0792815
Merge pull request #380 from wiredfool/lcms2
...
LCMS1 replaced with LCMS2
2013-10-16 09:09:15 -07:00
Stephen Johnson
c3de637362
Fully document PIL.PSDraw
2013-10-13 22:30:00 -07:00
Stephen Johnson
7030e50b36
Fully document PIL.ImageWin
2013-10-13 22:19:12 -07:00
Stephen Johnson
4b4f090258
Fully document PIL.ImageTk
2013-10-13 22:09:02 -07:00
Stephen Johnson
81ea5c35cb
Fully document PIL.ImageStat
2013-10-13 21:57:07 -07:00
Stephen Johnson
f284c194ca
Fully document PIL.ImageSequence
2013-10-13 21:49:35 -07:00
Stephen Johnson
6566a73bcf
Fully document PIL.ImagePath
2013-10-13 21:41:21 -07:00
Stephen Johnson
7881c86bba
Document PIL.ImagePalette as best I can
2013-10-13 21:27:07 -07:00
Stephen Johnson
0f3f6dd1a3
Move ImageGrab docs back to ImageGrab.rst instead of autodoc
2013-10-13 09:56:58 -07:00
Stephen Johnson
20b9d9774a
Fully document PIL.ImageOps; fix some :py:mod: markup
2013-10-12 22:17:45 -07:00
Stephen Johnson
e2d88b5a51
Fully document ImageMath
2013-10-12 17:40:14 -07:00
Stephen Johnson
cf7b72f9b9
Fully document PIL.ImageGrab
2013-10-12 17:22:02 -07:00
Stephen Johnson
bc0f53aceb
Fully document PIL.ImageFont
2013-10-12 17:14:12 -07:00
Stephen Johnson
a2c67dc3af
Fully document PIL.ImageFilter
2013-10-12 16:49:32 -07:00
Stephen Johnson
348daf9490
Document ImageFile.Parser
2013-10-12 13:57:27 -07:00
Stephen Johnson
f2be739fdf
Fully document PIL.ImageEnhance
2013-10-12 13:48:34 -07:00
wiredfool
ace78d0734
Lab is Uint, Int, Int. Tests failing
2013-10-11 23:31:47 -07:00
Stephen Johnson
88c700f3b2
Fully document PIL.ImageColor
2013-10-11 22:54:24 -07:00
Stephen Johnson
1e726ea36a
Remove old ImageChops comments; redundant with docstrings
2013-10-11 22:46:57 -07:00
Stephen Johnson
546c20491f
Improve ImageChops docstrings
2013-10-11 22:45:23 -07:00
Stephen Johnson
b533aa665e
Fix many formatting mistakes in PIL.Image's docstrings
2013-10-11 22:18:40 -07:00
wiredfool
1c3932e89f
Added LAB mode, core dumped
2013-10-10 23:27:34 -07:00
wiredfool
b506e2ad44
Fixed ability to create LAB profiles with color temperatures
2013-10-10 22:42:27 -07:00
wiredfool
ce041fd199
moving string functions into python, py27 and py32 now really work the same
2013-10-10 22:12:45 -07:00
wiredfool
21697f676b
Merge branch 'master' into tifftags
2013-10-08 21:34:02 -07:00
wiredfool
08347569b5
Another python 2.6 detail
2013-10-08 11:32:51 -07:00
wiredfool
e9b0b09b72
Python 2.6 compatibility
2013-10-08 10:43:55 -07:00
wiredfool
a91283061e
Python3 fixes
2013-10-07 23:30:55 -07:00
wiredfool
e35ed87be6
Writing multiple rational items
2013-10-07 23:09:41 -07:00
wiredfool
0204733fd6
Proper handling of both IFDs for libtiff usage
2013-10-07 23:03:50 -07:00
wiredfool
2188cf2baf
typo
2013-10-07 23:03:13 -07:00
wiredfool
e6c8e5abec
better handling of unicode, rational tuples
2013-10-07 23:02:59 -07:00
wiredfool
a3d267b96c
Changes in the internal representation of ImageFileDirectory
2013-10-07 17:05:27 -07:00
wiredfool
951a5d4ce8
Using the public interface rather than the raw, undecoded interface
2013-10-07 17:05:27 -07:00
wiredfool
ce0e8b6abf
streamlining internal representation of types in ImageFileDirectory
2013-10-07 17:05:27 -07:00
Alex Clark ☺
056690792e
Merge pull request #364 from wiredfool/premultiply
...
Alpha Premultiplication support for transform and resize
2013-10-07 06:38:11 -07:00
wiredfool
10214bc6c4
Premultiply RGBA images prior to transform and resize and undo after
2013-10-04 13:25:32 -07:00
Alex Clark ☺
84b0ba7207
Merge pull request #359 from wiredfool/pypy
...
Fixes to make Pypy 2.1.0 work on Ubuntu 12.04/64
2013-10-03 05:14:23 -07:00
wiredfool
30e6c6d1ab
Merge branch 'master' into tifftags
2013-10-02 22:30:01 -07:00
wiredfool
c4f9fa7a40
Py3 -- can't join a string
2013-10-02 22:23:27 -07:00
wiredfool
dbf47837ce
Add arbitrary tags to tiff images using an ImageFileDirectory
2013-10-02 22:06:17 -07:00
wiredfool
95b2434eb2
added accessors for the 4 individual info fields
2013-10-02 16:36:20 -07:00
Alex Clark
3c2496e117
Bump
2013-10-02 13:07:32 -04:00
wiredfool
258434b8ef
Fix test failures for Pypy 2.1 around memory mapping
2013-10-02 09:56:29 -07:00
wiredfool
13860addc4
versioning
2013-10-01 23:22:45 -07:00
Alex Clark
5dfc5bf256
Bump
2013-09-30 06:13:14 -04:00
Alex Clark ☺
946af1edd2
Merge pull request #346 from mhogg/master
...
Bug fix for encoding of b_whitespace - Similar to closed issue #272
2013-09-30 02:38:23 -07:00
Michael Hogg
e70424644a
Update PpmImagePlugin.py
...
Making it work for Python 3.x
2013-09-30 17:44:11 +10:00
Michael Hogg
800729e092
Update PpmImagePlugin.py
...
Bug fix when locale has not been set
2013-09-30 17:24:22 +10:00
Christoph Gohlke
9bff0b14e0
Add numpy array interface support for 16 and 32 bit integer modes
2013-09-29 19:30:43 -07:00
Michael Hogg
20e7555e59
Update PpmImagePlugin.py
...
Bug fix for encoding of b_whitespace
2013-09-30 09:54:25 +10:00
Christoph Gohlke
2fc724d346
Call _getexif function instead of class method
2013-09-29 09:20:00 -07:00
Christoph Gohlke
c46b3fe256
Make _getexif a function
2013-09-29 09:17:37 -07:00
wiredfool
bb9672095b
initial working version of saving arbitrary tags from the img.tags directory
2013-09-28 21:31:32 -07:00
Alex Clark ☺
97ecde836d
Merge pull request #344 from wiredfool/tifftags
...
Tiff Tags
2013-09-28 09:22:05 -07:00
Alex Clark
caacc1dce6
Fix test
2013-09-28 09:46:00 -04:00
Alex Clark
f7393d8977
Add faux test suite
...
It would be great if we could start moving PIL's tests in to a proper test suite i.e. inside a Python package
2013-09-28 09:26:28 -04:00
wiredfool
465ebd3af3
added tagnames for ImageJ tiff tags
2013-09-27 10:41:27 -07:00
wiredfool
a40950c3b9
Properly set the mode for files with rawmode of F;32BF
2013-09-27 10:41:03 -07:00
paddywwoof
02855a86c0
hopefully this uses a reasonable y offset
2013-09-20 14:02:40 +01:00
paddywwoof
25b39de5b7
ImageColor defaults to alpha = 255 in only rgb specified for RGBA mode
2013-09-19 15:30:08 +01:00
Alex Clark ☺
e5279a284b
Merge pull request #325 from manisandro/bytearray
...
Fix bytes which should be bytearray
2013-08-29 02:14:49 -07:00
Sandro Mani
1c4734b6bb
Make bytePalette read-only buffer
2013-08-28 20:44:27 +02:00
Sandro Mani
4be146cf27
Fix bytes which should be bytearray
2013-08-28 20:18:13 +02:00
Alex Clark ☺
07f338f194
Merge pull request #315 from d-schmidt/master
...
fix Issue #312 + gif optimize improvement
2013-08-22 02:54:43 -07:00
wiredfool
bb29d00fdf
Merge pull request #321 from vytisb/master
...
Fix for #318 : Catch truncated zTXt chunk errors when decoding PNG images.
2013-08-21 15:02:03 -07:00
Eric Buehl
26fb0eadad
issue warning instead of debug/print
2013-08-20 16:53:55 +00:00
Vytis Banaitis
dbf40a0124
Catch truncated zTXt errors.
2013-08-20 15:17:17 +03:00
Eric Buehl
7430dc261f
be more tolerant of tag read failures
...
this can occur if the MakerNote has a pointer to outside the EXIF block
2013-08-19 22:51:50 +00:00
David Schmidt
9d43f156a8
replace custom search with dict in gif optimize
2013-08-06 11:36:02 +02:00
David Schmidt
c9df9d0b23
reorganized gif optimize to work with palette parameter
2013-08-05 17:59:35 +02:00
David Schmidt
b9ab3f5bf4
fix Issue #312
...
improve palette handling while saving gif and png
2013-08-02 16:32:49 +02:00
Joaquín Cuenca Abela
c68044bf7f
Fix IOError when saving progressive JPEGs.
...
when the jpeg encoder sees the flags optimize or progressive (or progression)
it will write the full image in one shot.
The bufsize needs to be big enough to hold the entire image. The current heuristic
is that the entire compressed image will fit in width * height bytes, but this
heuristic is only applied to save operations with the flag "optimize" and not to
save operations with the flag "progressive".
This patch fixes this oversight.
(Btw, it will probably be a good idea to have a loop that retries with a bigger
bufsize in case this guess is not big enough.)
2013-08-02 14:36:46 +02:00
Yoav Weiss
c117dcae34
Add RGBA support to ImageColor
2013-07-30 16:43:40 +02:00
Martijn Pieters
97f1cd55ee
Fix for #304 : test for str
, not "utf-8"
.
...
The code wants to produce a `str` object for the given Python version (which is the right thing to do here).
2013-07-25 18:21:08 +01:00
Michał Nowotka
702fc75ee3
Update _util.py
...
Fixing missing import.
2013-07-25 17:25:18 +01:00
Felipe Reyes
64cc8f994d
Added some missing exif tags
2013-07-24 18:46:21 +00:00
wiredfool
e3e0638a5f
Fail fast if there's an import error on _imaging
2013-07-23 10:17:15 -07:00
Freek Dijkstra
d24a419299
Warnings if imaging library has wrong UCS support.
...
Raise exceptions for unknown errors.
2013-07-23 10:44:27 +02:00
lmollea
763be8614d
Fixed windows fallback (wasn't using correct file in windows/fonts)
2013-07-22 14:44:40 +02:00
Felipe Reyes
a560022341
Transformed docstrings of ImageFile and ImageFileIO modules
2013-07-19 15:11:26 +00:00
wiredfool
db49dbf9de
Ignore fillorder=2 when reading using libtiff
2013-07-10 22:36:55 -07:00
Felipe Reyes
15eac684c4
Moved Image module docs from comments to docstrings
2013-07-09 15:12:28 -04:00
Alex Clark ☺
675b4d433c
Merge pull request #280 from freyes/add-docstrings-Image
...
Moved PIL.Image.Image docs from comments to docstrings
2013-07-09 09:15:15 -07:00
Felipe Reyes
25b6371b75
Moved PIL.Image.Image docs from comments to docstrings
2013-07-09 10:32:14 -04:00
wiredfool
c575dff007
ignore high ascii characters in string.whitespace
2013-07-08 22:16:25 -07:00
Bernardo Heynemann
b4735f7829
Adding support for metadata in webp images.
...
Pillow now uses the webpmux library to envelop the webp images in RIFF. This allows for easy support of exif and icc_profile metadata.
Also included tests that verify compatibility with jpeg for exif and icc_profile metadata.
If the user does not have webp with webpmux enabled, pillow will fall back to the previous approach, meaning no exif or icc_profile metadata will be read or written to.
2013-07-04 18:04:07 -03:00
Alex Clark ☺
fd98b0cceb
Merge pull request #268 from megabuz/master
...
Add several TIFF decoders and encoders
2013-07-01 09:14:43 -07:00
Alexey Buzanov
a130c45990
add several TIFF decoders and encoders
2013-07-01 18:45:42 +04:00
Chris Bailey
08d0ec1e93
Generalizing pterk's ZeroDivisionError fix for 1px images
2013-07-01 12:36:46 +01:00
Alex Clark ☺
3207bf372a
Merge pull request #266 from cgohlke/remove-test_imagegl
...
Remove useless ImageGL module
2013-07-01 03:32:27 -07:00
Christoph Gohlke
f042fd6af3
remove useless ImageGL module
2013-06-30 20:39:12 -07:00
Alex Clark
bb1b3a532c
Cleanup WS, courtesy of @Arfrever
...
find * -type f "-(" -name "*.bdf" -o -name "*.c" -o -name "*.h" -o -name "*.py" -o -name "*.rst" -o -name "*.txt" "-)" -exec sed -e "s/[[:space:]]*$//" -i {} \;
2013-06-30 18:42:19 -04:00
Alex Clark
f56facb0c1
Clean up
2013-06-30 15:21:37 -04:00
Alex Clark
c6a95bf8f4
Add files
2013-06-30 14:50:38 -04:00
Alex Clark
fd29e707e9
Apply @Arfrever patch, fixes #258
2013-06-30 07:04:42 -04:00
Alex Clark ☺
19ad775140
Merge pull request #243 from kostya0shift/master
...
Better support for ICO files
2013-06-29 16:02:11 -07:00
Peter van Kampen
ad0a96c3fa
add test & comment
2013-06-23 15:22:31 +02:00
Peter van Kampen
c9faa9caa5
Fix for ZeroDivisionError in ImageOps.fit for image.size == (1,1)
2013-06-23 12:33:23 +02:00
kostya0shift
738a1dd777
Better support for ICO images
2013-06-05 21:01:05 +04:00
wiredfool
aad417dcbe
Merge pull request #229 from wiredfool/warnings
...
Fixing and Suppressing warnings revealed in #227
2013-05-24 08:36:57 -07:00
Alex Clark ☺
5c11e27a97
Merge pull request #228 from d-schmidt/master
...
working gif optimization
2013-05-24 05:59:23 -07:00
David Schmidt
b66d888b0e
adjust the transparency index after successful optimize
...
skip transparency block if transparent color is not used after optimize
2013-05-24 13:12:40 +02:00
David Schmidt
71b30352d9
limit custom palette size
2013-05-24 13:16:16 +03:00
David Schmidt
a9cb1281f4
fix Python 2 compatibility
2013-05-24 11:55:31 +02:00
wiredfool
2322619372
fixed deprecation warnings for tostring on array.array
2013-05-23 10:33:27 -07:00
David Schmidt
12cea19280
a break
2013-05-23 15:45:11 +02:00
David Schmidt
dad5e86226
fix gif test, fix gif optimization for palette length < 3
2013-05-23 15:24:06 +02:00
Alex Clark ☺
a9fd1f4a94
Merge pull request #225 from wiredfool/pr224
...
Fix Image.fromarray with NumPy arrays: Supersedes PR #224
2013-05-23 05:51:58 -07:00
David Schmidt
5cd1b9f01e
minor addition
2013-05-23 14:31:48 +02:00
David Schmidt
a466b3e099
fixes #211
...
replace the gif optimization with a working version
2013-05-23 14:06:09 +02:00
wiredfool
baba2810ae
version updates
2013-05-21 21:46:36 -07:00
wiredfool
b3752ca053
merge from master
2013-05-21 21:29:58 -07:00
wiredfool
587b9a79d8
ducktype the array_interface obj to see if it provides tobytes or tostring
2013-05-21 21:04:22 -07:00
Matt Davis
1082173030
Fix Image.fromarray with NumPy arrays
...
Image.fromarray attempts to call a method called `tobytes()` on the passed in object, but NumPy arrays don't have a `tobytes()` method, they have a `tostring()` method. (See http://docs.scipy.org/doc/numpy/reference/generated/numpy.ndarray.tostring.html ).
I think this was changed accidentally in a Python 3 compatibility update in which this call was confused with the `tobytes` and `frombytes` methods of Image objects.
2013-05-21 18:35:11 -03:00
Alex Clark ☺
1c3ff8857a
Merge pull request #220 from wiredfool/weba_transparent
...
Transparent WebP Support, #204
2013-05-16 12:49:02 -07:00
Alex Clark ☺
aea9570a2c
Merge pull request #221 from wiredfool/jpeg_memoryleak
...
Jpeg Decode memory leak fix.
2013-05-16 12:42:45 -07:00
wiredfool
158cdbe8db
Enabling cleanup
...
Enabling the cleanup call in ImageFile.load
2013-05-16 08:32:24 -06:00
wiredfool
f6381ba00c
Added cleanup method to prevent memory leaks from truncated jpeg decodes
2013-05-15 21:16:37 -07:00
wiredfool
89b6820530
checking raw image length, cleanup and DRY
2013-05-15 17:04:17 -07:00
wiredfool
11a0fb5f76
consolidated to WebPEncode_wrapper
2013-05-15 16:56:59 -07:00
wiredfool
37359369ce
Code to ensure buffer space for exif write and jpeg_write_scanline calls, tests, corrected buffer length calculation
2013-05-14 22:29:31 -07:00
wiredfool
071b8e6b46
Merge branch 'master' into maxblock
2013-05-14 20:37:21 -07:00
wiredfool
b52c22316f
inprogress, sorta working
2013-05-13 20:50:10 -07:00
wiredfool
3273b0c4b9
Merge branch 'master' of https://github.com/euangoddard/Pillow into weba_transparent
2013-05-13 09:54:34 -07:00
wiredfool
310341cec7
merge from master
2013-05-13 09:17:52 -07:00
Euan Goddard
1344610a52
Added support for alpha transparent webp images #204
2013-05-13 17:01:42 +01:00
Angel Nunez Mencias
4e9a8ef7d7
Use the JPEG Plugin save instead of calling the ImageFile directly
2013-05-12 02:34:07 +02:00
Matti Picus
af94b45cbc
allow integer image resolution as well as rational
2013-05-07 23:33:21 +03:00
Matti Picus
5ca04bb728
a test that fails for images with integer resolution
2013-05-07 23:23:51 +03:00
wiredfool
39c62f76ab
Buffer lifetime needs to be the same as the font lifetime
2013-04-25 21:17:58 -07:00
Nicolas Pieuchot
028e63865e
Changing bytes variable name not to squeeze bytes type
2013-04-25 23:03:37 +02:00
Nicolas Pieuchot
4d136d94ce
Better unity with Image.py file (on string type testing and warnings)
2013-04-25 22:32:43 +02:00
Nicolas Pieuchot
282562ec19
Adding Python3 basestring compatibility without changing basestring
2013-04-25 22:03:37 +02:00
Nicolas Pieuchot
f1c245c9c5
Deprecation message correction
2013-04-25 21:10:42 +02:00
Nicolas Pieuchot
af72132349
Correction of the unbufferizing
2013-04-25 20:57:13 +02:00
Nicolas Pieuchot
450a068ccb
Removing buffer from imagefont
2013-04-25 18:48:43 +02:00
Nicolas Pieuchot
ed9945c71f
Allowing to pass font as file-like objects
2013-04-22 11:48:06 +02:00
wiredfool
026f6bb61e
namespaced operation works when installed as a zipped egg using 'sudo python[3] setup.py easy_install -l --zip-ok .'
2013-04-15 10:57:37 -07:00
Sandro Mani
194370d89b
Fix some docstrings
2013-04-12 21:54:21 +02:00
wiredfool
b0fffd24a4
Merge branch 'master' of https://github.com/python-imaging/Pillow into namespaced
2013-04-09 12:08:13 -07:00
David Schmidt
836e3e05d8
create a palette before converting transparent L-Mode to RGBA
...
fixes #154
2013-04-09 13:21:38 +02:00
wiredfool
8295e33390
moved _webp into the PIL namespace
2013-04-08 21:53:59 -07:00
wiredfool
088c752e40
basic sanity check that the version of the _imaging.c and Image.py files are the same
2013-04-08 21:43:15 -07:00
wiredfool
7f698a6fc5
PIL imports work in python3/Ubuntu
2013-04-08 20:55:06 -07:00
wiredfool
c774f9ab4c
merged pull request #88 to master, resolved conflicts
2013-04-08 20:31:28 -07:00
wiredfool
7200c40ada
s/tabs/spaces/
2013-04-05 15:57:07 -07:00
wiredfool
a4a856b58a
large exif segments
2013-04-05 15:36:48 -07:00
wiredfool
7129baa9b2
fix for if isinstance(filter, collections.Callable) crash. Python bug #7624 on <2.6.6
2013-03-27 09:44:54 -07:00
Ronald Oussoren
f50feb592b
Explitly import JpegPresets from the PIL package
2013-03-26 13:36:13 +01:00
wiredfool
2a743c9527
JpegImagePlugin sets bufsize for optimized images
2013-03-22 22:27:12 -07:00
David Schmidt
511adfacf7
fix png decode tRNS pattern
2013-03-21 21:00:25 +01:00
David Schmidt
ecd55629be
fix indention
2013-03-21 18:47:37 +01:00
David Schmidt
1a40613ca5
fix indention
2013-03-21 18:43:22 +01:00
David Schmidt
09315f263b
fixing save of transparency palette png-images
2013-03-21 18:16:00 +01:00
David Schmidt
1ff2b6630a
fixed bug with png-images with transparency palette
2013-03-21 16:54:04 +01:00
wiredfool
754eb19d9d
Fixing deprecation warning on py26
2013-03-19 13:53:37 -07:00
Christoph Gohlke
1f41e25b4f
Fix AttributeError: 'module' object has no attribute 'isNumberType'
2013-03-16 09:16:54 -07:00
wiredfool
1540d46ca9
support for the differences between StringIO and BytesIO
2013-03-14 10:36:15 -07:00
Alex Clark ☺
ae45b38286
Merge pull request #112 from cgohlke/patch-9
...
Support uint32 TIFF
2013-03-14 03:55:14 -07:00
Christoph Gohlke
64c25bcf89
Compare prefix to byte strings
2013-03-13 23:28:30 -07:00
Christoph Gohlke
dbfaff5673
Support uint32 TIFF
2013-03-13 21:08:24 -07:00
Christoph Gohlke
b9b6972097
Use BytesIO instead of StringIO
2013-03-13 19:42:21 -07:00
Christoph Gohlke
a26d7b6261
Decode bytestr instead of str
2013-03-13 19:18:40 -07:00
Christoph Gohlke
0df7744845
Fix imports
2013-03-13 19:03:38 -07:00
Alex Clark ☺
8ee5dc3056
Merge pull request #106 from cgohlke/patch-4
...
Better import of _imagingagg and ImageDraw2
2013-03-13 18:03:30 -07:00
Christoph Gohlke
a442d5fa06
Better import of _imagingagg and ImageDraw2
2013-03-13 18:01:15 -07:00
Alex Clark ☺
6c565e980f
Merge pull request #105 from cgohlke/patch-3
...
Better import of Tkinter
2013-03-13 18:00:38 -07:00
Christoph Gohlke
706812ec87
Better import of Tkinter
2013-03-13 17:58:11 -07:00
Christoph Gohlke
4985d96d03
Better import of _imagingft
2013-03-13 17:56:33 -07:00
Alex Clark ☺
62bb9aaaa2
Merge pull request #98 from wiredfool/g4_support
...
G4 Tiff support
2013-03-13 15:41:33 -07:00
Alex Clark ☺
bb186fe516
Merge pull request #96 from lqs/master
...
add support for webp
2013-03-13 04:39:42 -07:00
wiredfool
7226d0dc26
Merge branch 'master' into g4_support
2013-03-12 22:24:36 -07:00
Oliver Tonnhofer
2d478fe82a
fixed check for str with Python 3
2013-03-12 21:29:46 +01:00
Liu Qishuai
a49ea5d326
add support for webp
2013-03-12 22:30:59 +08:00
wiredfool
a3b4697965
typo
2013-03-11 22:04:34 -07:00
Oliver Tonnhofer
6a450e303d
reduce PNG palette size for images <255 colors
...
limit color and trancparency palette to 2^bits entries, when a PNG is
saved with the 'bits' PNG encoder option
2013-03-11 20:58:54 +01:00
Oliver Tonnhofer
6537ba19c3
backport PIL's PNG/Zip improvements
...
- add new FASTOCTREE quantizer with alpha support
- make ZIP compress level and type configurable
- support reading/writing PNGs with paletted alpha
source 3637439d51
2013-03-11 20:33:04 +01:00
Oliver Tonnhofer
c60bb09fcd
Revert "Added support for PNG images with transparency palette"
...
This reverts commit 5baa1ac1b8
.
2013-03-11 19:02:54 +01:00
Oliver Tonnhofer
1db3f9d53f
Revert "Fix KeyError in Tests/test_file_xpm.py"
...
This reverts commit b29326b175
.
2013-03-11 19:02:44 +01:00
wiredfool
4f2a1f9715
() for print, since we're using print_statement
2013-03-08 21:15:22 -08:00
wiredfool
5ba6564e26
initial merge of wiredfool/Python-Imaging-Library-G4-Tiff-Support
2013-03-08 19:51:59 -08:00
Alex Clark
6999860786
Revert "Use relative import for _imagingagg"
...
This reverts commit 34a5311e1b
.
2013-03-08 18:43:52 -05:00
Alex Clark
de077c9d37
Revert "Use relative import for _imagingtk"
...
This reverts commit 5820716eb3
.
2013-03-08 18:43:00 -05:00
Alex Clark
6e00a9c355
Revert "Use relative import for _imaginggl"
...
This reverts commit 5e203de327
.
2013-03-08 18:42:21 -05:00
Alex Clark
4546d26413
Revert "Better import for _imagingft"
...
This reverts commit 089a04bce1
.
2013-03-08 18:41:19 -05:00
Alex Clark
44d25a238c
Revert "Use relative import for _imagingcms"
...
This reverts commit 1003e4f7ee
.
2013-03-08 18:40:21 -05:00
Alex Clark
cbb93ac5bf
Revert "Use relative import for _imagingmath"
...
This reverts commit c731513318
.
2013-03-08 18:39:17 -05:00
Alex Clark
33f42c7fbd
Revert "Use relative import for _imaging"
...
This reverts commit aff6eccec5
.
2013-03-08 18:38:26 -05:00
Alex Clark
fd81ee9336
Fix imports
2013-03-08 17:39:50 -05:00
Christoph Gohlke
34a5311e1b
Use relative import for _imagingagg
2013-03-08 13:47:41 -08:00
Christoph Gohlke
5820716eb3
Use relative import for _imagingtk
2013-03-08 13:43:43 -08:00
Christoph Gohlke
c731513318
Use relative import for _imagingmath
2013-03-08 13:40:30 -08:00
Christoph Gohlke
5e203de327
Use relative import for _imaginggl
2013-03-08 13:38:37 -08:00
Christoph Gohlke
089a04bce1
Better import for _imagingft
2013-03-08 13:36:32 -08:00
Christoph Gohlke
1003e4f7ee
Use relative import for _imagingcms
2013-03-08 13:34:08 -08:00
Christoph Gohlke
aff6eccec5
Use relative import for _imaging
2013-03-08 13:30:41 -08:00
Christoph Gohlke
caba4e33ba
Fix AttributeError: 'module' object has no attribute 'spawn'
2013-03-08 11:15:28 -08:00
Alex Clark
b03abf2e58
Merge branch 'master' of https://github.com/etienned/Pillow into etienned-master
2013-03-08 08:36:53 -05:00
Alex Clark
0c18a8f3b8
Use bytes literal, fixes Tests/test_file_fli.py
2013-03-08 08:01:56 -05:00
Alex Clark
b29326b175
Fix KeyError in Tests/test_file_xpm.py
2013-03-07 15:20:52 -05:00
Alex Clark
3020c16eaa
Fix imports
2013-03-07 11:20:28 -05:00
Alex Clark
f29950bc6d
Fix typo
2013-03-07 08:52:44 -05:00
Alex Clark ☺
cd1cc66d4d
Merge pull request #73 from pelson/tiff_tags
...
Added the ``named`` method to a Tiffs tag getter.
2013-03-07 05:51:39 -08:00
Phil Elson
603f2a226f
Added the `named
` method to a Tiffs tag getter.
2013-03-07 12:00:19 +00:00
Mikhail Korobov
c59c6609f3
Restore fromstring & tostring aliases in 3.x
2013-03-07 15:23:40 +06:00
etienne
55f2dc7b0b
Added quantization tables and subsampling options to the JPEG encoder.
2013-03-06 20:23:02 -05:00
Kyle MacFarlane
de17144f6b
Fix Ghostscript command on Windows
2013-03-06 17:36:22 +00:00
Alex Clark ☺
001a1521cb
Merge pull request #64 from kmike/master
...
Testing improvements and better Python 3.x support
2013-03-05 12:11:07 -08:00
Alex Clark ☺
d58006af39
Merge pull request #57 from garnertb/exif_tags
...
Updated tags to the 2.3 standard and fixed spelling error in the comment...
2013-03-05 12:03:24 -08:00
Alex Clark ☺
d097fa068c
Merge pull request #56 from cgohlke/patch-4
...
BUG: PIL Image array interface has the wrong size for YCbCr
2013-03-05 12:02:05 -08:00
Alex Clark ☺
9ed98814ce
Merge pull request #53 from cgohlke/patch-1
...
BUG: Windows image viewer unable to open image
2013-03-05 10:47:45 -08:00
Mikhail Korobov
a71183dab5
better fix for #15 (with a test case now)
2013-02-26 17:12:11 +06:00
Mikhail Korobov
ee794e1501
An attempt to fix #15 for Python 3.x.
...
TiffImagePlugin.ImageFileDirectory.__getattr__ is magical because it deletes items from "tagdata" variable and this plays badly with TiffImagePlugin.ImageFileDirectory.__iter__. Under Python 2.x items() returned a list and this wasn't a problem (because __iter__ value was evalued once); under Python 3.x items() returns a view/iterator that chains self.tags and self.tagdata and iteration begins to fail with "RuntimeError: dictionary changed size during iteration" exception because tagdata item is modified.
In this changeset I've tried to fix this by evaluating items() when the loop starts (by casting it to list), so that it doesn't matter if tagdata is changed during iteration or not.
There is no tests because _getexif is currently private. But this method is used by easy-thumbnails and sorl.thumbnails, so I think it is worth fixing it.
2013-02-26 16:44:47 +06:00
Mikhail Korobov
bb4eb53859
fix UnboundLocalError errors
2013-02-26 16:31:44 +06:00
Mikhail Korobov
aacb8097c3
better warning messages for fromstring/tostring
2013-02-26 16:19:35 +06:00
Tyler Garner
fa2b10d5da
Updated tags to the 2.3 standard and fixed spelling error in the comments.
2013-02-16 11:16:16 -05:00
Christoph Gohlke
bb07471d2e
BUG: PIL Image array interface has the wrong size for YCbCr
2013-02-13 19:52:32 -08:00
Christoph Gohlke
dbf3d993ed
BUG: Windows image viewer unable to open image
...
The issue was reported several times during the past years.
The temporary bitmap file is deleted before the image viewer is started. The workaround is to wait some time before deleting the file.
http://stackoverflow.com/questions/4607633/image-format-to-save-in-python
http://stackoverflow.com/questions/7715501/pil-image-show-doesnt-work-on-windows-7
2013-02-13 18:23:30 -08:00
Alex Clark
cb4f0f2b3c
Revert "Fix saving images with added transparency"
...
This reverts commit cc439099c1
.
2013-02-06 09:25:03 -05:00
Sandro Mani
cc439099c1
Fix saving images with added transparency
...
See http://mail.python.org/pipermail/image-sig/1999-February/000648.html
This patch was carried by fedora for python-imaging
2013-02-06 00:49:26 +01:00
David Schmidt
5baa1ac1b8
Added support for PNG images with transparency palette
2013-02-01 17:52:22 +01:00
David Schmidt
e90d90d60a
Fixed another PIL Pillow difference bug
2013-01-11 14:41:38 +01:00
David Schmidt
33bf5d9d37
Improved load truncated images
2013-01-11 14:40:02 +01:00
David Schmidt
ee04c7ceea
Fixed another difference between PIL and Pillow
2013-01-11 13:24:44 +01:00
d-schmidt
addf0f4d95
Added possibility to save exif information in jpeg-files
2013-01-10 21:36:21 +01:00
d-schmidt
54d4f5eb3c
added option to load truncated image-files
2013-01-10 20:44:41 +01:00
d-schmidt
900f3a8ff7
Added possibility to save gifs with a custom palette when using color mode P
2013-01-10 20:34:58 +01:00
Brian J. Crowell
c952134e00
py3k: Issue warnings when using the old fromstring/tostring
...
...although, you have to turn on deprecation warnings specifically in order
to get them.
2013-01-10 08:47:05 -06:00
Brian Crowell
848579af9b
py3k: Add Windows icon sanity test
2013-01-10 08:47:04 -06:00
Brian Crowell
276cc421f7
py3k: Add XPM read test
...
This test includes an XPM file with transparency.
2013-01-10 08:47:03 -06:00
Brian Crowell
d6a0dec15b
py3k: Add TarIO test
...
Not too convinced of the size fix. While it works against my file, I'm not
sure someone would have accidentally been an index off and not noticed.
2013-01-10 08:47:03 -06:00
Brian Crowell
49b0d1563e
py3k: Rewrite PdfImagePlugin into something more legible
...
After adding all the encode() calls, the PDF plugin (and a few others)
became much harder to read. This should be much easier on the eyes.
2013-01-10 08:47:02 -06:00
Brian Crowell
6765b8e026
py3k: Add .FLI sanity check, and fix palette bytes bug
2013-01-10 08:47:01 -06:00
Brian Crowell
4f7d784a71
py3k: Actually fix the EPS encoder
...
The EPS encoder wasn't part of Gohlke's test suite, so the previous "fixes"
there were only expected syntactic ones. This gives a cleaner fix to the
encoder.
The decoder doesn't work in round-trip due to a missing eps_decoder method
on the core module, but it's clear it worked at some point.
2013-01-10 08:47:00 -06:00
Brian Crowell
63be4a1334
py3k: Get rid of _ParserFile; io.BytesIO does its job
2013-01-10 08:46:59 -06:00
Brian Crowell
8035b1a76a
py3k: FIX: TGA missing o8 declaration
...
Plus, TGA was eligible for a round-trip test in test_imagefile. It has one
now.
2013-01-10 08:46:59 -06:00
Brian Crowell
254f0cf674
py3k: FIX: Bad upside-down check in BmpImagePlugin
2013-01-10 08:46:58 -06:00
Brian Crowell
a7e3b2e47b
py3k: The big push
...
There are two main issues fixed with this commit:
* bytes vs. str: All file, image, and palette data are now handled as
bytes. A new _binary module consolidates the hacks needed to do this
across Python versions. tostring/fromstring methods have been renamed to
tobytes/frombytes, but the Python 2.6/2.7 versions alias them to the old
names for compatibility. Users should move to tobytes/frombytes.
One other potentially-breaking change is that text data in image files
(such as tags, comments) are now explicitly handled with a specific
character encoding in mind. This works well with the Unicode str in
Python 3, but may trip up old code expecting a straight byte-for-byte
translation to a Python string. This also required a change to Gohlke's
tags tests (in Tests/test_file_png.py) to expect Unicode strings from
the code.
* True div vs. floor div: Many division operations used the "/" operator
to do floor division, which is now the "//" operator in Python 3. These
were fixed.
As of this commit, on the first pass, I have one failing test (improper
handling of a slice object in a C module, test_imagepath.py) in Python 3,
and three that that I haven't tried running yet (test_imagegl,
test_imagegrab, and test_imageqt). I also haven't tested anything on
Windows. All but the three skipped tests run flawlessly against Pythons
2.6 and 2.7.
2013-01-10 08:46:56 -06:00
Brian Crowell
275a895952
py3k: Type coercion is gone
...
Types aren't automatically converted for operations for you.
2013-01-10 08:46:55 -06:00
Brian Crowell
80c2fa60ae
py3k: Sort by key, not cmp
...
Py3k only supports key because it's more efficient. Not even sure 2to3
checks for this.
2013-01-10 08:46:54 -06:00
Brian Crowell
af94e2d93d
py3k: Map long type to int
...
int() is really now long() in py3k, but to avoid breaking 2.6/2.7, we leave
the integer types where they are and just map long to int in py3k.
Also, pretty proud of myself for finding an easy way of detecting py3k.
2013-01-10 08:46:54 -06:00
Brian Crowell
31c454b925
py3k: 2to3's "idiom" filter
...
This is, I guess, a few things the Python devs were just fed up with.
* "while 1" is now "while True"
* Types are compared with isinstance instead of ==
* Sort a list in one go with sorted()
My own twist is to also replace type('') with str, type(()) with tuple,
type([]) with list, type(1) with int, and type(5000.0) with float.
2013-01-10 08:46:53 -06:00
Brian Crowell
48cf699fe6
py3k: Change apply() to unpacking syntax
...
apply() is no longer available in py3k.
2013-01-10 08:46:52 -06:00
Brian Crowell
e2283c664b
py3k: Integer long literals are no longer valid syntax
2013-01-10 08:46:52 -06:00
Brian Crowell
260c1fad14
py3k: Convert StringIO.StringIO to io.BytesIO
...
io.BytesIO is already in 2.6. Some of the more obvious bytes literals are
marked in this commit.
2013-01-10 08:46:51 -06:00
Brian Crowell
dda0e9a3ed
py3k: Tkinter module is now tkinter
2013-01-10 08:46:51 -06:00
Brian Crowell
fa348ee9fe
py3k: __builtin__ module is now builtins
2013-01-10 08:46:50 -06:00
Brian Crowell
dfb1b144d8
py3k: Remove Image types import
...
For awhile now, str == type("") and so on. So we use the appropriate int,
str, basestring, or tuple type where applicable.
2013-01-10 08:46:49 -06:00
Brian Crowell
83ff0b3b31
py3k: Use relative imports
...
In py3k, imports are absolute unless using the "from . import" syntax.
This commit also solves a recursive import between Image, ImageColor, and
ImagePalette by delay-importing ImagePalette in Image.
I'm not too keen on this commit because the syntax is ugly. I might go back
and prefer the prettier "from PIL import".
2013-01-10 08:46:48 -06:00
Brian Crowell
abd215e457
py3k: Remove tuples in parameter lists
...
Py3k no longer supports unpacking tuples in the parameters.
2013-01-10 08:46:47 -06:00
Brian Crowell
5076c35cc5
py3k: print is a function
...
Seriously, if you didn't know that, you've been in a freaking cave, man.
2013-01-10 08:46:46 -06:00
Brian Crowell
aeab3f5911
py3k: Import reduce function
...
reduce() is no longer a built-in function in py3k.
2013-01-10 08:46:46 -06:00
Brian Crowell
da1d715b8e
py3k: Use isinstance for numbers and sequences
...
operator.isNumberType() and .isSequenceType() go away in py3k.
2013-01-10 08:46:45 -06:00
Brian Crowell
eed042fae5
py3k: __nonzero__ is now __bool__
2013-01-10 08:46:44 -06:00
Brian Crowell
3a665a7835
py3k: Add true Unicode support to OleFileIO
...
The day has arrived when Python provides an official way to handle Unicode
strings.
2013-01-10 08:46:44 -06:00
Brian Crowell
fc035814bd
py3k: map and filter to list comprehensions
...
What's really going on is that map() and filter() return iterators in py3k.
I've just gone ahead and turned them all into list comprehensions, because
I find them much easier to read.
2013-01-10 08:46:43 -06:00
Brian Crowell
e514912378
py3k: Rewrite dictionary support for Tiff ImageFileDictionary
...
This commit brings in the collections.MutableMapping mixin to provide full
dictionary support for ImageFileDictionary.
2013-01-10 08:46:43 -06:00
Brian Crowell
09f1081c95
py3k: Fix up uses of dictionary views, ranges, and has_key()
...
y.has_key(x) is gone (use x in y), and keys(), values(), items(), and
range() all return views.
Some iterables needed to be packed into lists, either because the code
expected a list (such as "range(256) * 3") or because the original
collection was being modified (automatic global declarations).
The Tiff ImageFileDictionary is a special case and will be dealt with in
another commit.
2013-01-10 08:46:42 -06:00
Brian Crowell
b386ed14dd
py3k: Remove callable() function
...
callable(c) is isinstance(x, collections.Callable) in py3k.
2013-01-10 08:46:41 -06:00
Brian Crowell
197885164b
py3k: Backport Gohlke's tests to run on 2.6/2.7
...
Most of the differences are in tobytes/tostring naming and expected
behavior of the bytes() constructor. The latter was usually easy to fix
with the right bytes literal.
This is a good preview of what will have to happen in the Python 3 code.
2013-01-10 08:46:39 -06:00
Brian Crowell
af5228896a
py3k: Add module initialization and unicode/bytes int/long thunks
...
This commit:
* Adds Python 3 module initialization functions. I split out the main init
of each module into a static setup_module function.
* Adds a py3.h which unifies int/long in Python 3 and unicode/bytes in
Python 2. _imagingft.c unfortunately looks a little kludgy after this
because it was already using PyUnicode functions, and I had to mix and
match there manually.
With this commit, the modules all build successfully under Python 3.
What this commit does NOT do is patch all of the uses of PyArg_ParseTuple
and Py_BuildValue, which all need to be checked for proper use of bytes
and unicode codes. It also does not let selftest.py run yet, because there
are probably hundreds of issues to fix in the Python code itself.
2013-01-10 08:46:37 -06:00
Brian Crowell
78575798d7
py3k: Update exception usage to modern syntax
2013-01-10 08:46:33 -06:00
Brian Crowell
37f22ebfcd
py3k: Use string methods instead of string module
...
First, we go for the obvious stuff. The string module methods are gone in
3.0, so we translate them to the appropriate methods on the string class.
2013-01-10 08:42:49 -06:00
cgohlke
11a859e7d3
Make FLI image detection more stringent
2012-12-20 21:47:45 -08:00
Manuel Ebert
4e397a4d1c
Radius was hardcoded to 2.
...
This will probably, some time in the future get fixed upstream in PIL. Maybe.
2012-12-06 16:19:55 -08:00
Tom Payne
e414c66070
Add Image.alpha_composite
2012-12-04 16:44:26 +01:00
tdesvenain
3eda40cb4c
revert last commit, images rendered didn't match very well
2012-07-29 17:05:54 +02:00
tdesvenain
bc9455d059
Added a psd mode (mode 4, 16 bits).
2012-07-29 16:02:26 +02:00
tdesvenain
4ebe7fc459
Fix opening psd files with RGBA layers when A mode is not of type 65535
...
but 3.
Fixes issue https://github.com/python-imaging/Pillow/issues/3
2012-07-29 15:48:40 +02:00
Corey Richardson
f466def82d
Better import of _imaging
2012-06-15 17:39:51 -03:00
Tom Gross
33e1ffe570
fixed reading of EPS pictures
...
found in: http://www.mail-archive.com/image-sig@python.org/msg03054.html
2012-04-26 17:00:22 +02:00
Simon Law
5355fea83e
Backport fix to split() after open() (regression in 1.1.7).
...
https://bitbucket.org/effbot/pil-2009-raclette/changeset/fb7ce579f5f9
2012-01-19 15:07:18 -05:00
Stéphane Klein
c144108396
Fix : resize need int values, append int conversion in thumbnail method
2011-07-20 15:49:37 +02:00
Alex Clark
9a640e3157
Forking PIL
2010-07-30 22:52:47 -04:00