Commit Graph

4639 Commits

Author SHA1 Message Date
wiredfool
42f7a08ca4 Merge pull request #1856 from radarhere/eafp
Combined duplicate code in ImageTk
2016-05-03 21:02:08 +01:00
wiredfool
30db2bd0f9 Update CHANGES.rst [ci skip] 2016-05-03 19:57:56 +01:00
wiredfool
db4b41e78f Merge pull request #1875 from wiredfool/pr_1861
Disable-platform-guessing in setup.py
2016-05-03 19:53:09 +01:00
wiredfool
f573f71a6a Update CHANGES.rst [ci skip] 2016-05-03 19:51:13 +01:00
wiredfool
a0602fb68c Merge pull request #1882 from wiredfool/pr_1840
Fix Transparency for PNG images
2016-05-03 19:51:04 +01:00
wiredfool
b2800b57a7 spelling typos 2016-05-03 19:46:22 +01:00
Hugo
12bd44a6fb Merge pull request #1878 from radarhere/icc
Corrected filename
2016-05-03 13:31:33 +03:00
Andrew Murray
abdb848f08 Corrected filename [ci skip] 2016-05-03 19:23:51 +10:00
Andrew Murray
0b515ae3fa Added test for ImageTk _get_image_from_kw 2016-05-01 22:19:52 +10:00
Andrew Murray
d82935a2d9 Combined duplicate code in ImageTk 2016-05-01 20:55:12 +10:00
wiredfool
dd6de1adf1 Docs for disable-platform-guessing 2016-05-01 11:03:44 +01:00
wiredfool
d7f2698718 unnest disable-platform-guessing code 2016-05-01 10:57:50 +01:00
wiredfool
be11bd0afe Update CHANGES.rst [ci skip] 2016-05-01 10:33:17 +01:00
wiredfool
460480dfff Merge pull request #1847 from wiredfool/revert-1813-DIB_1293
Revert 1813, plus second commit with tweaks.
2016-05-01 10:31:59 +01:00
wiredfool
f5fb1d3aed Update CHANGES.rst [ci skip] 2016-05-01 10:22:56 +01:00
wiredfool
9f9436ca2f Merge pull request #1871 from wiredfool/pr_1865
Rebased #1865 + 1 test
2016-05-01 10:14:08 +01:00
wiredfool
bf12965833 Update CHANGES.rst [ci skip] 2016-04-29 21:28:57 +01:00
wiredfool
b3d78d7c36 Merge pull request #1864 from hdante/read-only-load
Make ImageFile load images in read-only mode
2016-04-29 21:26:13 +01:00
wiredfool
219182beda Removing all transparency from the test image 2016-04-29 21:17:18 +01:00
wiredfool
6f92a5adc0 Tests for LA mode looping through numpy 2016-04-29 21:03:24 +01:00
Pierrick Koch
cb42a9383c [Test] image array add LA mode test 2016-04-29 21:03:24 +01:00
Pierrick Koch
272588feca [PIL] Image add support _MODE_CONV LA mode 2016-04-29 21:03:24 +01:00
wiredfool
7722ee825d Update CHANGES.rst [ci skip] 2016-04-29 20:53:46 +01:00
wiredfool
c2a5dcf18a Merge pull request #1853 from radarhere/accept
Added _accept hook for XVThumbImagePlugin
2016-04-29 20:45:41 +01:00
wiredfool
300ca19a0e Merge pull request #1854 from hugovk/tga-rle
Test TGA RLE file
2016-04-29 20:44:32 +01:00
wiredfool
12bfb976bd Merge pull request #1855 from hugovk/tiff-lzw
Test TIFF with LZW compression
2016-04-29 20:43:10 +01:00
wiredfool
b852ce1255 Merge pull request #1863 from radarhere/spiderimageplugin
Improved SpiderImagePlugin help text
2016-04-29 20:41:03 +01:00
wiredfool
1c6ec82c89 Merge pull request #1870 from radarhere/texinfo
Updated Sphinx project description
2016-04-29 20:39:36 +01:00
Andrew Murray
a4782c7e79 Updated Sphinx project description 2016-04-29 22:58:06 +10:00
Hugo
11eb8ae95f Merge pull request #1869 from radarhere/contributing
Corrected link
2016-04-29 12:33:25 +03:00
Andrew Murray
8fa5f98171 Corrected link [ci skip] 2016-04-29 18:48:20 +10:00
Andrew Murray
e7ad128eb7 Merge pull request #1868 from hugovk/rtd.io
Update to RTD.io links
2016-04-28 19:24:17 +10:00
hugovk
11b8faa761 Update RTD links https://blog.readthedocs.com/securing-subdomains/ 2016-04-28 09:35:03 +03:00
Pierrick Koch
001bee40ab [PIL] Image add support fromarray LA mode
fix:

