Commit Graph

13495 Commits

Author SHA1 Message Date
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
Christoph Gohlke
c334626b8b Use Py_ssize_t instead of long 2013-02-13 18:42:46 -08:00
Christoph Gohlke
803022d93f Use Py_ssize_t instead of long 2013-02-13 18:40:39 -08:00
Christoph Gohlke
2feb481ca2 Use Py_ssize_t instead of long 2013-02-13 18:38:45 -08:00
Christoph Gohlke
a0f1f6692c Use Py_ssize_t instead of long 2013-02-13 18:36:09 -08:00
Christoph Gohlke
dbf3d993ed BUG: Windows image viewer unable to open image
The issue was reported several times during the past years.
The temporary bitmap file is deleted before the image viewer is started. The workaround is to wait some time before deleting the file.
http://stackoverflow.com/questions/4607633/image-format-to-save-in-python
http://stackoverflow.com/questions/7715501/pil-image-show-doesnt-work-on-windows-7
2013-02-13 18:23:30 -08:00
Alex Clark ☺
e09ff61b81 Merge pull request #50 from manisandro/master
Add COPYING file
2013-02-09 10:56:16 -08:00
Sandro Mani
a4e2016e06 Add COPYING file 2013-02-09 19:51:01 +01:00
Alex Clark
cb4f0f2b3c Revert "Fix saving images with added transparency"
This reverts commit cc439099c1.
2013-02-06 09:25:03 -05:00
Alex Clark ☺
c6b484affa Merge pull request #48 from manisandro/master
Upstream two patches carried by fedora
2013-02-05 17:20:15 -08:00
Sandro Mani
8c7c373676 Fix buffer overflow
This patch was carried by fedora for python-imaging
See https://bugzilla.redhat.com/show_bug.cgi?id=703212
2013-02-06 00:51:25 +01:00
Sandro Mani
cc439099c1 Fix saving images with added transparency
See http://mail.python.org/pipermail/image-sig/1999-February/000648.html
This patch was carried by fedora for python-imaging
2013-02-06 00:49:26 +01:00
David Schmidt
41da6cdd87 remove double variable from setup.py 2013-02-01 17:59:29 +01:00
David Schmidt
5baa1ac1b8 Added support for PNG images with transparency palette 2013-02-01 17:52:22 +01:00
Bryant Mairs
f3d601b579 Python 3-ified _imagingcms.c and display.c, at least when compiling for Py3.3x64 on Win7x64 with MSVC10. 2013-02-01 17:45:16 +01:00
Takeshi KOMIYA
103cf49c91 Fix rendered characters have been chipped for some TrueType fonts
ImageFont ignores descender value of TrueType fonts (uses ascender only),
then some fonts which use descender is chipped on rendering.
2013-01-31 14:59:01 +09:00
David Schmidt
bc0e446340 removed doubled variable from setup.py 2013-01-29 15:25:55 +01:00
Alex Clark ☺
8fc5fbc6c1 Merge pull request #38 from d-schmidt/master
Fixed some bugs related to the features added yesterday
2013-01-16 07:14:26 -08:00
David Schmidt
e90d90d60a Fixed another PIL Pillow difference bug 2013-01-11 14:41:38 +01:00
David Schmidt
33bf5d9d37 Improved load truncated images 2013-01-11 14:40:02 +01:00
David Schmidt
ee04c7ceea Fixed another difference between PIL and Pillow 2013-01-11 13:24:44 +01:00
David Schmidt
91503cafd3 minor bugfix 2013-01-11 12:47:32 +01:00
Alex Clark ☺
a635a1dcb1 Merge pull request #36 from d-schmidt/feature
Bugfix + 3 features
2013-01-10 14:26:31 -08:00
d-schmidt
addf0f4d95 Added possibility to save exif information in jpeg-files 2013-01-10 21:36:21 +01:00
d-schmidt
54d4f5eb3c added option to load truncated image-files 2013-01-10 20:44:41 +01:00
d-schmidt
900f3a8ff7 Added possibility to save gifs with a custom palette when using color mode P 2013-01-10 20:34:58 +01:00