Commit Graph

1946 Commits

Author SHA1 Message Date
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
wiredfool
7baaf296d2 Updated changes 2014-02-28 16:32:55 -08:00
wiredfool
0d453d9805 Added test for Palette transparency=0 2014-02-28 16:29:34 -08:00
wiredfool
b8942d4932 Merge pull request #531 from d-schmidt/patch-3
Doc fix -- Image.paste is in place. Fixes #529
2014-02-28 15:59:57 -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
Alex Clark
f826114ce9 Update license info 2014-02-21 04:46:05 -05:00
Alex Clark
1d7bfa5a92 Wording [ci skip] 2014-02-19 18:39:20 -05:00
Alex Clark
05070b089f Add license info 2014-02-19 18:37:56 -05:00
Alex Clark
43dd0683ad Wording [ci skip] 2014-02-19 18:31:14 -05:00
wiredfool
36323d1140 Make ICO files work with the ImageFile.Parser interface, fixes #522 2014-02-16 20:58:06 -08:00
wiredfool
5ecec7db10 Move image to first xsize*bands bytes, rather than including padding if stride > xsize*bands, fixes #523 2014-02-15 22:41:02 -08:00
Christian E. Hopps
2867d203cf Handle 32bit compiled python on 64bit architecture
platforma.processor() will return x86_64 on a 64 bit linux system;
however, this it wrong for 32 bit compiled python. By looking at
platform.architecture() first it correctly notes the 32bit
compile.
2014-02-11 15:05:09 -08:00
Alex Clark
df87d7d46e Add history 2014-02-10 07:24:50 -05: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
wiredfool
41e124af05 Skip CFFI test earlier if it's not installed 2014-02-04 21:45:34 -08:00
wiredfool
540e1e2c68 Added ability to render a bytes object using an old style bitmap font to make it easier to use in Py3k 2014-02-04 21:41:16 -08:00
wiredfool
cacd638187 Unicode handled as Latin-1 for Py3, Strings handled for Py2. 2014-02-04 21:41:16 -08:00
wiredfool
4d32136365 Working in py3k, not in 2.x 2014-02-04 21:41:16 -08:00
Joaquín Cuenca Abela
96ca9ff6ff Another attempt to achieve python 3 compatibility. 2014-02-04 17:37:18 +01:00
Joaquín Cuenca Abela
97b23af7e5 Try to fix test_file_jpeg in Python3 2014-02-04 17:23:29 +01: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
Alex Clark
cb309c9f59 setup: look in multiarch paths in GNU platforms
Somehow I merged pino's commit into rel_2.3 branch (which I since removed because it was confusing me). Not sure what happened, but this is his code that got lost.
2014-02-01 06:06:21 -05:00
wiredfool
9cd8a88931 Merge pull request #507 from wiredfool/bmp_test
Support for BMP version 4 and 5, DOS prevention for invalid sizes, Reference tests for BMP format
2014-01-31 21:45:43 -08:00
wiredfool
c9955628e2 Merge from master 2014-01-31 21:38:34 -08:00
wiredfool
e74dc15973 Changes Update 2014-01-31 21:34:43 -08:00
wiredfool
88d0e6080a Fixed DOS with invalid BMP size entries 2014-01-31 21:33:24 -08:00
wiredfool
1e64e37104 Update CHANGES.rst 2014-01-31 14:14:25 -08:00
wiredfool
f2ce1bb5b1 Merge pull request #509 from wiredfool/pypy-imagefont
Fix segfault in getfont when passed a memory resident font
2014-01-31 14:13:46 -08:00
wiredfool
e3da49f5d5 Merge branch 'master' of https://github.com/python-imaging/Pillow into pypy-imagefont 2014-01-31 14:04:43 -08:00
wiredfool
e9029380dd Merge branch 'pypy-imagefont' of github.com:wiredfool/Pillow into pypy-imagefont 2014-01-31 14:04:32 -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
f36a31a071 Merge pull request #476 from wiredfool/cffi-pixelaccess
Cffi PixelAccess object, Uint16 support in PixelAccess
2014-01-31 13:50:55 -08:00
wiredfool
293cbdef08 Merge pull request #485 from wiredfool/docs
Platform Test Matrix updates
2014-01-31 13:46:46 -08:00
wiredfool
288a563d1a merge from master 2014-01-31 13:45:31 -08:00
Alex Clark
09ee0c0151 Add history 2014-01-31 16:17:24 -05: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
Alex Clark
049a7c1bc2 Add history 2014-01-31 16:13:29 -05:00
wiredfool
76f42fedd6 Merge pull request #506 from wiredfool/eps_save
EPS save cleanup
2014-01-30 19:34:46 -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