Alex Clark ☺
ae7edfa58d
Merge pull request #441 from wiredfool/lut
...
Image.point fixes for numpy.array and docs
2013-12-28 06:08:08 -08:00
Alex Clark ☺
ad47ea5a52
Merge pull request #424 from wiredfool/trns-write-bydefault2
...
Save the transparency header by default for PNGs
2013-12-28 05:57:45 -08:00
Alex Clark ☺
d48f301d57
Merge pull request #423 from wiredfool/trns-png
...
Support for PNG tRNS header when converting from RGB->RGBA
2013-12-28 05:56:03 -08:00
Alex Clark ☺
e4ae62ae59
Merge pull request #418 from wiredfool/AurelienBallier-master
...
PyQT5 Support
2013-12-28 05:50:49 -08:00
wiredfool
aa1c0fdfb6
merge from master
2013-12-19 20:48:49 -08:00
wiredfool
4791d156f1
Comments/Docs, fixes #440
2013-12-10 16:05:05 -08:00
wiredfool
d05b5d9060
Restore numpy.array as valid lookup tables
2013-12-10 15:47:26 -08:00
Alex Clark
404b245d89
Fix travis
2013-12-05 05:32:33 -05:00
wiredfool
543f96de61
Merge from master
2013-11-30 09:57:00 -08:00
Alex Clark ☺
666b2ce9e0
Merge pull request #398 from tmccombs/escape
...
Quote filenames and title before using on command line
2013-11-29 16:07:12 -08:00
Alex Clark ☺
e269fc6755
Merge pull request #399 from tmccombs/double
...
Closes #397 . Fixed Viewer.show to return properly.
2013-11-29 16:02:23 -08:00
Alex Clark ☺
eebb8c2a97
Merge pull request #408 from wiredfool/convert_doc
...
Image.convert mode 1 documentation update.
2013-11-29 15:15:23 -08:00
wiredfool
d65a2c8018
Save the transparency header by default for PNGs
2013-11-26 15:06:26 -08:00
wiredfool
0356741a29
Now using the rgbT2rgba conversion for L+transparency to RGBA, dropping the palette hack
2013-11-26 13:04:10 -08:00
wiredfool
c546c5a4c0
Added conversion for RGB+Transparency to RGBA that adds an alpha mask corresponding to the transparency value, fixes #421
2013-11-26 12:24:19 -08:00
wiredfool
94e3c75179
Merge from 12-bit-tiff
2013-11-21 21:41:54 -08:00
wiredfool
44e4d6b49d
Comments
2013-11-21 20:57:48 -08:00
wiredfool
16c95fc295
Flags to force libtiff read/write
2013-11-21 20:37:52 -08:00
wiredfool
65e3bfaf33
added generic libtiff en/decoder instead of each compression version
2013-11-21 20:37:52 -08:00
wiredfool
9d06fa74be
12 bit tiffs come out as 12 bits from libtiff
2013-11-21 20:37:30 -08:00
wiredfool
886b075526
Merge from master
2013-11-20 22:52:47 -08:00
wiredfool
dbecc1cb70
Fix for failing ImageQt with mode 'L' image
2013-11-20 22:20:13 -08:00
Aurélien Ballier
938323bd2b
Add Qt5 support.
2013-11-20 21:34:33 -08:00
wiredfool
e4fe6ae7a3
Read only implementation of 12bit tiffs
2013-11-20 16:56:23 -08:00
Esteban Santana Santana
8d27167fc7
More python3 fixes.
...
Changed the way the translate command that is passed to ghostscript is generated. This should now work on both python2.6+ and python3.
2013-11-20 02:54:31 -06:00
Esteban Santana Santana
3d1cd63afd
We need to write bytes not strings.
...
Python3 compatibility issue, we need to write bytes to buffers and pipes, not strings. This should still work in python2.6+.
2013-11-20 02:41:35 -06:00
Esteban Santana Santana
9cd654917d
Changed the Ghostscript() function inside of EpsImagePlugin to use subprocess.Popen() instead of the deprecated os.popen().
2013-11-20 01:32:06 -06:00
Esteban Santana Santana
7989378bfd
Added a way to specify the render size for EPS files.
...
There is now a scale parameter that you can pass in to the EpsImageFile.load() function. This parameter is used to specify at what scale Ghostscript renders the EPS internally. Scale needs to be an integer, and all of the internal structures (image size and bounding box) are scaled based on that parameter.
2013-11-17 01:26:44 -06:00
wiredfool
18ced74c06
Image.convert mode 1 documentation update. Fixes #407
2013-11-12 22:42:06 -08:00
David Schmidt
06301c9eba
don't create a new palette on Image._new if one already exists (i.e. after im.copy())
2013-11-12 14:41:35 +01:00
wiredfool
49191c78fb
CHECK: support for int arrays as ifd entries
2013-11-07 16:23:20 -08:00
wiredfool
d2f1fa0e5f
two additional tags for saving color images with libtiff
2013-11-05 20:49:09 -08:00
Thayne McCombs
840c7b9acb
Closes #397 . Fixed Viewer.show to return properly.
...
Viewer.show did not return a value, however ImageShow.show expected
Viewer.show to return a non-falsey value if successful. Therefor ImageShow.show
would continue to call multiple viewers.
2013-10-30 19:40:21 -06:00
Thayne McCombs
4da7c475ec
Quote filenames and title before using on command line
...
This commit quotes title and filename paramaters that are passed to the
command line when showing an image.
2013-10-30 19:29:15 -06:00
cgohlke
42b8ec37d7
Support RGBA TIFF with missing ExtraSamples tag
2013-10-26 18:02:17 -07:00
Alex Clark ☺
e3d85700b4
Merge pull request #390 from wiredfool/webp-lossless
...
Lossless WEBP Support
2013-10-24 03:08:24 -07:00
Alex Clark ☺
b57d68e993
Merge pull request #389 from wiredfool/libtiff-save
...
Take compression as an option in the save call for tiffs
2013-10-24 03:03:27 -07:00
Alex Clark ☺
06ba0ea757
Merge pull request #386 from liftoff/master
...
Add support for saving lossless WebP. Just pass 'lossless=True' to save()
2013-10-24 03:00:51 -07:00
wiredfool
63995459bc
merge from master
2013-10-22 16:18:06 -07:00
wiredfool
f8abb98ffd
Merge from master
2013-10-22 16:05:18 -07:00
wiredfool
2c1e800836
added new VP8 mode for lossless reading of RGBA, fixes failing tests
2013-10-22 12:44:09 -07:00
wiredfool
6a0516d2c9
final pass through atts: handling single rational tuple, using isStringType, flattening from single element tuple to string or int
2013-10-22 10:10:37 -07:00
wiredfool
8655209b4a
rm debugging print
2013-10-22 09:24:51 -07:00
wiredfool
32e2f97b21
Tag issues with libtiff -- Need to parse the tuples for the ifd and the im.ifd. getattr + default for the im.ifd instead of silent try/except
2013-10-22 09:18:41 -07:00
Eric Soroos
3128a76495
MM and II 16 bit integer tiffs pack/write properly using libtiff on bigendian platform
2013-10-21 22:37:20 +00:00
Eric Soroos
6f8d968cbb
MM and II 16 bit integer tiffs unpack properly using libtiff on bigendian platform
2013-10-21 22:17:33 +00:00
wiredfool
7ece94edc7
compression in encoder info
2013-10-21 09:30:06 -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
Eric Soroos
175c572432
I;16 images are little endian, not native endian
2013-10-19 03:28:31 +00: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