Commit Graph

10856 Commits

Author SHA1 Message Date
hugovk
4c5a5c1f0e Tests for IptcImagePlugin.py 2014-07-30 19:34:20 +03:00
hugovk
e49e689c70 Add JPEG with IPTC data. My image, permission given to distribute under MIT licence 2014-07-30 19:33:04 +03:00
Eric W. Brown
3f0ff0177e Dropped unused "options" from MPO save. 2014-07-30 09:17:43 -07:00
Eric W. Brown
b46f5c6b1e Better documented limited MPO save feature.
At present it’s only possible to save the current frame of an MPO, not
the MPO in its entirety. Added testing verifying as much.
2014-07-30 09:17:36 -07:00
hugovk
a5302dcea9 Cover pypy 2014-07-30 12:04:04 +03:00
hugovk
c7a6f162ca Add new pypy3: http://blog.travis-ci.com/2014-07-24-upcoming-build-environment-updates/ 2014-07-30 11:30:46 +03:00
wiredfool
5966278643 Added im.info['icc_profile'] to results for ImageCms.applyTransform 2014-07-29 21:20:11 -07:00
wiredfool
13eb3d667a Added profile.tobytes() for ImageCms Profiles 2014-07-29 20:44:17 -07:00
wiredfool
ab1bbb07c3 Merge pull request #827 from hugovk/test_file_tiff
More tests for TiffImagePlugin
2014-07-29 15:11:36 -07:00
hugovk
56404f6888 Change wrapping to include some context on first line; plus typo fix 2014-07-29 23:00:38 +03:00
Hugo
e2a8a7a6a1 Update CHANGES.rst [CI skip] 2014-07-29 13:27:13 +03:00
Hugo
58c56e9aa4 Merge pull request #821 from wiredfool/pypy-performance
PyPy performance improvements
2014-07-29 13:12:54 +03:00
wiredfool
1a245a577b Mode F and I tests for Image.putdata 2014-07-28 22:09:52 -07:00
wiredfool
78d2618064 Image.point tests for Float LUT 2014-07-28 21:49:11 -07:00
wiredfool
bfb482dc66 Update CHANGES.rst [ci skip] 2014-07-28 21:26:39 -07:00
wiredfool
ce3814189e Merge pull request #822 from Feneric/master
MPO Read Support
2014-07-28 21:25:10 -07:00
hugovk
70528dd539 flake8 2014-07-28 19:00:06 +03:00
Eric W. Brown
c97d1a5601 Updates to MPO handler based on review.
Took out the explicit reference to the MPO Plug-in in Image as it’s now
indirectly referenced via the JPEG Plug-in. Removed the direct MPO
Plug-in registration as it’s now shared with the JPEG Plug-in.
Commented on assertion.
2014-07-28 11:14:38 -04:00
Eric W. Brown
310bf90222 Merge branch 'master' of https://github.com/python-pillow/Pillow 2014-07-28 11:00:49 -04:00
wiredfool
c47bed461a Merge pull request #826 from hugovk/CONTRIBUTING
Add CONTRIBUTING file
2014-07-27 22:15:32 -07:00
hugovk
659b8c2f6f More tests for TiffImagePlugin.py 2014-07-27 22:18:42 +03:00
hugovk
a63901f028 Add CONTRIBUTING.md [CI skip] 2014-07-27 13:14:28 +03:00
wiredfool
c9859ddf9c Merge pull request #825 from wiredfool/hsv
Image Mode Docs
2014-07-26 10:00:55 -07:00
wiredfool
0dabb8ea1c Image Mode Docs 2014-07-26 09:59:33 -07:00
Hugo
f234264959 Update CHANGES.rst [CI skip] 2014-07-26 10:31:15 +03:00
Hugo
328fd35dad Merge pull request #818 from dolda2000/itxt
Added support for encoding and decoding iTXt chunks.
2014-07-26 10:30:00 +03:00
Eric W. Brown
d54fe7fa1a Removed unnecessary uint definition. 2014-07-25 16:55:50 -04:00
Eric W. Brown
9f02344f6c Merge branch 'master' of https://github.com/python-pillow/Pillow 2014-07-25 16:50:50 -04:00
Eric W. Brown
3b3f58d1bc Changed PIL to Pillow for newly supported formats. 2014-07-25 14:47:07 -04:00
wiredfool
60696addff Merge pull request #824 from wiredfool/hsv
Incorrect type -- fails on OSX
2014-07-25 10:53:08 -07:00
wiredfool
023ec0a2fc Incorrect type -- fails on OSX 2014-07-25 10:32:55 -07:00
Eric W. Brown
14976346a8 Fixed import for Python 3.
Fixed the trivial import bug that prevented the Python 3 version of MPO
from running. On the way fixed the trivial C bug that prevented
Convert.c from compiling properly in a Mac OS X environment for a
Python 3 target.
2014-07-25 11:50:21 -04:00
Eric W. Brown
8101c2a313 Merge branch 'master' of https://github.com/python-pillow/Pillow 2014-07-25 10:08:18 -04:00
Eric W. Brown
a5683ab574 Implemented MP attribute breakdown with tests. 2014-07-24 15:00:19 -04:00
Eric W. Brown
dcd171c1b8 Minor refactoring per discussion and MPO docs. 2014-07-24 11:16:12 -04:00
Hugo
13bd1d6006 Update CHANGES.rst [CI skip] 2014-07-24 09:21:09 +03:00
Hugo
352f1fd41f Merge pull request #816 from wiredfool/hsv
HSV Support
2014-07-24 09:20:04 +03:00
wiredfool
ea0a31d9fe 2.8 million pyaccesses take a while, nomatter what 2014-07-23 17:02:57 -07:00
wiredfool
2d13dbda6a enable test_16bit_lut on pypy 2014-07-23 16:01:06 -07:00
wiredfool
c9c80f9da5 Use PySequence_Fast for Image.putdata
Pre-Commit:

