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
daniel
1f4e2a180b
Changed the use of the generic "Exception" to "NotImplementedError" in the deprecated functions.
2016-04-27 11:12:57 +03: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
Andrew Murray
af92d24837
Switched to more descriptive variable names
2016-04-20 06:20:41 +10:00
Andrew Murray
935ac523bf
Added OS X support for ImageGrab grabclipboard
2016-04-20 06:20:41 +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
wiredfool
faeb269e30
Revert "Fix for DIB/BMP images"
2016-04-19 16:37:29 +01:00
wiredfool
0fbadde580
Updated Changes.rst [ci skip]
2016-04-19 16:34:20 +01:00
wiredfool
562bd8519b
Merge pull request #1844 from wiredfool/docs_linkcheck
...
Fix Docs failures.
2016-04-19 16:33:59 +01:00
wiredfool
e2fb83f089
Updated Changes.rst [ci skip]
2016-04-19 16:32:51 +01:00
wiredfool
b521e28ab2
Merge pull request #1821 from radarhere/tifftags
...
Added TIFF Tags
2016-04-19 16:32:28 +01:00
wiredfool
c1be4486c1
Updated Changes.rst [ci skip]
2016-04-19 16:24:34 +01:00
wiredfool
43dda0c8da
Merge pull request #1841 from radarhere/exif
...
Added EXIF tags
2016-04-19 16:05:09 +01:00
wiredfool
4dfc0f905d
Merge pull request #1830 from radarhere/grammar
...
Minor grammar fix
2016-04-19 16:02:30 +01:00
wiredfool
8bacd05d5d
Merge pull request #1833 from radarhere/docs
...
Changed documentation to refer to ImageSequence Iterator
2016-04-19 16:02:03 +01:00
wiredfool
a2d25a4b6a
Merge pull request #1845 from wiredfool/pr_1842
...
Fix fedora depends
2016-04-19 16:00:19 +01:00
wiredfool
b178f5ff9b
libzip != zlib, in depends script as well
2016-04-19 07:56:23 -07:00
wiredfool
2eea8277da
Merge pull request #1843 from radarhere/pixar
...
Added _accept hook for PixarImagePlugin
2016-04-19 15:53:52 +01:00
wiredfool
bbd4337fbb
Updated OleFileIO doc links
2016-04-19 07:41:14 -07:00
wiredfool
1762bff3af
Fix warnings in docs, we're not using terms or keywords
2016-04-19 07:29:59 -07:00
wiredfool
c5a801b836
Allow linkcheck to fail
2016-04-19 07:29:33 -07:00
Andrew Murray
53197808f5
Added _accept hook for PixarImagePlugin
2016-04-19 20:59:32 +10:00
Daniel Harding
5877a4313b
Fix Fedora prerequisites [ci skip]
...
zlib-devel is needed, but not libzip-devel.
2016-04-19 11:34:44 +01:00
Andrew Murray
34c02e321d
Moved EXIF tag to be in hex order
2016-04-19 19:50:28 +10:00
Andrew Murray
521c7e9bdf
Added EXIF tags
2016-04-19 19:49:58 +10:00
Oliver Tonnhofer
eb0f400e02
extend documentation for PNG transparency
2016-04-19 10:21:54 +02:00
Oliver Tonnhofer
c773688f37
improve simple palette detection for PNG
...
- reverts change #1239 which could remove transparency from valid images
(see test_save_p_transparent_black test case)
- improves simple palette detection to handle images from #1238
2016-04-19 10:21:53 +02:00
Oliver Tonnhofer
0f8d66bc96
add failing test for #1838 ; extend tests for current transparency behavior
2016-04-19 10:21:48 +02:00
Andrew Murray
7938202a1b
Fixed length of title underline [ci skip]
2016-04-19 18:09:04 +10:00
Hugo
69b1a0e401
Merge pull request #1836 from radarhere/iptc
...
Removed unused test helper
2016-04-18 09:12:11 +03:00
Andrew Murray
ecd4d5a186
Removed unused test helper
2016-04-17 23:27:09 +10:00
Andrew Murray
ea3dcfda0c
Changed documentation to refer to ImageSequence Iterator class [ci skip]
2016-04-16 11:43:28 +10:00
Andrew Murray
89901e089c
Updated redirected URL
2016-04-16 01:09:46 +10:00
Andrew Murray
4737944197
Minor grammar fix
2016-04-14 00:08:44 +10:00
wiredfool
ac6e1ef949
Merge pull request #1829 from radarhere/typo
...
Fixed typo
2016-04-13 14:52:09 +01:00
Andrew Murray
435858afaa
Fixed typo
2016-04-13 17:33:33 +10:00