Commit Graph

6827 Commits

Author SHA1 Message Date
Sandro Mani
1c4734b6bb Make bytePalette read-only buffer 2013-08-28 20:44:27 +02:00
Sandro Mani
2ec21cf5ae Catch incorrect palette sizes 2013-08-28 20:36:39 +02:00
Sandro Mani
4be146cf27 Fix bytes which should be bytearray 2013-08-28 20:18:13 +02:00
Alex Clark ☺
79302b90da Merge pull request #324 from seanupton/master
Add respective paths for C_INCLUDE_PATH, LD_RUN_PATH (rpath) to build if...
2013-08-26 12:40:15 -07:00
Sean Upton
1869ed5272 Add respective paths for C_INCLUDE_PATH, LD_RUN_PATH (rpath) to build if specified as environment variables. 2013-08-26 07:35:55 -06:00
Alex Clark
588e6f88b7 Add history 2013-08-22 05:55:48 -04:00
Alex Clark ☺
07f338f194 Merge pull request #315 from d-schmidt/master
fix Issue #312 + gif optimize improvement
2013-08-22 02:54:43 -07:00
Alex Clark
ec182bed7c Add history [ci skip] 2013-08-21 18:31:40 -04:00
Alex Clark
e0d8a198e8 Add history [ci skip] 2013-08-21 18:29:54 -04:00
wiredfool
93b628ad49 Merge pull request #323 from wiredfool/tk-readme
Include tcl/tk in the readme
2013-08-21 15:03:33 -07:00
wiredfool
bb29d00fdf Merge pull request #321 from vytisb/master
Fix for #318: Catch truncated zTXt chunk errors when decoding PNG images.
2013-08-21 15:02:03 -07:00
wiredfool
2974749f21 Merge pull request #320 from ericbuehl/master
be more tolerant of tiff tag read failures
2013-08-21 15:01:27 -07:00
wiredfool
878e12758b added raspian prereqs 2013-08-21 14:54:48 -07:00
wiredfool
ab593c75da adding prerequisites for tk to the readme 2013-08-21 14:49:15 -07:00
Eric Buehl
26fb0eadad issue warning instead of debug/print 2013-08-20 16:53:55 +00:00
Vytis Banaitis
febfd1e124 Python3 fix. 2013-08-20 17:09:22 +03:00
Vytis Banaitis
dbf40a0124 Catch truncated zTXt errors. 2013-08-20 15:17:17 +03:00
Eric Buehl
7430dc261f be more tolerant of tag read failures
this can occur if the MakerNote has a pointer to outside the EXIF block
2013-08-19 22:51:50 +00:00
David Schmidt
9d43f156a8 replace custom search with dict in gif optimize 2013-08-06 11:36:02 +02:00
David Schmidt
c9df9d0b23 reorganized gif optimize to work with palette parameter 2013-08-05 17:59:35 +02:00
Alex Clark
ca8e84dfce Add history [ci skip] 2013-08-02 21:00:52 -04:00
Alex Clark ☺
845f582d09 Merge pull request #313 from e98cuenc/progressive
Fix IOError when saving progressive JPEGs.
2013-08-02 18:00:13 -07:00
David Schmidt
b9ab3f5bf4 fix Issue #312
improve palette handling while saving gif and png
2013-08-02 16:32:49 +02:00
Joaquín Cuenca Abela
c68044bf7f Fix IOError when saving progressive JPEGs.
when the jpeg encoder sees the flags optimize or progressive (or progression)
it will write the full image in one shot.

The bufsize needs to be big enough to hold the entire image. The current heuristic
is that the entire compressed image will fit in width * height bytes, but this
heuristic is only applied to save operations with the flag "optimize" and not to
save operations with the flag "progressive".

This patch fixes this oversight.

(Btw, it will probably be a good idea to have a loop that retries with a bigger
bufsize in case this guess is not big enough.)
2013-08-02 14:36:46 +02:00
Alex Clark
dcb6eef590 Add history [ci skip] 2013-07-31 13:00:53 -04:00
Alex Clark ☺
b72471c8fe Merge pull request #309 from yoavweiss/master
Add RGBA support to ImageColor
2013-07-31 09:55:43 -07:00
Alex Clark
e8906c24e0 Update history [ci skip] 2013-07-31 11:23:05 -04:00
Alex Clark
f6da8c24dc Revert "Added IGNORE_DECODING_ERRORS flag to ImageFile allowing corrupted images to load"
This reverts commit 156a443cdf.
2013-07-31 11:22:38 -04:00
Alex Clark
50e3e1185a Add history 2013-07-30 16:49:24 -04:00
Alex Clark ☺
ba82e34703 Merge pull request #311 from cezarsa/master
Added IGNORE_DECODING_ERRORS flag to ImageFile allowing corrupted images to load
2013-07-30 13:48:10 -07:00
Cezar Sa Espinola
156a443cdf Added IGNORE_DECODING_ERRORS flag to ImageFile allowing corrupted images to load 2013-07-30 16:38:56 -03:00
Yoav Weiss
37cb2413d5 Fix imagecolor test issue 2013-07-30 20:37:28 +02:00
Yoav Weiss
c117dcae34 Add RGBA support to ImageColor 2013-07-30 16:43:40 +02:00
Alex Clark
aad42b88c4 Add history 2013-07-25 14:12:31 -04:00
Alex Clark ☺
7fe5fe6dbb Merge pull request #306 from mjpieters/master
Fix for #304: test for `str`, not `"utf-8"`.
2013-07-25 10:53:13 -07:00
Martijn Pieters
97f1cd55ee Fix for #304: test for str, not "utf-8".
The code wants to produce a `str` object for the given Python version (which is the right thing to do here).
2013-07-25 18:21:08 +01:00
Alex Clark
a1682c70d2 Add history 2013-07-25 12:32:19 -04:00
Alex Clark ☺
c08721aa0b Merge pull request #303 from mnowotka/patch-1
Update _util.py
2013-07-25 09:30:59 -07:00
Michał Nowotka
702fc75ee3 Update _util.py
Fixing missing import.
2013-07-25 17:25:18 +01:00
Alex Clark ☺
78dc47ca2b Merge pull request #301 from freyes/add-to-gitignore
Added "*.so" and "docs/_build" to gitignore
2013-07-24 13:47:18 -07:00
Felipe Reyes
9f4f09f135 Added "*.so" and "docs/_build" to gitignore 2013-07-24 20:44:13 +00:00
Alex Clark
e7e978e811 Add history 2013-07-24 16:15:51 -04:00
Alex Clark ☺
b97eb321c4 Merge pull request #300 from freyes/add-new-exif-tag-codes
Added some missing exif tags
2013-07-24 13:14:59 -07:00
Felipe Reyes
64cc8f994d Added some missing exif tags 2013-07-24 18:46:21 +00:00
Alex Clark
c74738a964 Add history 2013-07-23 13:42:29 -04:00
Alex Clark ☺
5d2c8ebbac Merge pull request #299 from wiredfool/ucs
Fail on all import errors
2013-07-23 10:37:48 -07:00
wiredfool
e3e0638a5f Fail fast if there's an import error on _imaging 2013-07-23 10:17:15 -07:00
Freek Dijkstra
d24a419299 Warnings if imaging library has wrong UCS support.
Raise exceptions for unknown errors.
2013-07-23 10:44:27 +02:00
Alex Clark
2f803e653c Rename 2013-07-22 14:08:45 -04:00
Alex Clark
0884edd7f3 Rename 2013-07-22 13:47:47 -04:00