Commit Graph

4636 Commits

Author SHA1 Message Date
rr-
0430a4a834 Fix libimagequant facade header 2016-05-21 21:11:54 +02:00
rr-
bc0e896b35 Change libimagequant facade signature 2016-05-21 21:01:57 +02:00
rr-
d471b35470 Fix typo 2016-05-06 23:29:53 +02:00
rr-
c5278000c5 Skip libimagequant's test if it's unavailable 2016-05-06 21:40:18 +02:00
rr-
8b7fb44c6b Make libimagequant visibility detectable 2016-05-06 21:06:54 +02:00
rr-
0b4a089321 Fix C99 errors inside libimagequant quantizer 2016-05-06 20:08:35 +02:00
rr-
0904eb3e27 Use specific version of libimagequant 2016-05-06 19:30:06 +02:00
rr-
749ecd634e Document libimagequant dependency 2016-05-06 19:29:44 +02:00
rr-
cb4ded4929 Minor fixes 2016-05-06 19:29:42 +02:00
rr-
4b260ac369 Install libimagequant for Travis build 2016-05-06 17:45:08 +02:00
rr-
eb354be7c4 Add method=Image.LIBIMAGEQUANT for quantize() 2016-05-05 21:39:16 +02: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
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
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