Commit Graph

12563 Commits

Author SHA1 Message Date
wiredfool
5dfadf623b LA, PA image modes 2014-01-06 22:51:31 -08:00
wiredfool
121b51aebc trying to bust up the JIT a bit 2014-01-06 22:09:00 -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
4cacfe6b11 longer benchmark 2014-01-06 08:55:06 -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
2921b5c5e5 Getting travis into the testing loop 2014-01-05 21:36:29 -08:00
wiredfool
c98f731f7e Ensuring c-api access 2014-01-05 21:36:13 -08:00
wiredfool
273a5014d2 more extensive testing, matches original c code 2014-01-05 21:18:53 -08:00
wiredfool
663f881b21 all original tests pass 2014-01-05 21:07:56 -08:00
wiredfool
de53889711 removed initial testing 2014-01-05 20:50:05 -08:00
wiredfool
bb20f6ca83 basic benchmark shows ~order of magnitude speedup 2014-01-05 16:45:01 -08:00
wiredfool
5efe737f6f Cffi pixel access object, #248 2014-01-05 10:41:25 -08:00
Alex Clark ☺
bcfc06d6d0 Merge pull request #469 from manisandro/test_webp
Use assert_image_similar in test_file_webp.py
2014-01-04 13:34:43 -08:00
Sandro Mani
4de31b2693 Use assert_image_similar instead of assert_image_equal in test_file_webp.py 2014-01-04 21:48:18 +01:00
Alex Clark
7789c539d7 Add history 2014-01-02 05:07:11 -05:00
Alex Clark ☺
8dd8bdf238 Merge pull request #467 from cgohlke/patch-1
Correctly quote file names for WindowsViewer command
2014-01-02 02:06:06 -08:00
cgohlke
db092e7d82 Correctly quote file names for WindowsViewer command 2014-01-01 19:04:30 -08:00
Alex Clark
74b5cdde1b Add history 2014-01-01 17:50:13 -05:00
Alex Clark ☺
7bc9a1a3f9 Merge pull request #466 from dmckeone/patch-2
Prefer homebrew freetype over X11 freetype (but still allow both)
2014-01-01 14:49:01 -08:00
David McKeone
56ab4fd475 Prefer homebrew freetype over X11 freetype (but still allow both)
I've recently included Pillow with a py2app build of a frozen application on OS X. When Pillow is installed on a machine that has X11, the preference for X11's libfreetype causes a new dependency for my frozen app. I don't want my users to be required to install X11 if they don't have to (it's not included by default after OS X 10.8).

This PR adds a preference for homebrew's libfreetype (if available), which py2app detects and includes, and which doesn't create an X11 dependency in apps that are frozen and use Pillow (PIL).
2014-01-01 15:47:42 -07:00
Alex Clark
6395103f46 Declare 3.4 support 2014-01-01 16:53:37 -05:00
Alex Clark
b1b88cf4d2 Wording [ci skip] 2014-01-01 16:10:13 -05:00
Alex Clark
df245d7e37 Wording [ci skip] 2014-01-01 16:08:27 -05:00
Alex Clark
eab14a76a7 Wording [ci skip] 2014-01-01 16:05:59 -05:00
Alex Clark
103bdfee47 Wording [ci skip] 2014-01-01 16:02:58 -05:00
Alex Clark
82d6984f49 Wording [ci skip] 2014-01-01 15:42:38 -05:00
Alex Clark
8e386c4d0e Wording [ci skip] 2014-01-01 15:37:06 -05:00
Alex Clark
0c6f321266 Add history 2013-12-31 05:07:10 -05:00
Alex Clark ☺
2fc4a7441f Merge pull request #459 from jpharvey/getfont_leak
stop leaking filename parameter passed to getfont
2013-12-31 02:06:05 -08:00
wiredfool
1dd80b2625 reverted int32 changes 2013-12-30 21:00:32 -08:00
Alex Clark ☺
9eae73a6d8 Merge pull request #462 from cgohlke/patch-3
TST: fix X/Y Resolution didn't roundtrip in test_file_libtiff
2013-12-30 02:57:04 -08:00
Alex Clark
c4710ea675 Add history 2013-12-30 05:56:15 -05:00
Alex Clark ☺
36c8bc71e5 Merge pull request #461 from cgohlke/patch-2
Report availability of LIBTIFF during setup and selftest
2013-12-30 02:55:53 -08:00
Alex Clark
c313b35e94 Add history 2013-12-30 05:55:21 -05:00
Alex Clark ☺
b53bab9976 Merge pull request #460 from cgohlke/patch-1
BLD: Fix msvc build error C1189: "No Target Architecture"
2013-12-30 02:54:57 -08:00
cgohlke
55d4160bcc TST: fix comparison of X/Y Resolution rational numbers 2013-12-29 20:14:51 -08:00
cgohlke
b7aafa2036 Add assert_almost_equal() for testing float numbers 2013-12-29 20:05:55 -08:00
cgohlke
e06a0d6139 Report availability of LIBTIFF during selftest 2013-12-29 19:12:06 -08:00
cgohlke
d85b803440 Report availability of LIBTIFF during setup 2013-12-29 19:10:49 -08:00
cgohlke
deb44ddd52 BLD: Fix msvc build error C1189: "No Target Architecture" 2013-12-29 18:54:07 -08:00
John Harvey
f90e4327c9 stop leaking filename parameter passed to getfont 2013-12-29 20:33:55 +00:00
Alex Clark
74f83b7c5b Add history 2013-12-28 09:13:15 -05:00
Alex Clark ☺
2759e3588d Merge pull request #449 from wiredfool/freetype-leak
Freeing glyph
2013-12-28 06:12:43 -08:00
Alex Clark
15b52266b8 Wording [ci skip] 2013-12-28 09:10:34 -05:00
Alex Clark ☺
289198b220 Merge pull request #442 from ohanar/path_fixes
Include and library path fixes
2013-12-28 06:09:51 -08:00
Alex Clark
f5eca68ace Add history 2013-12-28 09:08:26 -05:00