$ NOSE_PROCESSES=0 time ./test-installed.py Tests/test_image_putdata.py
...
----------------------------------------------------------------------
Ran 3 tests in 131.623s

OK
131.77user 0.18system 2:14.04elapsed 98%CPU (0avgtext+0avgdata 325632maxresident)k
87376inputs+8outputs (314major+47333minor)pagefaults 0swaps

Post:

$ NOSE_PROCESSES=0 time ./test-installed.py Tests/test_image_putdata.py
...
----------------------------------------------------------------------
Ran 3 tests in 0.534s

OK
0.77user 0.05system 0:00.83elapsed 99%CPU (0avgtext+0avgdata 296352maxresident)k
0inputs+0outputs (0major+21462minor)pagefaults 0swaps
2014-07-23 15:39:24 -07:00
wiredfool
06d21bc709 pypy performance test 2014-07-23 15:39:24 -07:00
wiredfool
5def1010c7 DRY, moved case inside loop 2014-07-23 15:16:23 -07:00
wiredfool
a5aea42bc9 Use PySequence_Fast* to iterate over the list
Pre commit:

$ NOSE_PROCESSES=0 PILLOW_RUN_KNOWN_BAD=1 time ./test-installed.py Tests/test_image_point.py
..
----------------------------------------------------------------------
Ran 2 tests in 132.056s

OK
131.63user 0.62system 2:12.28elapsed 99%CPU (0avgtext+0avgdata 292176maxresident)k
264inputs+0outputs (2major+451088minor)pagefaults 0swaps

Post:

$ NOSE_PROCESSES=0 PILLOW_RUN_KNOWN_BAD=1 time ./test-installed.py Tests/test_image_point.py
..
----------------------------------------------------------------------
Ran 2 tests in 0.338s

OK
0.52user 0.06system 0:00.59elapsed 98%CPU (0avgtext+0avgdata 257584maxresident)k
176inputs+32outputs (2major+18033minor)pagefaults 0swaps

$ python --version
Python 2.7.6 (2.3.1+dfsg-1~ppa1, Jun 20 2014, 09:27:47)
[PyPy 2.3.1 with GCC 4.6.3]
2014-07-23 14:46:37 -07:00
wiredfool
94ca2b1076 using skip known bad 2014-07-23 14:31:49 -07:00
wiredfool
75dac32a0a single threaded for profile-installed.py 2014-07-23 14:30:55 -07:00
wiredfool
e14e3593d9 And now for something completely different. Py3 compatibility 2014-07-23 09:08:28 -07:00
wiredfool
67c235b7c0 Don't DOS pypy 2014-07-23 08:49:19 -07:00
wiredfool
ffe8887cc6 profiler for testing 2014-07-23 08:48:55 -07:00
Eric W. Brown
8d7266afc5 Fixed typo in new MPO unit test. 2014-07-23 11:36:23 -04:00
Eric W. Brown
832e11bed5 Enabled seeking in MPO files.
Note to self: either put the offset in the load_seek() definition or
the tile definition, not both.
2014-07-23 11:27:46 -04:00