Commit Graph

2725 Commits

Author SHA1 Message Date
Hugo
675014b26a Public domain image of Grace Hopper: http://www.history.navy.mil/photos/images/h96000/h96919k.jpg 2014-09-03 22:44:02 +03:00
Hugo
afcb8980ed Update CHANGES.rst [CI skip] 2014-09-03 10:07:30 +03:00
Hugo
e09d7790a0 Merge pull request #885 from wiredfool/tiff-seek-rebase
Fix for reading multipage TIFFs
2014-09-03 10:06:15 +03:00
wiredfool
918c77e98a Py3.2 fix 2014-09-02 23:33:10 -07:00
wiredfool
81076d5f29 Don't copy input file for GS if not necessary, length variable name fix 2014-09-02 23:21:02 -07:00
wiredfool
6dc276599e test for all the different line ending characters 2014-09-02 23:20:50 -07:00
wiredfool
ee46f45b96 Remove unused code, tighten up readline for all the line endings 2014-09-02 23:20:41 -07:00
wiredfool
8f75cc2bbf Don't search for the imagedata if we're not going to do anything with it 2014-09-02 23:20:33 -07:00
wiredfool
9b35a4538d Read the offset using original fp
Read the rest of the text data using one of the line ending
wrappers.
2014-09-02 23:20:23 -07:00
wiredfool
e52152baad Test bytesio object 2014-09-02 23:20:16 -07:00
wiredfool
8193566ff1 Try to open the file in universal line ending mode, fallback to prev behavior 2014-09-02 23:20:05 -07:00
wiredfool
17ac15543d fp.tell resyncs the python3 with the file pointer 2014-09-02 15:20:25 -07:00
wiredfool
d8b2829f4b Partial fix for test failures, works on py2.x 2014-09-02 15:20:25 -07:00
wiredfool
3df822d1ef Testing the imagesequence module with the multipage tiffs 2014-09-02 15:20:25 -07:00
Kenny Ostrom
d5b4f136c5 added ifd offset to the tiff decoder args, call TIFFSetSubDirectory 2014-09-02 15:20:25 -07:00
wiredfool
99f7dd2aff Allocate a new core image object for each frame, fixes problems with reusing palettes and image sizes 2014-09-02 15:20:25 -07:00
wiredfool
9f04c2d0a5 Don't close fd for multipage files 2014-09-02 15:20:24 -07:00
wiredfool
b8bdd13aac Tests for multipage tiffs 2014-09-02 15:20:24 -07:00
Kenny Ostrom
f54bccab0e multipage tiff for iterator testing 2014-09-02 15:20:24 -07:00
wiredfool
c2835350a8 Update CHANGES.rst [ci skip] 2014-09-02 14:56:59 -07:00
etienne
416d8e340e 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:52:25 -07:00
wiredfool
a65351fcdf Updated Changes.rst [ci skip] 2014-09-02 14:38:27 -07:00
wiredfool
86d5d8abed Merge pull request #882 from hugovk/effects
Tests and access functions for Effects.c
2014-09-02 14:36:24 -07:00
wiredfool
de088a1ad9 Merge pull request #879 from hugovk/install
Fail fast: install stuff on Travis only when needed
2014-09-02 14:34:05 -07:00
wiredfool
f6caaa1c9f Merge pull request #875 from hugovk/tifftags
Correct duplicate EXIF and TIFF tags
2014-09-02 14:32:47 -07:00
wiredfool
e9542bb1e4 Merge pull request #874 from hugovk/GimpGradientFile
Tests for GimpGradientFile
2014-09-02 14:30:38 -07:00
hugovk
3a9612af50 Test mandelbrot with bad arguments 2014-09-02 16:39:35 +03:00
hugovk
ed85a03db0 An epsilon of 80 should do it, getting ~79.5 on Travis 2014-09-02 16:12:23 +03:00
hugovk
b9303b454f Test image was generated on Windows and matches on Windows, but not on Travis (Linux). Check for similar. 2014-09-02 16:00:43 +03:00
hugovk
bcc5305125 Add access functions for ImagingEffectSpread with a test 2014-09-02 15:53:58 +03:00
hugovk
8c96d38ce9 Add access functions for ImagingEffectMandelbrot with a test 2014-09-02 15:14:00 +03:00
hugovk
76ef83263b Remove unreachable and never completed Perlin turbulence code 2014-09-02 14:47:34 +03:00
hugovk
d3242a5124 test_effect_noise stalls on Travis, skip unless Windows 2014-09-02 14:45:54 +03:00
hugovk
860e67e1c4 Add access functions for ImagingEffectNoise with a test 2014-09-02 14:11:08 +03:00
hugovk
339a63ed69 Fail fast: move installation stuff that's not needed in the script: section closer to where it's needed. This saves time by avoiding it when a test fails. 2014-08-29 16:03:58 +03:00
hugovk
99a3a00c24 Also pep8/pyflakes *.py in parent dir 2014-08-28 17:23:39 +03:00
hugovk
42610c0ecd flake8 2014-08-28 17:18:54 +03:00
hugovk
1335006cd7 flake8 2014-08-28 14:44:19 +03:00
hugovk
c2f0903627 Correct the correction: RelatedImageWidth=0x1001, RelatedImageLength=0x1002 2014-08-27 11:06:34 +03:00
hugovk
a428321bee flake8 2014-08-27 10:57:40 +03:00
hugovk
d866a29bd8 Correct duplicate EXIF tags: http://www.exiv2.org/tags.html 2014-08-27 10:46:34 +03:00
wiredfool
8b2e7ee48a Additional dependencies [ci skip] 2014-08-26 14:48:17 -07:00
Hugo
72909aac4e Merge pull request #872 from wiredfool/test_libtiff_inheritance
Refactor inheritance tree of test_file_libtiff_small
2014-08-26 21:12:41 +03:00
wiredfool
3e361d800d Refactor inheritance tree of test_file_libtiff_small 2014-08-26 09:58:23 -07:00
wiredfool
0c94adc538 Merge pull request #864 from hugovk/make-j
Update WebP and build it and OpenJPEG with 4 job slots
2014-08-26 08:43:52 -07:00
hugovk
8de95676e0 flake8 2014-08-26 16:47:10 +03:00
hugovk
ec2a225fff flake8 2014-08-26 15:52:37 +03:00
hugovk
952d1d5bf5 Remove duplicate tag caused by typo in spec: http://www.asmail.be/msg0055321032.html 2014-08-26 15:51:37 +03:00
hugovk
998955b024 Fix for Python 3 2014-08-26 12:23:12 +03:00
hugovk
0a3b25ef9e Test GimpGradientFile.sine() 2014-08-26 12:21:08 +03:00