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