>>> img = np.zeros((40,40,2), 'uint8')
>>> Image.fromarray(img)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.7/dist-packages/PIL/Image.py", line 1929, in fromarray
    raise TypeError("Cannot handle this data type")
TypeError: Cannot handle this data type
2016-04-27 15:23:44 +02:00
Henrique Dante de Almeida
a7c58303ca Make ImageFile load images in read-only mode
The code path for mmapped files unnecessarily loaded images in
read-write mode and had a long standing FIXME message. This patch
uses mmap.ACCESS_READ, which is platform independent to fix this
issue.
2016-04-27 09:39:51 -03:00
Andrew Murray
dd4cb7fbd0 Improved SpiderImagePlugin help text 2016-04-27 22:28:46 +10:00
Angelo Compagnucci
ce2bb05a2b setup.py: add option to disable platform guessing
When cross-compiling (ex on Buildroot) platform guessing is not needed
cause the environment is correctly built externally.
This patch adds an option to disable platform guessing on Linux.
2016-04-25 17:03:36 +02:00
hugovk
839c52b96a flake8 2016-04-21 23:13:10 +03:00
hugovk
311f8f6a9c Test TIF with LZW compression 2016-04-21 23:10:08 +03:00
hugovk
272f11434d convert hopper.png -compress lzw hopper_lzw.tif 2016-04-21 23:09:23 +03:00
hugovk
31b05ce82c Test TGA RLE file 2016-04-21 17:49:35 +03:00
hugovk
ad299ea9e5 Source: https://samples.libav.org/image-samples/TGA/ 2016-04-21 17:49:25 +03:00
Hugo
72766b8f4e Update CHANGES.rst [CI skip] 2016-04-21 16:23:59 +03:00
Hugo
918ee1b831 Merge pull request #1851 from radarhere/python
Removed support for Python 3.0 from _imaging.c
2016-04-21 16:23:26 +03:00
Andrew Murray
53de1ba049 Added _accept hook for XVThumbImagePlugin 2016-04-21 21:40:54 +10:00
Andrew Murray
196b810d37 Removed support for Python 3.0 2016-04-21 18:28:56 +10:00
wiredfool
0507192a77 Comments for future people investigating alpha and DIBs 2016-04-19 20:36:25 +01:00
wiredfool
23a847c532 Fixes DIB image format
The DIB image format uses the 40 byte BMP header, followed by 3 masks
for RGB channels. We were reading 4 masks, consuming the first pixel
of the image.

Mostly fixes issue #1293. Remaining issue: alpha channel is actually a
transparency mask.
2016-04-19 20:17:36 +01:00
wiredfool
90955e4953 Updated Changes.rst [ci skip] 2016-04-19 16:49:55 +01:00
wiredfool
ae6c46ea92 Merge pull request #1814 from thebostik/jpeg-qtable-bounds
Valid range for baseline jpeg qtables 0 to 255
2016-04-19 16:48:03 +01:00