homm
f44a7f8b11
implement round
...
fix windows build
2016-05-26 02:07:56 +03:00
homm
e47002dec3
tests for 32bit modes
2016-05-26 02:07:56 +03:00
homm
9618ec98b8
test for consistency
2016-05-26 02:07:56 +03:00
Alexander Karpinsky
73c81404e6
Merge pull request #1920 from uploadcare/resampling-accuracy-tests
...
Tests for resampling accuracy
2016-05-26 02:05:15 +03:00
wiredfool
5839c3b9d1
Merge pull request #1921 from thebostik/decode_jpeg_qtable
...
More fixes related to custom jpeg qtables
2016-05-24 09:51:46 +01:00
wiredfool
1eedd2ef15
Merge pull request #1896 from radarhere/comment
...
Added support for GIF comment extension
2016-05-23 22:32:52 +01:00
Stephen Arthur
7872501c5b
Added test cases to exhibit issues with custom qtables
2016-05-22 17:54:03 -07:00
homm
39fcd80b2e
tests for resample accuracy
2016-05-21 23:58:54 +03:00
homm
1a6c6b1250
tests for icc profile in png
2016-05-12 20:31:54 +03:00
Andrew Murray
6de51536c4
Replaced mixed tabs and spaces with spaces
2016-05-10 22:23:23 +10:00
Andrew Murray
63ae7fbfe9
Removed unnecessary lambdas
2016-05-10 22:20:49 +10:00
Andrew Murray
8298fcce73
Added support for GIF comment extension
2016-05-07 13:57:40 +10:00
rr-
d471b35470
Fix typo
2016-05-06 23:29:53 +02:00
rr-
c5278000c5
Skip libimagequant's test if it's unavailable
2016-05-06 21:40:18 +02:00
wiredfool
9a4f6482b4
Merge pull request #1893 from wiredfool/tiff_check
...
Skip tests that require libtiff if it is not installed, fixes #1866
2016-05-06 17:19:54 +01:00
wiredfool
be2100be7b
Skip tests that require libtiff if it is not installed, fixes #1866
2016-05-06 09:07:00 -07:00
wiredfool
3926bfb747
Skip test when icc profile is not available, fixes #1887
2016-05-06 08:58:40 -07:00
rr-
eb354be7c4
Add method=Image.LIBIMAGEQUANT for quantize()
2016-05-05 21:39:16 +02:00
wiredfool
42f7a08ca4
Merge pull request #1856 from radarhere/eafp
...
Combined duplicate code in ImageTk
2016-05-03 21:02:08 +01:00
wiredfool
a0602fb68c
Merge pull request #1882 from wiredfool/pr_1840
...
Fix Transparency for PNG images
2016-05-03 19:51:04 +01:00
wiredfool
b2800b57a7
spelling typos
2016-05-03 19:46:22 +01:00
Andrew Murray
abdb848f08
Corrected filename [ci skip]
2016-05-03 19:23:51 +10:00
Andrew Murray
0b515ae3fa
Added test for ImageTk _get_image_from_kw
2016-05-01 22:19:52 +10:00
wiredfool
460480dfff
Merge pull request #1847 from wiredfool/revert-1813-DIB_1293
...
Revert 1813, plus second commit with tweaks.
2016-05-01 10:31:59 +01:00
wiredfool
9f9436ca2f
Merge pull request #1871 from wiredfool/pr_1865
...
Rebased #1865 + 1 test
2016-05-01 10:14:08 +01:00
wiredfool
219182beda
Removing all transparency from the test image
2016-04-29 21:17:18 +01:00
wiredfool
6f92a5adc0
Tests for LA mode looping through numpy
2016-04-29 21:03:24 +01:00
Pierrick Koch
cb42a9383c
[Test] image array add LA mode test
2016-04-29 21:03:24 +01:00
wiredfool
300ca19a0e
Merge pull request #1854 from hugovk/tga-rle
...
Test TGA RLE file
2016-04-29 20:44:32 +01:00
wiredfool
12bfb976bd
Merge pull request #1855 from hugovk/tiff-lzw
...
Test TIFF with LZW compression
2016-04-29 20:43:10 +01:00
hugovk
11b8faa761
Update RTD links https://blog.readthedocs.com/securing-subdomains/
2016-04-28 09:35:03 +03:00
hugovk
839c52b96a
flake8
2016-04-21 23:13:10 +03:00
hugovk
311f8f6a9c
Test TIF with LZW compression
2016-04-21 23:10:08 +03:00
hugovk
272f11434d
convert hopper.png -compress lzw hopper_lzw.tif
2016-04-21 23:09:23 +03:00
hugovk
31b05ce82c
Test TGA RLE file
2016-04-21 17:49:35 +03:00
hugovk
ad299ea9e5
Source: https://samples.libav.org/image-samples/TGA/
2016-04-21 17:49:25 +03:00
wiredfool
0507192a77
Comments for future people investigating alpha and DIBs
2016-04-19 20:36:25 +01:00
wiredfool
23a847c532
Fixes DIB image format
...
The DIB image format uses the 40 byte BMP header, followed by 3 masks
for RGB channels. We were reading 4 masks, consuming the first pixel
of the image.
Mostly fixes issue #1293 . Remaining issue: alpha channel is actually a
transparency mask.
2016-04-19 20:17:36 +01:00
wiredfool
ae6c46ea92
Merge pull request #1814 from thebostik/jpeg-qtable-bounds
...
Valid range for baseline jpeg qtables 0 to 255
2016-04-19 16:48:03 +01:00
wiredfool
faeb269e30
Revert "Fix for DIB/BMP images"
2016-04-19 16:37:29 +01:00
wiredfool
4dfc0f905d
Merge pull request #1830 from radarhere/grammar
...
Minor grammar fix
2016-04-19 16:02:30 +01:00
Oliver Tonnhofer
0f8d66bc96
add failing test for #1838 ; extend tests for current transparency behavior
2016-04-19 10:21:48 +02:00
Andrew Murray
ecd4d5a186
Removed unused test helper
2016-04-17 23:27:09 +10:00
Andrew Murray
4737944197
Minor grammar fix
2016-04-14 00:08:44 +10:00
Andrew Murray
392d567352
Added CMYK mode for opening EPS files
2016-04-13 18:27:46 +10:00
Stephen Arthur
5025bdd487
Valid range for baseline jpeg qtables 1 to 255, fixed overflow from using signed char instead of unsigned char. added test
2016-04-07 09:35:14 -07:00
Stephen Arthur
b38c32ed70
Valid range for baseline jpeg qtables 0 to 255, fixed issue from using signed char instead of unsigned char. added test
2016-04-06 18:47:51 -07:00
Hugo
a7c678b1af
Merge pull request #1813 from wiredfool/DIB_1293
...
Fix for DIB/BMP images
2016-04-06 19:58:25 +03:00
wiredfool
e84e02997c
Fixes DIB image format
...
The DIB image format uses the 40 byte BMP header, followed by 3 masks
for RGB channels. We were reading 4 masks, consuming the first pixel
of the image.
Mostly fixes issue #1293 . Remaining issue: alpha channel is actually a
transparency mask.
2016-04-06 07:38:41 -07:00
Hugo
cee9a1da15
Merge pull request #1805 from wiredfool/verify-struct-error
...
Catch struct.errors when verifying png files
2016-04-04 16:38:29 +03:00
wiredfool
90378c8298
Fixing compatibility with the truncated images tests
2016-04-04 05:40:37 -07:00
wiredfool
bb91abe147
Merge pull request #1804 from hugovk/tiff_jpegtables
...
Test saving TIFF with JPEGTables tag
2016-04-04 05:06:53 -07:00
wiredfool
77da73c90f
Catch struct.errors when verifying png files, convert to SyntaxErrors, fixes #1755
2016-04-04 03:08:22 -07:00
wiredfool
ca5e22b59a
Merge pull request #1794 from radarhere/spiderimageplugin
...
SpiderImagePlugin: raise an error when seeking in a non-stack file
2016-04-04 02:07:41 -07:00
Andrew Murray
dabb68a61e
Added tests
2016-04-04 18:48:21 +10:00
hugovk
ba817af569
Merge
2016-04-03 23:08:49 +03:00
wiredfool
14f3b45f46
Merge pull request #1789 from zwhfly/tiff
...
Add Support for 2/4 bpp Tiff Grayscale Images
2016-04-03 12:07:48 -07:00
Andrew Murray
26bf1937c7
Added warning for deprecated as_dict method
2016-04-03 23:41:28 +10:00
Hugo
77b5a531c6
Merge pull request #1625 from radarhere/health
...
Health fixes
2016-04-03 10:58:35 +03:00
wiredfool
a1f244343d
Fixed j2k integer overflow error on encode - CVE-2016-3076
2016-04-01 05:11:54 -07:00
Andrew Murray
677b958a7f
Health fixes
2016-04-01 21:49:30 +11:00
wiredfool
26970c5e21
Merge pull request #1782 from radarhere/compression
...
Different frames may have different compression types
2016-04-01 03:38:18 -07:00
wiredfool
39fb128898
Merge pull request #1772 from radarhere/copy
...
Added __copy__ method to Image
2016-04-01 03:35:21 -07:00
wiredfool
0fb65753ce
Merge pull request #1780 from wiredfool/j2k_exception
...
Fix for UnboundLocalError with corrupt jpeg2k file
2016-04-01 03:29:09 -07:00
zwhfly
124bee0485
Add Tests for 2/4 bpp Tiff Grayscale Images
...
Including inverted and/or bit-order-reversed formats.
2016-03-29 20:19:22 +08:00
Geka
33fff9e4a8
Add test for multipage tiff file with different compression
2016-03-27 22:19:04 +11:00
wiredfool
0c4131bf67
Fixing tests on windows/32bit
2016-03-26 15:01:26 -07:00
wiredfool
43b4b8d664
Fix for UnboundLocalError with corrupt jpeg2k file
2016-03-26 13:41:00 -07:00
wiredfool
f65fcf7274
Fixing the tests on py 3.x
2016-03-16 10:13:51 +00:00
Andrew Murray
bb0d312de7
Added __copy__ method to Image
2016-03-16 20:23:51 +11:00
wiredfool
c6ec3be0d6
Fix for integer overflow in path.c
2016-03-15 19:56:40 +00:00
wiredfool
b550b2a9e4
Merge pull request #1756 from SemanticsOS/lambdafu/pycms
...
Give much more details about ICC profiles.
2016-03-14 10:05:49 -07:00
wiredfool
fb853267f9
Merge pull request #1748 from radarhere/path
...
Fixed bug when saving to a non-existent path using pathlib
2016-03-14 09:48:53 -07:00
Marcus Brinkmann
87603266ad
Give much more details about ICC profiles.
2016-03-05 04:40:24 +01:00
Andrew Murray
b959a25f09
Fixed bug when saving to a non-existent path using pathlib
2016-02-27 13:10:50 +11:00
hugovk
39e407dbc1
Failing test for #1744
2016-02-24 15:06:28 +02:00
Hugo
cfc195f15c
Merge pull request #1723 from radarhere/show
...
Removed unused Tests files
2016-02-09 14:49:14 +02:00
Andrew Murray
779f7e129e
Removed unused Tests files
2016-02-09 22:06:44 +11:00
Andrew Murray
ce3e59414c
Fixed typo [ci skip]
2016-02-09 22:02:43 +11:00
Eric Soroos
717720b051
Fix for buffer overflow in TiffDecode.c CVE-2016-0740
2016-02-04 08:13:11 -08:00
wiredfool
893a40850c
FLI overflow error fix and testcase CVE-2016-0775
2016-02-04 08:13:02 -08:00
wiredfool
1723dc2d07
Merge pull request #1714 from wiredfool/resample-overflow
...
Overflow in resample.c, with tests
2016-02-04 07:52:59 -08:00
wiredfool
95a25a0d82
input parameter filtering
2016-02-04 07:19:54 -08:00
wiredfool
ff7962c3be
test for #1711
2016-02-04 07:19:54 -08:00
wiredfool
c581d8abfb
added __main__ clause
2016-02-04 04:24:47 -08:00
wiredfool
ae453aa18b
PCD decoder overruns the shuffle buffer, Fixes #568
2016-02-02 05:46:26 -08:00
wiredfool
850f6dca06
added tests for ftex
2016-02-01 05:23:37 -08:00
Jerome Leclanche
58c59bbad0
Add a loader for the FTEX format from Independence War 2: Edge of Chaos
2016-02-01 05:23:37 -08:00
wiredfool
c09ba49f0f
Merge pull request #1647 from radarhere/multiline
...
Allowed text method to pass on multiline_text method specific arguments
2016-02-01 01:18:51 -08:00
wiredfool
7d1df35089
Merge pull request #1686 from radarhere/seek
...
Allow ImageSequence to seek to zero
2016-01-31 09:08:09 -08:00
wiredfool
3f1834a67b
Merge pull request #1649 from radarhere/iterator
...
Modified ImageSequence Iterator class to be an iterator
2016-01-31 09:06:43 -08:00
wiredfool
99e88c7796
Merge pull request #1653 from wiredfool/gbr
...
Fixed long broken GBRImagePlugin
2016-01-31 09:03:03 -08:00
Andrew Murray
2b0c037d5f
Allowed ImageSequence to seek to zero
2016-01-27 14:04:05 +11:00
Andrew Murray
0ad6f5ff1f
Updated deprecated asserts
2016-01-24 12:44:31 +11:00
Andrew Murray
a7a087e0b2
Added FPX test
2016-01-23 13:50:17 +11:00
Andrew Murray
da7e712cb4
Added MIC test
2016-01-23 13:46:36 +11:00
Andrew Murray
957187d417
Added TIFF IFD test
2016-01-21 16:00:53 +11:00
wiredfool
b0d15c9b8d
Catch truncated DDS files
2016-01-15 21:34:36 +00:00
wiredfool
18d48dc665
fixing dds plugin on Py 2.x, relaxing dxt5 test
2016-01-08 13:58:19 -08:00
wiredfool
13f2d22700
Correctness tests for DDS
2016-01-08 07:59:18 -08:00
wiredfool
25428afb70
Working GbrImagePlugin for version 2 GBR (gimp brush) files
2016-01-08 07:18:48 -08:00
wiredfool
ccd9d4b489
Test images for GbrImagePlugin, created in GIMP 2.8 by Eric Soroos
2016-01-08 07:18:05 -08:00
hugovk
05b22cedd5
Add docstrings
2016-01-06 12:26:58 +02:00
Andrew Murray
f4df96816b
Modified ImageSequence Iterator class to be an iterator
2016-01-06 21:09:40 +11:00
hugovk
517cbbff08
Test NotImplementedError
2016-01-06 11:59:47 +02:00
hugovk
02ec83ee64
Test image from https://github.com/python-pillow/Pillow/pull/1644#issuecomment-169101551
2016-01-06 11:57:51 +02:00
hugovk
f826bff3c7
Simplify sanity tests
2016-01-06 11:24:09 +02:00
hugovk
3515cf82b7
Test images from https://github.com/python-pillow/Pillow/pull/1644#issuecomment-169101551
2016-01-06 11:00:08 +02:00
hugovk
ca216951ab
Test DdsImagePlugin
2016-01-06 10:59:37 +02:00
Andrew Murray
a653afb10d
Allowed textsize method to pass on multiline_textsize method specific arguments
2016-01-06 17:13:16 +11:00
Andrew Murray
89e3758fb8
Allowed text method to pass on multiline_text method specific arguments
2016-01-06 10:42:03 +11:00
wiredfool
859ce84976
Version check rather than try/except
2016-01-03 13:04:04 -08:00
wiredfool
21beef192a
Fixing test failures on python 2.6/windows
2016-01-03 12:23:39 -08:00
wiredfool
7a4ff8e66c
Forcing this one to pass
2016-01-01 15:57:42 +00:00
wiredfool
e5076a3278
Merge pull request #1620 from wiredfool/issue_1597
...
Partial fix for #1597
2016-01-01 07:47:58 -08:00
wiredfool
36d4f5a9b4
Tests for permitted libtiff metadata
2016-01-01 05:30:40 -08:00
wiredfool
a6c1331fdd
Rolling back exif support to pre-3.0 format
2016-01-01 04:14:24 -08:00
Hugo
c0b3fe77d7
Merge pull request #1621 from radarhere/health
...
Flake8 fixes
2015-12-31 15:18:31 +02:00
Hugo
55a037c50b
Merge pull request #1531 from wiredfool/exif_div_zero
...
Divide by zero in Exif
2015-12-31 15:15:20 +02:00
Andrew Murray
a83bcec169
Flake8 fixes
2015-12-31 07:27:27 +11:00
wiredfool
9fa6634f4d
Partial fix for #1597
...
Haven't excercized all of the metadata that we're allowing yet,
and there's clearly still something up with Arrays, as one
of them is still crashing and making it impossible to save a
palette with a libtiff image.
2015-12-30 07:54:14 -08:00
wiredfool
253bc038c5
Python 3.2, sigh
2015-12-30 00:45:48 +00:00
wiredfool
31428b7009
Py3 fixes
2015-12-29 23:56:47 +00:00
hugovk
d9c90bba91
Test passes for 2.9.0, fails for 3.0.0
2015-12-29 22:57:36 +00:00
wiredfool
3ac9396e8c
Write round trip for rationals, including nan value
2015-12-29 22:00:36 +00:00
wiredfool
3dd4b39411
Namespace
2015-12-29 21:33:10 +00:00
wiredfool
5e7a5bf237
Limit rationals for expected values in round trip
2015-12-29 21:33:10 +00:00
wiredfool
8ed2d1ed02
Changing the type of the target values
2015-12-27 20:48:47 +00:00
wiredfool
722ee8240b
Inherit from Rational instead of Fraction, some basic tests. Fixes Py2.6
2015-12-27 10:21:32 +00:00
wiredfool
deecbcd3a3
Added a rational class for TiffIFD that allows for 0/0
2015-12-27 10:21:31 +00:00
wiredfool
86ebe1eeb9
Merge pull request #1610 from radarhere/ttf
...
Removed unused file
2015-12-27 02:10:53 -08:00
Andrew Murray
a0d7282ea7
Removed unused file
2015-12-25 21:49:22 +11:00
Andrew Murray
416efb840b
Clarified comment
2015-12-25 12:02:18 +11:00
Andrew Murray
afa4166a57
Updated deprecated asserts
2015-12-16 14:30:17 +11:00
Hugo
6005800396
Merge pull request #1594 from wiredfool/g4_attributes
...
Allow saving RowsPerStrip with libtiff.
2015-12-15 15:45:36 +02:00
wiredfool
436daee5e0
Merge pull request #1591 from radarhere/health
...
Health fixes
2015-12-14 21:00:09 +00:00
wiredfool
65ff8f9f5a
Merge pull request #1578 from cartisan/numpy-conversion-for-hsv
...
Enabled conversion to numpy array for HSV images. #1559
2015-12-14 20:55:47 +00:00
wiredfool
3d5e395bb5
Merge pull request #1579 from hugovk/imagefont_getters
...
Test ImageFont getters
2015-12-14 20:48:03 +00:00
wiredfool
b68bb56b64
test for issue #1561
2015-12-14 20:24:01 +00:00
Andrew Murray
c27110ab56
Flake8 fixes
2015-12-10 21:34:02 +11:00
Andrew Murray
1c99b39239
Fixed redefined built-in
2015-12-10 21:34:02 +11:00
Andrew Murray
9176633d60
Specified exception type
2015-12-10 09:22:36 +11:00
Hugo
6e16168567
Merge pull request #1577 from radarhere/float
...
Changed arcs, chords and pie slices to use floats
2015-12-09 11:16:43 +02:00
Andrew Murray
8f9b3a7372
Changed arcs, chords and pie slices to use floats
2015-12-09 00:28:52 +11:00
Andrew Murray
ee82f7089c
Changed assertTrue isinstance to assertIsInstance
2015-12-08 20:31:02 +11:00
Hugo
5f1a042293
Merge pull request #1576 from radarhere/imagedraw
...
Removed FIXME from ImageDraw test
2015-12-07 20:50:58 +02:00
hugovk
1110978fc7
Test another ImageFont getter
2015-12-07 20:44:03 +02:00
hugovk
1ae23a807f
Test ImageFont getters
2015-12-07 20:24:57 +02:00
cartisan
8b76f557ce
Enabled conversion to numpy array for HSV images. #1559
2015-12-07 17:40:42 +00:00
wiredfool
fb17bf3d20
Merge pull request #1478 from baumatron/pillow_fix_eps_gs_command
...
Fix command to invoke ghostscript for eps files.
2015-12-07 14:15:51 +00:00