Commit Graph

9670 Commits

Author SHA1 Message Date
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
Alex Clark ☺
c9661b8f31 Merge pull request #72 from pelson/newlines
Fixes whitespace in docs/effbot.css
2013-03-07 05:49:33 -08:00
Alex Clark ☺
e99dbfa9ea Merge pull request #71 from kmike/restore-aliases
Restore fromstring & tostring aliases in 3.x
2013-03-07 05:39:05 -08:00
Phil Elson
603f2a226f Added the `named` method to a Tiffs tag getter. 2013-03-07 12:00:19 +00:00
Phil Elson
ef19ec8039 Fixes whitespace in docs/effbot.css 2013-03-07 11:38:36 +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
Alex Clark
525de9b14a Don't specify version in tests ; add pillow ref 2013-03-06 19:14:31 -05:00
Alex Clark
f874ba24a4 Move image 2013-03-06 17:55:43 -05:00
Alex Clark
0f30c7e70e Add travis status image 2013-03-06 17:47:11 -05:00
Alex Clark
e01c8fec56 Fix #65 2013-03-06 16:55:24 -05:00
Alex Clark ☺
1534a5537c Merge pull request #69 from kylemacfarlane/master
Fix Ghostscript on Windows
2013-03-06 09:49:56 -08:00
Kyle MacFarlane
de17144f6b Fix Ghostscript command on Windows 2013-03-06 17:36:22 +00:00
Alex Clark
5c9c5e45fd Master is 2.0 2013-03-06 06:14:32 -05:00
Alex Clark ☺
7866759827 Merge pull request #60 from Sapphire64/master
Py3k libraries path fix (issue #41)
2013-03-05 12:18:16 -08: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 ☺
fa567ba242 Merge pull request #59 from manisandro/master
Fix issue #52
2013-03-05 12:05:57 -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 ☺
b61ba4a76c Merge pull request #55 from cgohlke/patch-3
Fix pildriver script
2013-03-05 12:01:15 -08:00
Alex Clark
9becfc3a71 Clean up 2013-03-05 15:00:20 -05:00
Alex Clark ☺
5b369a71c5 Merge pull request #54 from cgohlke/patch-2
Fix Windows 64 bit issues
2013-03-05 10:54:08 -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
Alex Clark
170bb0a78f Remove 2.5 support on travis 2013-02-27 19:06:06 -05:00
Alex Clark
1c565a7173 Wording 2013-02-27 19:01:50 -05:00
Alex Clark ☺
1b119b3f41 Merge pull request #47 from d-schmidt/master
Solved issue #46 and picked the last missing py3k changes
2013-02-27 15:22:27 -08:00
Alex Clark
8aa8cbd7be Remove image 2013-02-27 13:18:25 -05:00
Alex Clark
2ccb0ad51c Wording 2013-02-27 13:05:23 -05:00
Alex Clark
c965e52acc Add image 2013-02-27 13:02:32 -05:00
Alex Clark
f26c0edb17 Or not 2013-02-27 13:01:48 -05:00
Alex Clark
c319b66bab Add analytics 2013-02-27 13:00:51 -05:00
Alex Clark
088ea92b8b Add image 2013-02-27 12:58:17 -05:00
Alex Clark
f8ea062eab Edit styles 2013-02-27 12:55:36 -05:00
Alex Clark
534686e952 Fix rst links 2013-02-27 12:52:43 -05:00
Alex Clark
f528dca35b Update wording 2013-02-27 12:50:29 -05: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
c4baeccfce fix 2.6 tests by replacing usages of deprecated fromstring/tostring with frombytes/tobytes 2013-02-26 16:28:34 +06:00
Mikhail Korobov
aacb8097c3 better warning messages for fromstring/tostring 2013-02-26 16:19:35 +06:00
Mikhail Korobov
fbcc9b5c77 Test running improvements: all tests can be run with tox; run.py script exits with an error code in case of failures. 2013-02-26 16:03:25 +06:00
Anton Vlasenko
c44994b78c Fixing #41 issue with Py3k libs path 2013-02-18 18:16:13 +02:00
Sandro Mani
416d5f70af Cast hash table values to unsigned long 2013-02-18 16:48:46 +01: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
03b8960db2 Fix pildriver script 2013-02-13 19:43:17 -08:00
Christoph Gohlke
4e981b2ef6 Use SetWindowLongPtr instead of SetWindowLong 2013-02-13 19:10:28 -08:00
Christoph Gohlke
8b70b2fb79 Use Py_ssize_t instead of long 2013-02-13 18:52:41 -08:00
Christoph Gohlke
007a4405de Use Py_ssize_t instead of long 2013-02-13 18:48:46 -08:00
Christoph Gohlke
d711d8ef82 Use Py_ssize_t instead of long 2013-02-13 18:47:32 -08:00