Commit Graph

1226 Commits

Author SHA1 Message Date
wiredfool
543f96de61 Merge from master 2013-11-30 09:57:00 -08:00
Alex Clark
0365344fe6 Add history 2013-11-29 19:07:47 -05: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
613b824630 Add history 2013-11-29 19:03:12 -05: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
258e7fe841 Add history 2013-11-29 18:16:43 -05:00
Alex Clark ☺
07bdb286a8 Merge pull request #409 from wiredfool/plugin_doc
Docs: Noted import change for Image Plugins. Fixes #404, plugin not foun...
2013-11-29 15:16:06 -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
Alex Clark
417af4f142 Add history 2013-11-29 18:08:53 -05:00
Alex Clark ☺
7be41975d9 Merge pull request #429 from cezarsa/master
Fixed memory leak saving images as webp when webpmux is available
2013-11-29 15:08:07 -08:00
Cezar Sa Espinola
2729401cc3 Fixed memory leak saving images as webp when webpmux is available 2013-11-29 14:33:57 -02:00
Alex Clark
e3ee9882ae Add history 2013-11-28 08:26:52 -05:00
Alex Clark ☺
fa7f9aa6d5 Merge pull request #427 from stromnov/master
fix compiling with FreeType 2.5.1
2013-11-28 05:09:10 -08:00
Andrew Stromnov
c6040f618d fix compiling with FreeType 2.5.1 2013-11-28 16:58:43 +04:00
wiredfool
b47cecfe9f Merge pull request #412 from MentalPower/master
Added a way to specify the render size for EPS files.
2013-11-20 20:17:44 -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
64e53de5c9 Another typo. 2013-11-20 02:25:50 -06:00
Esteban Santana Santana
155239cbc3 Copy paste issue on that last commit. 2013-11-20 02:22:04 -06:00
Esteban Santana Santana
7797633d7a Loosened testing rigor for EPS files.
Due to differences in rendering between platforms (mainly antialiasing), we had to lower the rigor with which we test our EPS handling. Instead of making the test fail if the rendered image does not exactly match, we now only fail if the images are grossly divergent.
2013-11-20 02:14:29 -06:00
Esteban Santana Santana
c6c32804d0 Added ghostscript dependency.
Travis needs a list of packages to install and we need the ghostscript package to successfully run our EPS test suite.
2013-11-20 01:44:38 -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
16a0a640f2 Added documentation for the newly added scale argument to EPS’s load() function. 2013-11-20 01:14:51 -06:00
Esteban Santana Santana
582d54d055 Test harness for EPS files.
We now have a test harness for EPS files. Two variants were created one for the default scale=1 and one where scale=2. These two tests are run against two different EPS files, one with zero for the start of the bounding box and one where this is not the case. PNG test renders are used to make sure the output match what we expect. Lastly the sample EPS files were generated using the included create_eps.gnuplot file and the gnuplot program on a Mac.
2013-11-20 00:43:10 -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
Alex Clark
f44f4efb68 Add history 2013-11-14 08:08:50 -05:00
Alex Clark ☺
9139427757 Merge pull request #411 from deepy/master
Adds directories for NetBSD.
2013-11-14 05:07:56 -08:00
Alexander Nordlund
4ab7c2a782 Adds directories for NetBSD. 2013-11-14 12:10:19 +00:00
wiredfool
16dac77847 Docs: Noted import change for Image Plugins. Fixes #404, plugin not found 2013-11-12 23:08:47 -08:00
wiredfool
18ced74c06 Image.convert mode 1 documentation update. Fixes #407 2013-11-12 22:42:06 -08:00
wiredfool
b4cf30f7fa Merge pull request #406 from wiredfool/gif-save
Roundtrip tests for saving Gifs
2013-11-12 11:21:00 -08:00
wiredfool
5f7ce4468a Merge pull request #405 from d-schmidt/master
don't create a new palette on Image._new if one already exists
2013-11-12 11:19:49 -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
dd93820b74 Failing test for #403 2013-11-07 16:39:57 -08:00
wiredfool
b4aa0429aa successful roundtrip test 2013-11-07 16:39:36 -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
Alex Clark
ac25dab915 Add history [ci skip] 2013-10-27 07:28:02 -04:00
Alex Clark ☺
f22ba9d8db Merge pull request #393 from cgohlke/patch-1
Support RGBA TIFF with missing ExtraSamples tag
2013-10-27 04:27:16 -07:00
cgohlke
42b8ec37d7 Support RGBA TIFF with missing ExtraSamples tag 2013-10-26 18:02:17 -07:00
Alex Clark
b9b45c1ba5 Add history [ci skip] 2013-10-24 06:08:53 -04: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
3aa703a9fa Add history [ci skip] 2013-10-24 06:07:57 -04: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
46d33257ef Merge branch 'master' of github.com:python-imaging/Pillow 2013-10-24 06:02:29 -04:00
Alex Clark
ebec232662 Add history [ci skip] 2013-10-24 06:02:23 -04: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
388c25b781 PhotometricInterpretation is set from SAVE_INFO, not the original image, so spurious test failure. 2013-10-23 20:50:01 -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