Commit Graph

1652 Commits

Author SHA1 Message Date
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
d65a2c8018 Save the transparency header by default for PNGs 2013-11-26 15:06:26 -08:00
wiredfool
e06600d176 Docs: saving RGB+transparency works 2013-11-26 14:51:07 -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
e12528fb62 dyslexic typo 2013-11-26 12:22:09 -08:00
wiredfool
e60b871b92 whitespace 2013-11-26 12:21:50 -08:00
wiredfool
c6cfd02f8f more consistent 4space indent 2013-11-25 16:25:06 -08:00
nikmolnar
d030b4f48a Added a test for issue #421 2013-11-22 16:04:51 -08:00
wiredfool
c82bfd30cf cleanup temp file 2013-11-21 22:15:34 -08:00
wiredfool
6bd51e053b disabling bw compression test due to stderr pollution from libtiff 2013-11-21 22:14:29 -08:00
wiredfool
60c93ce1b1 Testing default pil implemented compressions with libtiff 2013-11-21 22:13:57 -08:00
wiredfool
94e3c75179 Merge from 12-bit-tiff 2013-11-21 21:41:54 -08:00
wiredfool
3d31bf394b removing libtiff compression based decoder names 2013-11-21 21:10:17 -08:00
wiredfool
44e4d6b49d Comments 2013-11-21 20:57:48 -08:00
wiredfool
019074670b Test for 12bit image using libtiff 2013-11-21 20:37:52 -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
42c17c5947 Removing unused, redundant compression variable. Actual compression setting is in the imagefiledirectory 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
1e41f2dad9 Skip ghostscript test when it's not executable 2013-11-21 14:32:18 -08:00
wiredfool
886b075526 Merge from master 2013-11-20 22:52:47 -08:00
wiredfool
661e3108f2 testing pyqt4 on travis 2013-11-20 22:44:00 -08:00
wiredfool
b0b7c1acb5 removed debugging prints 2013-11-20 22:43:39 -08:00
wiredfool
8550570187 Qt5 Documentation 2013-11-20 22:23:26 -08:00
wiredfool
dbecc1cb70 Fix for failing ImageQt with mode 'L' image 2013-11-20 22:20:13 -08:00
wiredfool
29fb4523d5 tests for imageqt4/5 2013-11-20 22:19:28 -08:00
Aurélien Ballier
938323bd2b Add Qt5 support. 2013-11-20 21:34:33 -08: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
wiredfool
cc5e8f0f6d Comments
Fixes #414
2013-11-20 17:03:46 -08:00
wiredfool
e4fe6ae7a3 Read only implementation of 12bit tiffs 2013-11-20 16:56:23 -08:00
wiredfool
b73ae9c27a Tests for 12bit tiff rawmode 2013-11-20 16:54:49 -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
wiredfool
0ffc1a848a Renamed test tiff files to 16bit*. They are 12bit data in a 16bit format 2013-11-19 14:48:01 -08: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