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
wiredfool
2f75ee7e9f
Merge pull request #1574 from hugovk/wiredfool-multiline_text-plus4
...
Consistent multiline spacing and tests, with extra space
2015-12-07 13:41:15 +00:00
Andrew Murray
f0944438ab
Removed FIXME from ImageDraw test
2015-12-08 00:03:38 +11:00
wiredfool
51cd06685e
Merge pull request #1556 from radarhere/unpack
...
Throw TypeError if no cursors were found in .cur file
2015-12-07 12:59:34 +00:00
wiredfool
bceb18baa2
Merge pull request #1555 from Nexuapex/master
...
ExtraSamples tag should be a SHORT, not a BYTE
2015-12-07 12:53:51 +00:00
hugovk
731d0b1b73
Default spacing of 4, update tests
2015-12-06 18:31:33 +02:00
hugovk
d52e58dbbd
Merge remote-tracking branch 'upstream/master' into wiredfool-multiline_text
2015-12-06 18:05:25 +02:00
hugovk
c82b54b896
Update tests
2015-12-06 15:57:19 +02:00
Andrew Murray
806df2e7db
Removed unused argument
2015-12-02 16:55:50 +11:00
Andrew Murray
407aa77db4
Removed unnecessary lambda
2015-12-02 16:49:30 +11:00
Andrew Murray
674515d568
Changed lines to be below 80 characters
2015-12-02 16:41:26 +11:00
Andrew Murray
4ab0cbb5ba
Removed unused variable
2015-12-02 16:15:12 +11:00
Andrew Murray
d321177589
Removed undefined variable
2015-12-02 16:09:47 +11:00
John Calsbeek
b496f37e1f
Add test for #1524 .
2015-12-01 09:14:32 -08:00
Andrew Murray
0c3e224537
Throw TypeError if no cursors were found in .cur file
2015-11-26 19:56:41 +11:00
wiredfool
35296ca155
Merge pull request #1519 from mattip/master
...
test, fix missing 'version' key value in __array_interface__
2015-11-18 09:39:34 +00:00
wiredfool
c0b08068c8
Merge pull request #1534 from radarhere/shortlink
...
Removed shortlink
2015-11-18 09:29:39 +00:00
Andrew Murray
4d7b630b33
Catch OverflowError in SpiderImagePlugin
2015-11-18 01:18:01 +11:00
Hugo van Kemenade
a0393ee3a0
Merge pull request #1539 from wiredfool/issue_1526
...
Fix the definition of icc_profile in TiffTags
2015-11-16 10:23:41 +02:00
wiredfool
4883c4d202
image for test
2015-11-15 16:43:16 +00:00
wiredfool
f8a5ded0d6
Test for #1526 , load binary tagged iccprofile
2015-11-15 16:41:49 +00:00
Andrew Murray
529d680aee
Removed comment
2015-11-11 23:42:19 +11:00
Andrew Murray
03eadad5ef
Removed shortlink
2015-11-11 23:25:55 +11:00
mattip
0ff05afa56
test, fix missing 'version' key value in __array_interface__
2015-11-02 20:07:12 +02:00
Andrew Murray
9a2903bf5b
Changed 32 bit to 32-bit and 64 bit to 64-bit
2015-10-15 00:49:03 +11:00
Andrew Murray
0eabe68882
Added test
2015-10-12 23:13:45 +11:00
Andrew Murray
6bd7e7f02d
Removed trailing whitespace
2015-10-11 21:24:35 +11:00
Hugo van Kemenade
25d03d6fce
Merge pull request #1465 from wiredfool/bug-iccprofile
...
Add tag info for iccprofile, fixes #1462
2015-10-05 15:23:16 +03:00
wiredfool
23631302a9
Merge pull request #1467 from wiredfool/sampleformat
...
Flatten sampleformat to initial value, fixes #1466
2015-10-05 01:43:03 -07:00
wiredfool
543238849c
Merge pull request #1464 from wiredfool/pathlib_temporaryfile
...
Fix handling of pathlib in save. Fixes #1460
2015-10-05 01:41:58 -07:00
hugovk
0e23d74173
Make tests more robust re: https://github.com/python-pillow/Pillow/issues/947#issuecomment-61641247
2015-10-05 10:27:23 +03:00
wiredfool
5e670e9b70
using test file with known license
2015-10-03 17:04:40 -07:00
wiredfool
7206be535e
Flatten sampleformat to initial value, fixes #1466
2015-10-03 22:57:44 +01:00
wiredfool
157df44e51
Add tag info for iccprofile, fixes #1462
2015-10-03 16:35:53 +01:00
wiredfool
d965257616
Fix handling of pathlib in save. Fixes #1460
2015-10-03 08:12:44 +01:00
wiredfool
5ee9dd6f88
Fixing test on py 2.x
2015-10-02 03:03:15 -07:00
wiredfool
eb80824f51
Have to guard the ctypes.wintypes import
2015-10-01 14:54:32 +01:00
wiredfool
7a48d7658d
removing the print
2015-10-01 14:54:32 +01:00
wiredfool
3228860514
Test for PR#1431, following [nu744]
2015-10-01 14:54:32 +01:00
wiredfool
92f5133469
Merge pull request #1445 from radarhere/pdf
...
Added PDF multipage saving
2015-10-01 05:33:11 -07:00
wiredfool
89ccf66ff7
Merge pull request #1343 from radarhere/deprecated
...
Removed deprecated code
2015-09-29 15:38:34 +01:00
Andrew Murray
4e31fb745f
Added PDF multipage saving
2015-09-29 22:51:52 +10:00
wiredfool
388b2dab0c
Merge pull request #1428 from uploadcare/load-broken-images
...
Load more broken images
2015-09-24 21:53:36 +01:00
homm
62a52a7a34
replace broken image
2015-09-23 00:33:03 +03:00
wiredfool
eaabb21b4a
Merge pull request #1429 from ericfrederich/conversion
...
use png when converting from a QImage to a Pillow Image
2015-09-20 11:04:16 +01:00
wiredfool
68dd0ac2cc
Merge pull request #1430 from ericfrederich/qt_align
...
bug fix: Qt wants data aligned to 32 bits
2015-09-20 10:41:38 +01:00
wiredfool
de34547f33
Merge pull request #1419 from wiredfool/tiff-ifd-rewrite
...
Tiff ImageFileDirectory Rewrite
2015-09-20 10:36:19 +01:00
Andrew Murray
71c95c8e5f
Restored deprecated methods with errors instead
2015-09-19 21:36:19 +10:00
Andrew Murray
5835c1e09c
Added deprecation warning to ImageDraw setfont method, as specified in docs
2015-09-19 21:12:10 +10:00
Andrew Murray
baa5143394
Removed methods deprecated in 2.0
2015-09-19 21:06:12 +10:00
Andrew Murray
47366692d9
Removed ImagePalette methods, deprecated in 2.6
2015-09-19 21:06:12 +10:00
Andrew Murray
a3107af63f
Removed ImageFileIO, deprecated since PIL
2015-09-19 21:06:12 +10:00
Andrew Murray
3841a11fb5
Removed ImageFont filename param, deprecated in 2.1
2015-09-19 21:06:12 +10:00
Eric L Frederich
e67a4c4270
preserve alpha during conversion; add tests; found bug and added TODOs
2015-09-18 16:15:24 -04:00
Eric L Frederich
86e775daa3
bug fix: Qt wants data aligned to 32 bits
...
Images in Qt show up incorrectly if each line is not aligned to 32 bits.
It is pretty common for an image's lines to be 32-bit alinged by chance.
Obviously any 32-bit image will not have any problem.
For the bug to manifest itself you'd need...
* a 1-bit image whose width is not a multiple of 32
* an 8-bit image who width is not a multiple of 4
Testing more images now and added a 7x13 png test image
2015-09-18 16:07:35 -04:00
wiredfool
a38fb2d0c5
Merge pull request #1384 from radarhere/gifparams
...
GIF 89a and animation parameters
2015-09-18 14:41:45 +01:00
homm
f46d65d0a4
test for this
2015-09-15 20:12:16 +03:00
homm
0f87b1f125
suppress and check warning during tests
2015-09-15 04:07:02 +03:00
homm
9930b05a33
fix tiff exif loading in case when file is empty or ended
2015-09-15 04:06:51 +03:00
wiredfool
9286c9e460
Reenabling and fixing the former test_xyres_tiff test for integer resolutions
2015-09-14 05:10:27 -07:00
wiredfool
4adbc9735c
Reorder load_* parameters to pass master tests
2015-09-14 04:35:09 -07:00
wiredfool
05348d4f8f
Reenabling failing/crashing tests, with fixes
2015-09-14 03:03:24 -07:00
wiredfool
c2818ee09e
Add versioned api to tests
2015-09-13 16:19:40 +01:00
wiredfool
4596df45c1
Versioned interface for TiffTags
2015-09-13 15:15:13 +01:00
wiredfool
f3ab9b9f81
temp removing segfaulting test on travis
2015-09-13 14:38:51 +01:00
wiredfool
2636679868
updating tests for legacy_api api change
2015-09-13 14:08:49 +01:00
wiredfool
0c35194167
rewrite of #1416 working
2015-09-12 10:11:10 +01:00
wiredfool
b1fdff4034
In a twisty maze of bytes, text and arbitrary metadata, py2 and py3. New IFD is putting textdata in type7 metadata and returning bytes, old one put it in type 2 string and returned a string. This may be an issue
2015-09-11 23:44:23 +01:00
wiredfool
426c9d8fc2
test failing update
2015-09-11 22:40:38 +01:00
wiredfool
5f9fff0215
Restoring bad exif handling
2015-09-11 22:39:37 +01:00
wiredfool
47a963c2a4
Legacy/versioned interface
2015-09-11 22:39:37 +01:00
wiredfool
0c942911d9
fixed the rebase
2015-09-11 22:39:37 +01:00
Antony Lee
c113e8f7cd
libtiff's rational precision is limited to C floats.
2015-09-11 22:39:37 +01:00
Antony Lee
ba7b8d1708
Fail on invalid EXIF, reverting ed2cca1
.
2015-09-11 22:39:37 +01:00
Antony Lee
93abbd0caa
Restore legacy TIFF API.
...
To have the old API that always returns tuples, and fractions as pairs,
set the `legacy_api` attribute of the IFD to True.
This should alleviate concerns about backwards compatibility.
2015-09-11 22:39:37 +01:00
Antony Lee
38f7e23495
Include tests of #1113 .
2015-09-11 22:35:58 +01:00
Antony Lee
d5b46dce96
Fix MPO support, and Python2.6 support.
2015-09-11 22:34:50 +01:00
Antony Lee
974bcc074b
Major rewrite of TIFF ImageFileDirectory.
...
Do not represent scalar tags as 1-element tuples. Keep tag
type and count information in TiffTags.TAGS. Normalize data in
ImageFileDirectory.__setitem__: wrap and unwrap tuples as needed,
convert rationals to floats. (To ensure consistency, make the "tags"
attribute private.) Interpret byte data as a series of integers rather
than a bytearray (which should only map to the "undefined" type). On
Python3, if a str is assigned to an "undefined" tag, encode it as ASCII.
Note that a large number of tags have been removed from TiffTags.TAGS
because I do not have time to figure out the type and count of each of
them. They should be restored before this gets merged in.
This obviously breaks backwards compatibility in a lot of ways...
2015-09-11 22:34:50 +01:00
Hugo van Kemenade
991829b75a
Merge pull request #1414 from wiredfool/pr1360
...
Catch TypeError in _getexif
2015-09-10 19:11:32 +03:00
Hugo van Kemenade
f631ddb1ef
Merge pull request #1416 from wiredfool/pr1309
...
Fix for UnicodeDecodeError in TiffImagePlugin
2015-09-10 19:07:48 +03:00
Bogdan Kubala
42b5a85cb4
Fix for UnicodeDecodeError in TiffImagePlugin
...
Fix for UnicodeDecodeError: ascii codec cannot decode byte while saving a TIFF image
Problem occured while saving TIFF images that contain non-ascii characters in metadata
Manually merged with master by wiredfool
2015-09-10 07:57:47 -07:00
wiredfool
60f44f2dce
Merge pull request #1337 from homm/extraneous-jpeg-bytes
...
Skip any number extraneous chars at the end of JPEG chunks
2015-09-10 15:39:55 +01:00
wiredfool
07d95c3861
Added test for typeerror test for gpsexif
2015-09-10 05:32:11 -07:00
wiredfool
1b40b6fd32
Merge pull request #1366 from uploadcare/fix-truncated-regression-from-master
...
Pillow fails to load truncated images with LOAD_TRUNCATED_IMAGES
2015-09-10 11:59:58 +01:00
wiredfool
43c5f2cd64
Merge pull request #1387 from radarhere/imaging
...
Improved handling of getink color
2015-09-09 21:43:32 +01:00
homm
0b19a86087
skip any number extraneous chars at the end of chunks
2015-09-08 18:05:37 +03:00
homm
5309c8e21e
Skip ImageFont_bitmap test if _imagingft C module is not installed
2015-09-08 18:00:00 +03:00
homm
430e9922eb
test for loading truncated image and raising proper exception
2015-09-08 17:43:12 +03:00
Andrew Murray
a0d38a3884
Fixed infinite loop on truncated file
2015-08-29 02:05:08 +10:00
Andrew Murray
9026b81439
Check that images are L mode in ImageMorph methods
2015-08-28 22:54:17 +10:00
Andrew Murray
c6b13d294f
Flake8 fixes
2015-08-25 22:27:18 +10:00
Andrew Murray
60902efeb0
Added test
2015-08-22 23:03:11 +10:00
Andrew Murray
b8ff91ab3b
Corrected version number when saving GIFs
2015-08-21 22:10:13 +10:00
Andrew Murray
f64bc891d4
Changed GifImagePlugin to include use image info params
2015-08-21 22:09:05 +10:00
Anton Vlasenko
1f8a37841c
Testing that animated gif preserves all important headers
2015-08-21 21:46:04 +10:00
Andrew Murray
f6d11a2803
Only use fast rotate operations if the expand flag is in use or the image is square
2015-08-06 00:23:14 +10:00
Andrew Murray
cf4145e2c9
Added test for pathlib
2015-08-05 21:29:24 +10:00
Hugo van Kemenade
1368d972e7
Merge pull request #1367 from radarhere/imagegrab
...
Added support for ImageGrab.grab to OS X
2015-08-01 10:54:31 +03:00
Andrew Murray
7c0554c74e
Added support for ImageGrab.grab to OS X
2015-08-01 17:44:13 +10:00
Andrew Murray
f5df0b86fc
Fixed PSDraw stdout Python 3 compatibility
2015-07-31 20:59:59 +10:00
Andrew Murray
3a25b1cd9b
Added test for _getexif TypeError
2015-07-29 23:38:26 +10:00
Anton Vlasenko
a90e72076a
Fixing typo to have proper testing
2015-07-23 11:29:26 +02:00
Andrew Murray
2a3a34d2ff
Treat MPO with unknown header as base JPEG file
2015-07-19 22:56:04 +10:00
Andrew Murray
c7339c244e
Added additional tests for TiffImagePlugin
2015-07-13 23:37:44 +10:00
Andrew Murray
94ed100bb2
Removed ImageDraw methods deprecated in PIL 1.1.15
2015-07-13 17:41:26 +10:00
Andrew Murray
309ab1fc3d
Various Flake8 fixes
2015-07-03 16:22:56 +10:00
Andrew Murray
a06b59bd52
Added various tests
2015-07-03 15:03:25 +10:00
Alex Clark
290fa69dfa
Merge pull request #1327 from hugovk/more_imagefont_tests
...
More ImageFont tests
2015-07-02 05:23:30 -04:00
Alex Clark
67d1541c6f
Merge pull request #1207 from anntzer/logger
...
Use logging instead of print.
2015-07-02 05:22:07 -04:00
hugovk
bfa6b07741
flake8
2015-07-01 22:53:18 +03:00
hugovk
efa0fa1b4f
More ImageFont tests
2015-07-01 22:51:38 +03:00
Alex Clark
567d83089f
Merge pull request #1323 from radarhere/multiframe_test
...
Added multiframe GIF test
2015-07-01 14:30:45 -04:00
hugovk
dba0e7960a
More GIMP palette tests
2015-07-01 14:28:34 +03:00
Andrew Murray
63a32a9c5b
Added test for GimpPaletteFile
2015-07-01 15:47:47 +10:00
Andrew Murray
4fbea3e553
Added multiframe GIF test
2015-07-01 09:18:05 +10:00
Alex Clark
be1df0f33c
Merge pull request #1320 from radarhere/gifmaker
...
Merged gifmaker into GifImagePlugin
2015-06-30 08:00:39 -04:00
Alex Clark
c489150602
Merge pull request #1319 from radarhere/is_animated
...
Added is_animated
2015-06-30 07:59:56 -04:00
Alex Clark
d29c3937ee
Merge pull request #1302 from hugovk/1301_integer_expected
...
DPI should be tuple of ints, not floats
2015-06-30 07:57:28 -04:00
Andrew Murray
7227b4d01d
Added test
2015-06-30 18:07:23 +10:00
hugovk
593a910e92
Unit test and image: convert hopper.png hopper.bmp
2015-06-30 07:09:35 +03:00
Andrew Murray
d20eef450b
Added is_animated
2015-06-30 13:25:00 +10:00
Alex Clark
75be4af068
Merge pull request #1282 from radarhere/eoferror
...
Frame position when seeking past the end of file
2015-06-29 20:16:15 -04:00
Antony Lee
4e754e9c55
Use logging instead of print.
...
cf. #1191 .
Only TiffImagePlugin and OLEFileIO still rely on (their own) DEBUG flag.
I left TiffImagePlugin as it is because I hope #1059 gets merged in
first, and OLEFileIO because it uses its own logic.
Untested, as usual.
2015-06-29 12:39:50 -07:00
Hugo van Kemenade
06a2f4bf76
Merge pull request #1316 from radarhere/patch-1
...
Fixed ValueError in Python 2.6
2015-06-29 10:20:26 +03:00
Andrew Murray
29cb7d24b8
Fixed ValueError in Python 2.6
2015-06-29 14:59:05 +10:00
Christoph Gohlke
3dd3c4e28c
TST: fix ValueError on Python 2.6
2015-06-28 20:50:17 -07:00
Andrew Murray
afa4cadb23
Added width and height properties
2015-06-26 17:20:17 +10:00
wiredfool
cea766e980
Merge pull request #1217 from radarhere/qt-convert
...
Add functions to convert: Image <-> QImage; Image <-> QPixmap
2015-06-22 11:32:55 -07:00
Hugo van Kemenade
05c482655c
Merge pull request #1291 from radarhere/winbuild_health
...
Style/health fixes
2015-06-21 17:42:01 +03:00
Andrew Murray
b553ad7a70
Further fixes
2015-06-21 16:33:55 +10:00
wiredfool
680aaa41cb
Merge pull request #1177 from radarhere/multiline
...
Multiline text
2015-06-20 13:58:28 -07:00
Andrew Murray
bbf3b52357
Flake8 fixes
2015-06-20 14:46:04 +10:00
Andrew Murray
c1b1f184b8
Updated documentation URL
2015-06-19 18:28:13 +10:00
Andrew Murray
40b659764d
Restored deleted test
2015-06-19 18:23:17 +10:00
Andrew Murray
33d51d4255
Flake8 and health fixes
2015-06-19 15:36:23 +10:00
Andrew Murray
43e2c92802
Removed unused imports
2015-06-19 15:35:56 +10:00
wiredfool
a92d737177
Merge pull request #1278 from wiredfool/winbuild
...
Windows Build/CI
2015-06-18 09:03:38 -07:00
Andrew Murray
1111e9fb35
Fixed frame position when seeking past the end of file
2015-06-19 00:49:18 +10:00
Andrew Murray
b7335ec9d9
Added multiline tests
2015-06-18 17:51:33 +10:00
Roman Inflianskas
854d343aa5
add functions to convert: Image <-> QImage; Image <-> QPixmap (see #897 ); fix typo that breaks tests
2015-06-18 11:21:14 +10:00
Roman Inflianskas
2d706d74dc
add functions to convert: Image <-> QImage; Image <-> QPixmap (see #897 )
2015-06-18 11:21:14 +10:00
wiredfool
d2e54d7973
Merge pull request #1255 from radarhere/polygon
...
Fixed polygon edge drawing
2015-06-17 18:18:36 -07:00
Andrew Murray
1ee1860b52
Added test for invalid image
2015-06-18 10:12:20 +10:00
wiredfool
2605f27bd3
Find all the function names
2015-06-16 14:08:10 -07:00
wiredfool
1086ba9e6e
Function rename
2015-06-16 13:35:34 -07:00
wiredfool
9abedaab1d
Merge pull request #1248 from radarhere/health
...
Further health fixes
2015-06-16 11:54:03 -07:00
wiredfool
e567267784
Merge pull request #1230 from hugovk/1229_xbm
...
Identify XBM file created with filename including underscore
2015-06-16 11:51:35 -07:00
wiredfool
30631902d6
Merge pull request #1231 from radarhere/image_palette
...
Copy image when saving in GifImagePlugin
2015-06-16 11:49:41 -07:00
wiredfool
87d5c8a506
added explanation
2015-06-12 10:17:04 -07:00
wiredfool
0347bcc91d
Tests that faill on appveyor CI, but pass on a real machine
2015-06-12 09:56:12 -07:00
Andrew Murray
ecb1cef99b
Added background color index saving to GifImagePlugin
2015-06-11 11:10:05 +10:00
hugovk
5c40cb1ba6
Merge
2015-06-08 20:46:39 +03:00
Andrew Murray
46f439604c
Added tests
2015-06-08 01:02:43 +10:00
Andrew Murray
109ec638d9
Added test for bad EXIF data
2015-06-07 00:10:15 +10:00
Andrew Murray
a1b71d5ee0
Added test for polygon edge drawing
2015-06-06 00:46:50 +10:00
Hugo
b816c048ad
Merge pull request #1172 from radarhere/gif
...
Added duration and loop set to GifImagePlugin
2015-06-04 13:07:58 +03:00
Andrew Murray
40c05380c5
Changed string statement to docstring
2015-05-30 09:18:27 +10:00
Andrew Murray
26bcc443d1
Specified exception types
2015-05-30 09:18:27 +10:00
Andrew Murray
a996033079
Fixed various typos
2015-05-29 14:59:54 +10:00
Hugo
b350a2ac95
Merge pull request #1239 from juztin/master
...
Setting transparency value to 0 when the tRNS contains only null byte(s)
2015-05-27 22:37:29 +03:00
Justin Wilson
e33b5c6355
Added test to check that png with null tRNS value defaults to a zero transparency value.
2015-05-27 09:45:27 -06:00
Hugo
06c8d715f2
Merge pull request #1233 from radarhere/features
...
Separated out feature checking from selftest
2015-05-27 14:39:00 +03:00
Hugo
394b245a39
Merge pull request #1240 from radarhere/future
...
Correct future print imports
2015-05-27 14:37:38 +03:00
Andrew Murray
3c7e37d2d7
Replaced old-style classes
2015-05-27 00:07:21 +10:00
Andrew Murray
4e2de9d9ed
Added missing future print imports and removed unnecessary imports
2015-05-23 20:28:41 +10:00
hugovk
05987c8d60
Test unsupported features
2015-05-15 11:42:36 +03:00
Andrew Murray
3458e7a4c3
Added feature checking tests
2015-05-15 07:33:17 +10:00
Andrew Murray
ca89d431ba
To avoid modifications, copy image when saving in GifImagePlugin
2015-05-13 16:39:25 +10:00
hugovk
ca7f44e7ae
Fix comment and file
2015-05-12 13:34:18 +03:00
hugovk
bf1645616f
Passing test for hopper.xbm and failing test for hopper_underscore.xbm
2015-05-12 12:43:58 +03:00
hugovk
30bb31ef59
Fix test according to original: 689f28aae7 (diff-d48d995756d16b9d9b8151e27377a37dR25)
2015-05-05 19:38:10 +03:00
Hugo
e7d85432e4
Fix OS X build
...
PR https://github.com/python-pillow/Pillow/pull/1209 missed a `file` -> `test_file` change on line 28, which broke the Mac build. Let's also make the constant uppercase whilst we're at it.
2015-05-05 11:15:55 +03:00
Hugo
7e02582931
Merge pull request #1210 from toabctl/issue-1202
...
Fix test TestImageFont.test_textsize_equal for SLE11SP3
2015-04-29 15:39:50 +03:00
Thomas Bechtold
80a8463225
Fix test TestImageFont.test_textsize_equal
...
The current test failed on SLE11SP3 so use assert_image_similar() for
the test.
This fixes issue 1202.
2015-04-29 14:21:42 +02:00
Andrew Murray
ee34d6843b
Further health fixes
2015-04-24 18:24:52 +10:00
Andrew Murray
76fec69eda
Removed unnecessary lambdas
2015-04-24 16:02:39 +10:00
Andrew Murray
7f414057c9
Fixed redefinition of built-in
2015-04-24 16:02:39 +10:00
Andrew Murray
566153f59f
Fixed statements with no effect
2015-04-24 16:02:39 +10:00
Andrew Murray
540a225ea0
Removed unnecessary pass lines and commented debugging lines
2015-04-24 16:02:38 +10:00
Andrew Murray
9794aafc37
Removed or commented unused variables
2015-04-24 16:02:38 +10:00
Andrew Murray
e22e4239e5
Removed unused imports
2015-04-24 16:01:47 +10:00
Andrew Murray
d1c182cadc
Various Flake8 fixes
2015-04-24 09:26:52 +10:00
Andrew Murray
aa1368f551
Flake8 fixes
2015-04-23 23:41:42 +10:00
Hugo
5302acae37
Merge pull request #1185 from radarhere/icns
...
Added icns save for OS X
2015-04-23 10:47:58 +03:00
Benoit Pierre
a649757f03
tests: add missing "from __future__ import division"
2015-04-16 20:10:19 +02:00
Benoit Pierre
4f6c366e75
fix imaging leaks in putdata and getlist
2015-04-16 20:09:39 +02:00
Hugo
b7bf299dad
Merge pull request #1113 from bpedersen2/master
...
Tiff: allow writing floating point tag values
2015-04-14 11:50:07 +03:00
Andrew Murray
689f28aae7
Added icns save
2015-04-12 12:58:46 +10:00
Andrew Murray
a5917b3fa3
Added GifImagePlugin tests
2015-04-04 11:45:30 +11:00
Alex Clark
ea65087a20
Merge pull request #1125 from artscoop/patch-1
...
Fix 32-bit BMP loading (RGBA or RGBX)
2015-04-01 15:23:32 -04:00
hugovk
2879819ce7
Style/health fixes
2015-04-01 16:47:01 +03:00
Alex Clark
c91768f7bf
Merge pull request #1117 from radarhere/master
...
Allow truetype() to search for extensions other than .ttf
2015-04-01 06:01:19 -04:00
Andrew Murray
b75ee4c5b6
Added tests for font paths without extensions and for preferring ttf extensions
2015-04-01 15:26:00 +11:00
Alex Clark
9c37a29553
Merge pull request #982 from hugovk/cache
...
Re-enable test image caching
2015-03-31 21:36:24 -04:00
Alex Clark
0925c4adbb
Merge pull request #1152 from hugovk/1104
...
Fix: Cannot identify EPS images
2015-03-31 21:12:55 -04:00
Andrew Murray
444d9d5731
Changed variable name foo since it has been blacklisted in health
2015-04-01 10:29:26 +11:00
Andrew Murray
192fa39fb7
Fixed duplicate import in test_imagecms
2015-04-01 09:56:12 +11:00
Andrew Murray
128280e5b8
Fixed duplicate import in Tests helper
2015-04-01 09:56:04 +11:00
hugovk
883858151d
Simple test for 1104
2015-03-26 14:05:17 +02:00
Andrew Murray
84ec2af495
Allow truetype() to search for extensions other than .ttf
2015-03-21 21:13:15 +11:00
Hugo
cabbc5d599
Merge pull request #1123 from radarhere/font_variant
...
Added copy method font_variant() and accessible properties to truetype()
2015-03-21 10:15:57 +02:00
hugovk
9bd38bfa06
Run test_effect_noise() on non-Windows, don't be too strict
2015-03-05 23:21:42 +02:00
artscoop
514c55aa16
Test fix for supported 32bit RGBA .cur file
...
Some .cur file with alpha was loaded fully opaque with PIL. Fixed, and fixed the test to take that into account.
2015-03-05 10:55:32 +01:00
Andrew Murray
7a798f8724
Added copy method font_variant() and accessible properties to truetype()
2015-03-04 00:00:18 +11:00
Hugo
061c9f41d8
Merge pull request #1121 from radarhere/endian
...
Let Python do the endian stuff + tests
2015-03-02 10:43:27 +02:00
Andrew Murray
f644adbb05
Fixed binary conversion bug, and added corresponding tests
2015-03-02 09:56:47 +11:00
Andrew Murray
ef6f30b674
Fixed typo in Tests README.rst
2015-03-02 09:28:24 +11:00
Björn Pedersen
47f5c9e650
Fix float precission
2015-02-23 12:11:20 +01:00
Björn Pedersen
e8553e1dae
Tiff float tags: Use first val in tuple
2015-02-23 12:06:29 +01:00
Björn Pedersen
0238a80e24
Fix test failure on float
...
due to rounding, the values are just 'almost' equal.
2015-02-23 11:19:32 +01:00
Benoit Pierre
4af381c6ba
webp: add memory leak test
2015-02-23 11:10:37 +01:00
Björn Pedersen
1f11fc7be5
Fix typo in test
2015-02-23 11:09:01 +01:00
Björn Pedersen
31be9f12ad
Add tests for tiff float tag values
...
Add tests for writing of float/double values in tiff file tags.
2015-02-23 10:52:27 +01:00
Hans-Peter Jansen
be30160d57
early versions of webp are known to produce higher deviations: deal with it
2015-02-14 23:50:25 +11:00
hugovk
d12acfee84
Test as_dict() directly instead of as string. Fix for PyPy.
2015-02-08 19:09:39 +02:00
immerrr
d41fed6732
Enable basic support for 'RGBa' raw encoding/decoding
2015-02-02 13:06:56 +03:00
wiredfool
d80c27dc3f
Merge pull request #1095 from hugovk/pickle_L_mode
...
Fix pickling L mode images with no palette
2015-01-30 11:39:50 -08:00
hugovk
7823197fdd
Failing tests to pickle L mode images
2015-01-30 14:00:46 +02:00
wiredfool
8c2a7502a4
Correct the name
2015-01-28 10:02:04 -08:00
wiredfool
05fe86654c
Added _repr_png method for ipython display hooks
2015-01-28 09:35:31 -08:00
wiredfool
1e040feb1b
Adjust buffer size when quality=keep, fixes #148 (again)
2015-01-18 10:56:29 -08:00
wiredfool
8cb58bbd72
Fix bitmap tests to account for different metrics for bitmap and ttf fonts on some platforms
2015-01-07 21:38:36 -08:00
Yifu Yu
14a9bba962
Make bitmap test runnable as a standalone.
2015-01-07 21:38:36 -08:00
Yifu Yu
20642d67cc
Remove unused StringIO.
...
StringIO does not exists on py3, which leads to failure of building.
2015-01-07 21:38:36 -08:00
Yifu Yu
152c8afcd3
Change bitmap test suite.
...
Strangely, the bitmap version of DejaVu Sans is always vertical
one pixer longer.
2015-01-07 21:38:36 -08:00
Yifu Yu
b2e10d25f6
Testcase added.
2015-01-07 21:38:35 -08:00
wiredfool
059a00eefa
Merge pull request #1064 from wiredfool/font-tests
...
Restrict tests to linux/osx
2014-12-31 20:14:14 -08:00
wiredfool
96c06de695
Restrict tests to linux/osx
2014-12-31 19:59:50 -08:00
wiredfool
ca4ec0cea2
Fixed array parameters to reflect new image resizing behavior
2014-12-31 17:17:42 -08:00
wiredfool
1aed192554
Merge pull request #1054 from charleslaw/master
...
Look for OSX and Linux fonts in common places (fixes #370 )
2014-12-31 14:43:13 -08:00
Hugo
b3e09122e5
Merge pull request #1060 from wiredfool/png-dos
...
Fix potential PNG decompression DOS
2014-12-31 20:32:41 +02:00
wiredfool
6696b780e3
Test style cleanup
2014-12-30 16:57:24 -08:00
wiredfool
0b75526ffe
Limit total text chunk size to 64k
2014-12-29 17:10:27 -08:00
wiredfool
6ffe9e1689
Merge pull request #1058 from hugovk/anntzer-tiff-resolution2
...
Tests for PR #1044 : Use underscores, not spaces, in TIFF tag kwargs
2014-12-29 15:23:20 -08:00
wiredfool
5390aa1692
Merge pull request #1055 from hugovk/test_psdraw
...
Update and test PSDraw
2014-12-29 15:17:23 -08:00
Charles Law
ee7b15c924
Add tests for finding fonts in linux and osx
2014-12-29 10:09:37 -08:00
wiredfool
b73c4b9e8b
Test change -- different representation for invalid compressed object
2014-12-28 22:50:03 -08:00
wiredfool
44286ba3c9
Fix for zlib.decompression bomb in iTXt,zTXt, and iCCP chunks
2014-12-28 22:49:52 -08:00
hugovk
6a1b33f415
Test deprecated tags
2014-12-28 16:30:12 +02:00
hugovk
7f057ed962
Test drawing diagonal lines
2014-12-27 22:50:17 +02:00
hugovk
31859521c9
Update test as textsize() isn't implemented
2014-12-27 22:04:34 +02:00
Christoph Gohlke
99d66ff0cc
Do not quit Python if numpy is not installed
2014-12-19 00:40:27 -08:00
hugovk
6da05b4026
Use fp instead of filename
2014-12-11 13:20:11 +02:00
hugovk
385ad47a9b
Test PSDraw
2014-12-11 13:06:53 +02:00
homm
43d5d06ce4
rename Image.ANTIALIAS to Image.LANCZOS
2014-11-28 01:41:56 +03:00
hugovk
c859e3bf40
Some landscape.io fixes
2014-11-27 21:43:45 +02:00
wiredfool
42b59046e7
Merge pull request #993 from moriyoshi/fix/moriyoshi/gif-encoder-optimization-bug
...
The optimization algorithm is only applicable to the image of mode="P" or "L".
2014-11-27 10:36:34 -08:00
wiredfool
9f7ee1cf91
Merge pull request #1024 from holg/master
...
[ADD] added PySide compability
2014-11-27 10:31:42 -08:00
wiredfool
e16ee15f2c
Merge pull request #997 from homm/replace-resize
...
Replace resize method
2014-11-27 10:26:48 -08:00
wiredfool
8a3302ba5d
Merge pull request #961 from homm/fast-box-blur
...
Merge Fast Gaussian Blur
2014-11-27 10:20:11 -08:00
holger
b6d8b3f950
[ADD] added PySide compability changes to Tests/test_imageqt.py
2014-11-22 09:52:23 +01:00
homm
107b4a8b07
sharp alpha channel
...
resolve sharp endianness issues
2014-11-22 01:58:31 +03:00
homm
1a097d2e02
Merge commit 'e0b94d65bedb4a2124228aa579686a3ba2974d11' into replace-resize
2014-11-19 13:45:04 +03:00
homm
814dd3123e
fix comments
2014-11-19 13:15:50 +03:00
homm
a86e032a18
return fresh image is no mode specified and cached version otherwise
2014-11-19 03:41:44 +03:00
homm
24ed800fae
merge imaging and imaging core resize tests
2014-11-19 03:06:26 +03:00
homm
513e2a12dd
resize test rework
2014-11-19 03:03:49 +03:00
Hugo
02476b7689
Remove unused variable, and other minor flake8 warnings
2014-11-17 10:33:31 +02:00
wiredfool
9a2cc7df83
hoist import, move test to libtiff
2014-11-15 20:38:52 -08:00
Martin Fergie
8b0ecb6192
Added test for different compression types.
2014-11-14 14:37:03 +00:00
Hugo
b5b0b889d3
Merge pull request #1009 from wiredfool/putdata-1008
...
Fix for Image.putdata segfault
2014-11-14 08:37:50 +02:00
wiredfool
a105cd7edb
Test for issue #1008
2014-11-13 15:33:37 -08:00
Hugo
5ae3c1c881
Merge pull request #1007 from wiredfool/ico_save
...
Ico save, additional tests
2014-11-13 10:09:14 +02:00
wiredfool
03d20d3b6a
More tests for ico save
2014-11-12 22:45:35 -08:00
homm
aabf66a7a4
fix tests: use im.transform
directly when result is compared
...
with other transform operations.
2014-11-10 02:11:12 +03:00
homm
3894dbe754
fix typo
2014-11-09 03:08:26 +03:00
homm
1a7c9b72ab
generalize endianess test
2014-11-09 03:08:25 +03:00
Eric Soroos
2657c0dec0
Test for endianness issues in stretch
2014-11-09 03:07:18 +03:00
Herb
79c7c7a01a
add tests and docs
2014-11-08 14:49:50 +08:00
wiredfool
cfbe49f124
Merge pull request #994 from homm/add-transpose
...
Add transpose and cache aware rotation
2014-11-07 13:58:18 -08:00
homm
9e5ee5a5bf
use not square image for test, fix tests
2014-11-07 13:15:51 +03:00
homm
4cf2f158b6
add test
...
update comment
2014-11-07 11:48:47 +03:00
wiredfool
8bb22793b3
Merge pull request #984 from hugovk/landscape-fixes
...
Fixed duplicate imports, naming variables after builtins
2014-11-06 21:50:00 -08:00
Moriyoshi Koizumi
9d60085957
The optimization algorithm is only applicable to the image of mode="P" or "L".
2014-11-06 21:29:27 +09:00
Hugo
675371b9b1
Make test_imaging_stretch.py runnable as a standalone script
2014-11-06 11:49:30 +02:00
wiredfool
20be641329
Merge pull request #970 from homm/fix-bicubic-stretch
...
Fix bicubic stretch interpolation
2014-11-05 17:45:47 -08:00
hugovk
6de030a165
Don't use builtin as variable
2014-11-01 09:55:15 +02:00
hugovk
947e34616c
Merge remote-tracking branch 'upstream/master' into landscape-fixes
2014-11-01 09:44:10 +02:00
Hugo
4d74b81a15
Merge pull request #980 from wiredfool/pr_938
...
4 bit TIFF support
2014-10-29 21:41:17 +02:00
hugovk
fb788b85a9
Cache hopper to reduce FS reads and speed up tests
2014-10-29 21:28:29 +02:00
wiredfool
72c6db99df
Merge pull request #976 from hugovk/tiff_ints
...
Fix saving TIFF with PageNumber total = 0
2014-10-29 11:11:10 -07:00
wiredfool
2d2474685a
Added 4bit test to libtiff as well
2014-10-29 11:07:20 -07:00
wiredfool
e6cbe05211
Merge pull request #929 from hugovk/MspImagePlugin
...
More tests for MspImagePlugin
2014-10-29 10:55:58 -07:00
Hugo
4a92c24aa6
Save to a self.tempfile() so it's properly cleaned up afterwards
2014-10-27 09:31:22 +02:00
hugovk
6ec6b16eb6
Test TIFF with PageNumber 0 0
2014-10-26 18:16:08 +02:00
hugovk
86c5fdc7aa
Created by printing a page in Chrome to PDF, then: /usr/bin/gs -q -sDEVICE=tiffg3 -sOutputFile=total-pages-zero.tif -dNOPAUSE /tmp/test.pdf -c quit
2014-10-26 18:14:34 +02:00
hugovk
f9bc87ed01
flake8
2014-10-26 11:24:57 +02:00
hugovk
e60683e3b1
Test opening TIFF with JPEGTables and saving it
2014-10-26 11:21:02 +02:00
hugovk
71a8d8db07
Created with ImageMagick: convert hopper.jpg hopper_jpg.tif
2014-10-26 11:15:29 +02:00
homm
c802abe219
change test due to different behavior on small radius
2014-10-25 17:06:27 +04:00
homm
65173f946b
replace gaussian blur with extended box blur implementation
2014-10-25 16:36:41 +04:00
homm
d89c9ab750
Merge branch 'gaussian-refactor' into fast-box-blur
2014-10-25 15:50:57 +04:00
homm
36cbb16bf6
Add tests. Rise for "P" and "1".
2014-10-25 14:23:07 +04:00
homm
c80fe312e4
Add extended box blur.
2014-10-20 10:48:16 +04:00
homm
f477cab940
test for multiple passes
2014-10-19 20:56:14 +04:00
homm
5ab12e0ee7
improve test: test grayscale and rgba with same cases
2014-10-19 13:54:18 +04:00
homm
0ff4b53a72
pep8
2014-10-15 12:40:26 +04:00
homm
53c8352f39
highlevel api
2014-10-15 04:08:21 +04:00
homm
5861a46a54
check image mode
2014-10-14 23:29:50 +04:00
homm
a27baf90be
fix large radius. tests
2014-10-14 03:26:46 +04:00
homm
a000cceb26
data tests
2014-10-13 04:07:17 +04:00
homm
c42991120a
fix tests and set default effective_scale value for gaussian filter
2014-10-12 14:05:22 +04:00