wiredfool
27b1054b77
Tests for writing lossless RGB and RGBA images
2013-10-22 12:32:31 -07:00
wiredfool
5c501b8f64
Webp save documentation
2013-10-22 12:32:01 -07:00
wiredfool
a18ef74886
pass bool flag as int, not object
2013-10-20 20:54:12 -07:00
Dan McDougall
0a91541df8
Add support for saving lossless WebP. Just pass 'lossless=True' to save().
2013-10-20 15:44:22 -04:00
wiredfool
a803528c8a
Merge pull request #383 from hugovk/master
...
Fix for issue #382 : TypeError with TransposedFont's getsize()
2013-10-17 09:28:48 -07:00
hugovk
92507e5d0a
Fix issue #382 : TypeError with TransposedFont's getsize()
...
When getting the size of text with a TransposedFont it was failing:
File "/usr/local/lib/python2.7/site-packages/PIL/ImageDraw.py", line 281, in textsize
return font.getsize(text)
File "/usr/local/lib/python2.7/site-packages/PIL/ImageFont.py", line 189, in getsize
w, h = self.font.getsize(text)[0]
TypeError: 'int' object is not iterable
This is because self.font.getsize(text) returns a (w, h) tuple. To fix, remove the [0].
Test cases have been created in test_imagefont.py:
test_rotated_transposed_font()
test_unrotated_transposed_font()
Both fail before the fix, both pass with the fix. Furthermore, the code I'm using this from ( https://github.com/mattdeboard/word_cloud ) now works as expected and creates a word cloud similar to the ones that PIL created.
2013-10-17 19:00:42 +03:00
hugovk
c91bd27eec
Add tests for rotated and non-rotated transposed font
...
Check the box size of an ImageFont.TransposedFont matches that of the original ImageFont.
2013-10-17 17:36:38 +03:00
Alex Clark
f1e7b0bf0f
Add history [ci skip]
2013-10-16 12:10:54 -04:00
Alex Clark ☺
55a0792815
Merge pull request #380 from wiredfool/lcms2
...
LCMS1 replaced with LCMS2
2013-10-16 09:09:15 -07:00
Alex Clark
646364d05b
Add history [ci skip]
2013-10-16 06:11:00 -04:00
wiredfool
e83455d0e5
Merge pull request #379 from svanheulen/master
...
Added more raw decoder 16 bit pixel formats
2013-10-15 22:08:44 -07:00
wiredfool
deb424c5cd
working tests for LAB color conversions using ImagingCMS
2013-10-15 22:06:30 -07:00
wiredfool
bde4613843
format including the padding byte
2013-10-15 22:06:30 -07:00
wiredfool
1865a5c438
Shifting the midpoint of the ab channels to 128. unshifting back to signed int on pack
2013-10-15 22:06:30 -07:00
Seth VanHeulen
89b2653135
Added tests for new 16 bit raw unpackers
2013-10-15 14:10:11 -04:00
Seth VanHeulen
fc474a7b6f
Added more raw decoder 16 bit pixel formats
2013-10-15 11:35:53 -04:00
Alex Clark
6f09474b6c
Wording [ci skip]
2013-10-15 08:58:40 -04:00
Alex Clark
4ea4abe57d
Don't duplicate info
2013-10-15 08:58:05 -04:00
Alex Clark
238c5b99fb
Wording [ci skip]
2013-10-15 08:53:58 -04:00
Alex Clark
e0e4c4d52c
Shuffle
2013-10-15 08:51:15 -04:00
Alex Clark
a556a46f52
Shuffle and reclassify
2013-10-15 08:48:52 -04:00
Alex Clark
08ac59e33c
Move warnings to docs
2013-10-15 08:47:10 -04:00
Alex Clark
539f1463cc
Make notes more prominent
2013-10-15 08:44:46 -04:00
wiredfool
4458787f5e
Back to RGBx format, 3 bands in 4 bytes. Tests for internal consistency
2013-10-14 22:47:27 -07:00
Alex Clark ☺
54ff76ae09
Merge pull request #378 from d-schmidt/patch-2
...
Update installation.rst
2013-10-14 03:11:28 -07:00
Alex Clark
b905ee8ba5
Add history [ci skip]
2013-10-14 06:10:58 -04:00
Alex Clark ☺
4ed588294f
Merge pull request #377 from irskep/doc-improvements
...
Document remaining Image* modules listed in PIL handbook
2013-10-14 03:01:00 -07:00
David Schmidt
18e2f3fff6
Update installation.rst
...
win7
2013-10-14 11:54:18 +02:00
Stephen Johnson
c3de637362
Fully document PIL.PSDraw
2013-10-13 22:30:00 -07:00
Stephen Johnson
7030e50b36
Fully document PIL.ImageWin
2013-10-13 22:19:12 -07:00
Stephen Johnson
4b4f090258
Fully document PIL.ImageTk
2013-10-13 22:09:02 -07:00
Stephen Johnson
81ea5c35cb
Fully document PIL.ImageStat
2013-10-13 21:57:07 -07:00
Stephen Johnson
f284c194ca
Fully document PIL.ImageSequence
2013-10-13 21:49:35 -07:00
Stephen Johnson
1a72ba260a
Fully document PIL.ImageQt
2013-10-13 21:45:44 -07:00
Stephen Johnson
6566a73bcf
Fully document PIL.ImagePath
2013-10-13 21:41:21 -07:00
Stephen Johnson
7881c86bba
Document PIL.ImagePalette as best I can
2013-10-13 21:27:07 -07:00
Alex Clark
58e6d89f80
Add history [ci skip]
2013-10-13 13:05:01 -04:00
Alex Clark ☺
4ea303af6f
Merge pull request #375 from irskep/doc-improvements
...
Document ImageEnhance, ImageFile, ImageFilter, ImageFont, ImageGrab, ImageMath, and ImageOps
2013-10-13 10:04:12 -07:00
Stephen Johnson
0f3f6dd1a3
Move ImageGrab docs back to ImageGrab.rst instead of autodoc
2013-10-13 09:56:58 -07:00
Stephen Johnson
fdc48cba6f
Update PIL.rst to remove documented modules
2013-10-12 22:20:41 -07:00
Stephen Johnson
20b9d9774a
Fully document PIL.ImageOps; fix some :py:mod: markup
2013-10-12 22:17:45 -07:00
Stephen Johnson
e2d88b5a51
Fully document ImageMath
2013-10-12 17:40:14 -07:00
Stephen Johnson
cf7b72f9b9
Fully document PIL.ImageGrab
2013-10-12 17:22:02 -07:00
Stephen Johnson
bc0f53aceb
Fully document PIL.ImageFont
2013-10-12 17:14:12 -07:00
Stephen Johnson
a2c67dc3af
Fully document PIL.ImageFilter
2013-10-12 16:49:32 -07:00
Stephen Johnson
11cd6a9150
Comments identifying modules to skip documenting
2013-10-12 13:58:53 -07:00
Stephen Johnson
348daf9490
Document ImageFile.Parser
2013-10-12 13:57:27 -07:00
Stephen Johnson
b98c3f05cd
Fix a couple of example imports
2013-10-12 13:53:31 -07:00
Stephen Johnson
f2be739fdf
Fully document PIL.ImageEnhance
2013-10-12 13:48:34 -07:00
Alex Clark
ceb325eb07
Add history [ci skip]
2013-10-12 05:44:53 -04:00