etienne
afc4a26e34
Fixed issue #857 . When saving a JPEG and specifying 'keep' for quality or subsampling, if the source JPEG image is in grayscale mode, don't try to find the subsampling of the source, because grayscale images don't have any subsampling (it's only for color components).
...
For the moment the fix also ignores subsampling of CMYK JPEG because currently Pillow doesn't support encoding JPEG in YCCK mode (and subsampling doesn't make sense in CMYK, but Pillow permits saving CMYK JPEG with subsampling, that's a bug). This fix pass those errors silently, i.e. it doesn't raise an error when 'keep' is used but it's not possible to keep the subsampling (because the image is grayscale or CMYK). I think it's the proper behavior but I'm not sure.
2014-09-02 14:49:24 -04:00
wiredfool
5d9107ee4c
Merge pull request #859 from hugovk/test_file_jpeg2k_tempfile
...
Use tempfile() instead of /tmp/
2014-08-20 09:34:59 -07:00
Hugo
75a5127506
Update CHANGES.rst [CI skip]
2014-08-20 10:00:38 +03:00
Hugo
9f7a382b02
Merge pull request #856 from megabuz/tgainfo
...
Fix TGA files with image ID field
2014-08-20 09:57:04 +03:00
Alexey Buzanov
5dd0d377c9
rename test
2014-08-20 10:39:11 +04:00
Alexey Buzanov
f94b6b4025
flake8 and tests
2014-08-20 10:32:06 +04:00
Hugo
8922104a09
Need 'temp_' or 'temp.' in filename
2014-08-20 00:36:29 +03:00
Hugo
7ff78e518d
Update CHANGES.rst [CI skip]
2014-08-20 00:23:49 +03:00
Hugo
74f45d4e12
Use tempfile() instead of /tmp/
2014-08-20 00:13:30 +03:00
wiredfool
56e3b6047a
Merge pull request #850 from hugovk/pyroma
...
Pyroma installation is slow on Py3, so just do it for Py2
2014-08-19 09:41:46 -07:00
wiredfool
cd092e1846
Update CHANGES.rst
2014-08-19 08:56:46 -07:00
wiredfool
2d634d3019
Bump Version/Changelog
2014-08-19 08:52:29 -07:00
wiredfool
347a1d8d95
J2k DOS fix -- CVE-2014-3598
...
Found and reported by Andrew Drake of dropbox.com
2014-08-19 08:25:40 -07:00
Hugo
3aa9326574
Merge pull request #843 from uvNikita/gif_mode_fix
...
Fixed wrong mode of gif image.
2014-08-19 17:50:49 +03:00
Alexey Buzanov
1bd4919a35
Fix tga files with image ID field
2014-08-19 17:53:51 +04:00
Alex Clark
735d45b175
Fix MANIFEST
...
include *.md
recursive-include Scripts *.sh
recursive-include Tests *.bw
recursive-include Tests *.cur
recursive-include Tests *.dcx
recursive-include Tests *.mpo
recursive-include Tests *.ras
recursive-include Tests *.rgb
recursive-include Tests *.sgi
2014-08-19 08:52:24 -04:00
Alex Clark ☺
e7a81164df
Merge pull request #854 from hugovk/changelog
...
Link to 2,505-line changelog instead of showing it all on PyPI
2014-08-19 08:40:09 -04:00
Nikita Uvarov
778768c9bc
Fixed test_optimize_full_l test case for python2.
2014-08-19 15:00:15 +03:00
Nikita Uvarov
78081a2498
Fixed test_optimize_full_l gif file test case.
2014-08-19 12:32:52 +03:00
Nikita Uvarov
9604cf814b
Added test case for gif image (mode L): optimization turned on, but not needed.
2014-08-19 12:24:44 +03:00
Hugo
b56043c036
Remove 2,505-line changelog from description
...
It made the PyPI listing page very long and requires a lot of scrolling to get down to the files, annoying for downstream packagers.
Instead it's linked from the README.
[CI skip]
2014-08-19 11:03:08 +03:00
Hugo
81e3379834
Link to CHANGES from README
...
And use absolute URLs for GitHub links so they work from PyPI.
[CI skip]
2014-08-19 10:53:31 +03:00
Hugo
30979d4dd4
Fix typo
2014-08-17 23:34:12 +03:00
Hugo
ce89d19691
No need to time now Travis has time tags
...
http://blog.travis-ci.com/2014-08-13-per-command-time-tags
2014-08-16 18:45:36 +03:00
Hugo
616d8cd4c0
Pyroma installation is slow on Py3, so just do it for Py2
2014-08-16 18:12:31 +03:00
Hugo
99cb19b671
Remove a rogue "=" from the end of a line
...
It wasn't there in the original PIL handbook: http://effbot.org/imagingbook/format-jpeg.htm
[CI skip]
2014-08-15 13:58:54 +03:00
wiredfool
e51b7ad7bf
Updated Changes.rst [ci skip]
...
formatting
2014-08-13 09:51:05 -07:00
wiredfool
2e26bd454f
Update Changes.rst [ci skip]
2014-08-13 09:49:50 -07:00
wiredfool
9cc0e47ec2
Merge pull request #845 from wiredfool/icns_cve
...
Icns DOS fix -- CVE-2014-3589
2014-08-13 09:45:42 -07:00
wiredfool
205e056f8f
Icns DOS fix -- CVE-2014-3589
...
Found and reported by Andrew Drake of dropbox.com
2014-08-13 09:25:11 -07:00
Hugo van Kemenade
cc6610e4f3
Detail test-installed.py
...
[CI skip]
2014-08-12 16:37:49 +03:00
Hugo van Kemenade
6eb00f605f
Update CHANGES.rst [CI skip]
2014-08-11 10:05:19 +03:00
Hugo van Kemenade
acd4f5f26f
Merge pull request #844 from divergentdave/patch-1
...
setup.py: Close open file handle before deleting
2014-08-11 09:49:26 +03:00
David Cook
3bde04b263
setup.py: Close open file handle before deleting
...
When installing Pillow onto a Vagrant virtual machine with Linux as the guest OS, and Windows as the host OS, setup.py fails with the error "Text file busy." The temporary installation directory is a shared folder from the host OS, mounted in the guest OS, and the underlying Windows file system doesn't allow deleting the "multiarch" temporary file while a file handle for it is still open. This change closes the file handle once it is no longer being used, but before the file itself is unlinked.
2014-08-11 01:14:07 -05:00
Hugo van Kemenade
ae641c3d0f
RST code formatting
...
[CI skip]
2014-08-08 13:54:14 +03:00
Hugo van Kemenade
884280d0e5
Update test instructions
...
[CI skip]
2014-08-08 13:51:06 +03:00
Nikita Uvarov
97e111d079
Fixed wrong mode of gif image.
...
In case of L mode and small image.
2014-08-07 16:23:08 +03:00
Hugo
408e7335b3
Link to testing guide [CI skip]
2014-08-05 12:35:27 +03:00
Hugo
368b1dce94
Link to contribution guide [CI skip]
2014-08-05 12:27:07 +03:00
Hugo
7113721ad0
Update CONTRIBUTING.md [CI skip]
2014-08-04 10:35:07 +03:00
Hugo
5c0395b933
Update CHANGES.rst [CI skip]
2014-08-04 10:16:15 +03:00
wiredfool
3ce164b594
Update contributing.md [ci skip]
2014-08-03 22:09:04 -07:00
wiredfool
2181ff906b
Update contributing.md [ci skip]
2014-08-03 22:05:32 -07:00
Hugo
3fa247fd7c
Merge pull request #837 from wiredfool/cms-profile
...
Return Profile with Transformed Images
2014-08-03 09:22:03 +03:00
wiredfool
6538d971e2
Docs for profile additions
2014-08-02 21:22:51 -07:00
Hugo
040af0b533
Merge pull request #836 from MatMoore/master
...
Changed docstring to refer to the correct function [CI skip]
2014-08-02 15:11:31 +03:00
Mat Moore
e5bceac912
Changed docstring to refer to the correct function
2014-08-02 12:17:57 +01:00
Hugo
0404353fb5
Merge pull request #833 from wiredfool/lcov-rb
...
Adding coverage support for C code tests
2014-08-01 23:25:21 +03:00
wiredfool
243b59930a
Updated Changes.rst [ci skip]
2014-08-01 10:12:47 -07:00
wiredfool
ed3016a08a
Merge pull request #832 from hugovk/IptcImagePlugin
...
Tests for IptcImagePlugin.py
2014-08-01 10:12:01 -07:00