Pillow/PIL
Matthew Brett 824a0c232c BF: fix conversion of bit images to numpy arrays
Numpy cannot form arrays from bits.  To convert bit images to numpy,
convert bits to bytes.

From suggestion by Alexander Karpinsky, with thanks.

Fixes gh-350.
2016-08-17 18:47:14 -07:00
..
__init__.py Expose Pillow package version as PIL.__version__ 2016-07-15 11:00:55 +03:00
_binary.py remove end of file banner from all files 2016-07-10 14:11:28 +03:00
_tkinter_finder.py RF: try finding tkinter in Python rather than C 2016-05-30 12:51:28 -07:00
_util.py flake8 2014-07-06 01:50:24 +03:00
BdfFontFile.py Commented or removed unused lines 2015-11-09 23:34:34 +11:00
BmpImagePlugin.py Comments for future people investigating alpha and DIBs 2016-04-19 20:36:25 +01:00
BufrStubImagePlugin.py flake8 2014-08-26 16:47:10 +03:00
ContainerIO.py Replaced old-style classes 2015-05-27 00:07:21 +10:00
CurImagePlugin.py Throw TypeError if no cursors were found in .cur file 2015-11-26 19:56:41 +11:00
DcxImagePlugin.py Flake8 fixes 2015-08-25 22:27:18 +10:00
DdsImagePlugin.py Health fixes 2016-04-01 21:49:30 +11:00
EpsImagePlugin.py Added CMYK mode for opening EPS files 2016-04-13 18:27:46 +10:00
ExifTags.py Moved EXIF tag to be in hex order 2016-04-19 19:50:28 +10:00
features.py Changed module and codec names 2015-05-14 20:57:01 +10:00
FitsStubImagePlugin.py Various Flake8 fixes 2015-04-24 09:26:52 +10:00
FliImagePlugin.py Flake8 fixes 2015-08-25 22:27:18 +10:00
FontFile.py remove end of file banner from all files 2016-07-10 14:11:28 +03:00
FpxImagePlugin.py Changed register calls to use format property 2015-12-25 14:15:01 +11:00
FtexImagePlugin.py Health fixes 2016-04-01 21:49:30 +11:00
GbrImagePlugin.py Fixed typo 2016-04-13 17:33:33 +10:00
GdImageFile.py Flake8 fixes 2015-08-25 22:27:18 +10:00
GifImagePlugin.py Added support for GIF comment extension 2016-05-07 13:57:40 +10:00
GimpGradientFile.py Replaced old-style classes 2015-05-27 00:07:21 +10:00
GimpPaletteFile.py Replaced old-style classes 2015-05-27 00:07:21 +10:00
GribStubImagePlugin.py flake8 2014-08-26 16:47:10 +03:00
Hdf5StubImagePlugin.py flake8 2014-08-26 16:47:10 +03:00
IcnsImagePlugin.py Improved consistency of checks for flush 2015-09-02 23:48:22 +10:00
IcoImagePlugin.py Updated redirect URL 2016-02-22 18:38:04 +11:00
Image.py BF: fix conversion of bit images to numpy arrays 2016-08-17 18:47:14 -07:00
ImageChops.py Remove old ImageChops comments; redundant with docstrings 2013-10-11 22:46:57 -07:00
ImageCms.py remove end of file banner from all files 2016-07-10 14:11:28 +03:00
ImageColor.py Added new colour from CSS 4 draft 2016-06-17 21:07:25 +10:00
ImageDraw.py Merge pull request #2012 from uploadcare/endless-files 2016-07-11 14:15:02 +04:00
ImageDraw2.py Replaced old-style classes 2015-05-27 00:07:21 +10:00
ImageEnhance.py Fixed typo in ImageEnhance.py 2015-05-28 17:20:33 +10:00
ImageFile.py return values 2016-06-27 00:58:06 -07:00
ImageFilter.py Fixed redefinition of built-in 2015-04-24 16:02:39 +10:00
ImageFont.py remove end of file banner from all files 2016-07-10 14:11:28 +03:00
ImageGrab.py Switched to more descriptive variable names 2016-04-20 06:20:41 +10:00
ImageMath.py remove end of file banner from all files 2016-07-10 14:11:28 +03:00
ImageMode.py remove end of file banner from all files 2016-07-10 14:11:28 +03:00
ImageMorph.py remove end of file banner from all files 2016-07-10 14:11:28 +03:00
ImageOps.py patch : image copy 2016-07-11 12:18:07 +02:00
ImagePalette.py Merge pull request #1832 from radarhere/imagepalette 2016-06-29 22:50:39 +01:00
ImagePath.py remove end of file banner from all files 2016-07-10 14:11:28 +03:00
ImageQt.py Catch RuntimeError when importing Qt4 2016-06-22 11:25:59 +03:00
ImageSequence.py Merge pull request #1686 from radarhere/seek 2016-01-31 09:08:09 -08:00
ImageShow.py Merge pull request #2012 from uploadcare/endless-files 2016-07-11 14:15:02 +04:00
ImageStat.py Replaced old-style classes 2015-05-27 00:07:21 +10:00
ImageTk.py remove end of file banner from all files 2016-07-10 14:11:28 +03:00
ImageTransform.py Merge pull request #2012 from uploadcare/endless-files 2016-07-11 14:15:02 +04:00
ImageWin.py remove end of file banner from all files 2016-07-10 14:11:28 +03:00
ImImagePlugin.py Flake8 fixes 2015-08-25 22:27:18 +10:00
ImtImagePlugin.py Changed register calls to use format property 2015-12-25 14:15:01 +11:00
IptcImagePlugin.py Specified exception type 2015-12-02 16:23:49 +11:00
Jpeg2KImagePlugin.py Initial take for removing the Incremental decoder due to threading issues. J2k tests pass, other tests fail 2016-06-27 00:58:05 -07:00
JpegImagePlugin.py Skip extra 0xff00 in jpeg 2016-06-22 13:36:23 -07:00
JpegPresets.py Changed no longer found URL to archive URL 2016-02-28 22:36:35 +11:00
McIdasImagePlugin.py Changed register calls to use format property 2015-12-25 14:15:01 +11:00
MicImagePlugin.py Flake8 fixes 2015-08-25 22:27:18 +10:00
MpegImagePlugin.py Flake8 fixes 2015-08-25 22:27:18 +10:00
MpoImagePlugin.py Flake8 fixes 2015-08-25 22:27:18 +10:00
MspImagePlugin.py Flake8 fixes 2015-08-25 22:27:18 +10:00
OleFileIO-README.md Updated PIL license in OleFILEIO README [ci skip] 2016-03-29 20:01:39 +11:00
OleFileIO.py Updated OleFileIO doc links 2016-04-19 07:41:14 -07:00
PaletteFile.py Replaced old-style classes 2015-05-27 00:07:21 +10:00
PalmImagePlugin.py Improved consistency of checks for flush 2015-09-02 23:48:22 +10:00
PcdImagePlugin.py Flake8 fixes 2015-08-25 22:27:18 +10:00
PcfFontFile.py Removed or commented unused variables 2015-04-24 16:02:38 +10:00
PcxImagePlugin.py Changed register calls to use format property 2015-07-04 23:29:58 +10:00
PdfImagePlugin.py Merge pull request #1398 from mrTable/master 2015-10-01 07:54:26 -07:00
PixarImagePlugin.py Added _accept hook for PixarImagePlugin 2016-04-19 20:59:32 +10:00
PngImagePlugin.py Merge pull request #1991 from kkopachev/png-crc-error-ignore 2016-06-30 17:25:04 +04:00
PpmImagePlugin.py Fixed infinite loop on truncated file 2015-08-29 02:05:08 +10:00
PsdImagePlugin.py Changed register calls to use format property 2015-07-04 23:29:58 +10:00
PSDraw.py Fixed PSDraw stdout Python 3 compatibility 2015-07-31 20:59:59 +10:00
PyAccess.py remove end of file banner from all files 2016-07-10 14:11:28 +03:00
SgiImagePlugin.py remove end of file banner from all files 2016-07-10 14:11:28 +03:00
SpiderImagePlugin.py Changed SpiderImagePlugin register and save calls to use format property 2016-06-19 15:13:02 +10:00
SunImagePlugin.py unused imports 2015-09-15 04:04:27 +03:00
TarIO.py flake8 2014-08-26 16:47:10 +03:00
TgaImagePlugin.py unused imports 2015-09-15 04:04:27 +03:00
TiffImagePlugin.py API change/revert: Bytes should be returned as a single byte string, not a tuple of integers 2016-06-26 12:06:56 +01:00
TiffTags.py Fixed enums for Resolution Unit and Predictor 2016-06-30 08:31:36 -07:00
WalImageFile.py Merge pull request #1580 from hugovk/linkcheck 2015-12-14 20:49:12 +00:00
WebPImagePlugin.py Changed register calls to use format property 2015-07-04 23:29:58 +10:00
WmfImagePlugin.py Flake8 fixes 2015-08-25 22:27:18 +10:00
XbmImagePlugin.py Flake8 fixes 2015-08-25 22:27:18 +10:00
XpmImagePlugin.py Flake8 fixes 2015-08-25 22:27:18 +10:00
XVThumbImagePlugin.py Added _accept hook for XVThumbImagePlugin 2016-04-21 21:40:54 +10:00