wiredfool
2fb9c1a337
Merge pull request #2431 from hugovk/test-hdf5stub
...
Test Hdf5StubImagePlugin for correctness
2017-03-01 09:15:53 +00:00
hugovk
48f6be40cc
Created via http://stackoverflow.com/a/29736206/724176
2017-02-28 22:21:47 +02:00
hugovk
76cde2fafb
convert hopper.png hopper.fits
2017-02-28 21:40:58 +02:00
Hugo
c9e139e260
Image created with Photoshop
2017-02-28 08:22:03 +02:00
Hugo
1a607bfd56
Resave hopper.psd with ICC profile, using Photoshop
2017-02-27 16:45:31 +02:00
wiredfool
c05ac25d6a
Merge pull request #2381 from hugovk/convert-matrix
...
Test matrix convert
2017-02-20 22:37:25 +00:00
wiredfool
d707cb3692
Tight similarity tests for XYZ conversion
2017-02-20 13:41:28 -08:00
wiredfool
9c4eafc188
Merge pull request #2382 from hugovk/test-effects
...
Test linear and radial gradient effects
2017-02-06 21:58:41 +00:00
hugovk
d7fe8d1eb7
Linear and radial gradient: only need one target image
2017-02-06 22:03:17 +02:00
hugovk
96dfd722c3
Test ImageDraw.Outline curve
2017-01-31 08:22:33 +02:00
hugovk
008431fe0e
Test ImageDraw.Outline curve
2017-01-30 21:50:48 +02:00
hugovk
07af06bf8c
Expose and test radial_gradient
2017-01-29 18:44:24 +02:00
hugovk
47b1c66961
Expose and test linear_gradient
2017-01-29 18:17:31 +02:00
wiredfool
7228de1491
test image
2016-12-31 19:31:02 +00:00
wiredfool
95888466c8
Added correctness tests for opening SGI images
2016-12-30 22:20:46 +00:00
Alexander
52c8e2050e
replace test "1"-mode image
2016-12-07 03:09:13 +03:00
hugovk
4061c3836c
Created with IrfanView
2016-11-30 14:38:04 +02:00
glexey
0116c9240e
EMF: support negative bounding box coordinates ( #2249 )
...
* EMF: support negative bounding box coordinates
Similar to placeable WMF, bounding box coordinates
should be interpreted as signed integer, otherwise
opening EMF file with negative (x0,y0) fails.
* Basic load tests for WMF and EMF formats
* WMF/WMF tests: just test open(), not load()
Not sure why load() fails on Debian build. Well, at least we can test
open().
* WMF/EMF: Unpack signed integers using unpack()
* WMF/EMF: Compare to reference PNG rendering
* EMF/WMF comparison: use assert_image_similar()
* Use similarity epsilon 0.5 for WMF, as vector rendering looks different across Windows platforms
* Trigger rebuild
2016-11-27 16:03:51 +00:00
wiredfool
e43c91cf1c
Working 1 bit sun_rle raster file
2016-11-19 19:16:46 -08:00
Jake Merdich
991df9b87a
Update test image for xbgr bmp files
2016-11-14 10:26:57 -05:00
Jake Merdich
e63b97ea42
Add testing for bmp 'questionable' files
2016-11-14 10:10:56 -05:00
wiredfool
c50ebe6459
Map.c overflow fixes
2016-10-03 07:27:02 -07:00
wiredfool
5d8a0be45a
Memory error in Storage.c when accepting negative image size arguments
2016-10-03 07:27:02 -07:00
wiredfool
2db3f00e92
Merge pull request #2141 from wiredfool/tiff_fd
...
Move libtiff fd duplication to _load_libtiff
2016-10-03 06:03:50 -07:00
wiredfool
b81da5a322
Tests for issue #1651
2016-09-29 22:29:19 +01:00
Marcus Brinkmann
c74e45e87c
Force reloading palette when using mmap in ImageFile.
2016-09-29 14:54:25 +02:00
Robert Nix
2be760ca79
Add support for BC7 to DdsImagePlugin
2016-08-26 02:26:03 -05:00
Robert Nix
b46804ea27
Add support for DXT3 to DdsImagePlugin
2016-08-25 20:12:44 -05:00
Robert Nix
18a91cebcf
Move DDS decoders to C
...
- Fixed inaccurate BC1/BC3 texture decoding
2016-08-25 19:27:48 -05:00
homm
2221a6467c
fix test which relied on old bugs
2016-07-11 01:47:25 +03:00
wiredfool
872fd0652e
Merge pull request #1846 from wiredfool/pr_1826
...
EPS + CMYK
2016-06-30 15:23:24 +01:00
wiredfool
97dbb5cd33
Merge pull request #1977 from kkopachev/jpeg-junk-header
...
Skip extra 0xff00 in jpeg
2016-06-25 15:30:19 +01:00
wiredfool
c1d25d9062
Merge pull request #1985 from wiredfool/palette
...
Use bytearray for mutable palette storage
2016-06-25 15:14:07 +01:00
wiredfool
95874635e1
Merge pull request #1984 from wiredfool/pr_1824
...
Pr 1824 rebase
2016-06-25 15:01:34 +01:00
Bryant Mairs
7fb24e8af0
Add test for reading and writing uint16 TIFFs.
2016-06-25 12:20:37 +01:00
Konstantin Kopachev
c8f93c979c
Skip extra 0xff00 in jpeg
2016-06-22 13:36:23 -07:00
Andrew Murray
3c2e374824
Added test
2016-06-09 22:28:29 +01:00
homm
1a6c6b1250
tests for icc profile in png
2016-05-12 20:31:54 +03: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
219182beda
Removing all transparency from the test image
2016-04-29 21:17:18 +01:00
wiredfool
300ca19a0e
Merge pull request #1854 from hugovk/tga-rle
...
Test TGA RLE file
2016-04-29 20:44:32 +01:00
hugovk
272f11434d
convert hopper.png -compress lzw hopper_lzw.tif
2016-04-21 23:09:23 +03:00
hugovk
ad299ea9e5
Source: https://samples.libav.org/image-samples/TGA/
2016-04-21 17:49:25 +03: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
faeb269e30
Revert "Fix for DIB/BMP images"
2016-04-19 16:37:29 +01:00
Andrew Murray
392d567352
Added CMYK mode for opening EPS files
2016-04-13 18:27:46 +10: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
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
wiredfool
26970c5e21
Merge pull request #1782 from radarhere/compression
...
Different frames may have different compression types
2016-04-01 03:38:18 -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
43b4b8d664
Fix for UnboundLocalError with corrupt jpeg2k file
2016-03-26 13:41:00 -07: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
ae453aa18b
PCD decoder overruns the shuffle buffer, Fixes #568
2016-02-02 05:46:26 -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
99e88c7796
Merge pull request #1653 from wiredfool/gbr
...
Fixed long broken GBRImagePlugin
2016-01-31 09:03:03 -08:00
wiredfool
13f2d22700
Correctness tests for DDS
2016-01-08 07:59:18 -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
02ec83ee64
Test image from https://github.com/python-pillow/Pillow/pull/1644#issuecomment-169101551
2016-01-06 11:57:51 +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
wiredfool
e5076a3278
Merge pull request #1620 from wiredfool/issue_1597
...
Partial fix for #1597
2016-01-01 07:47:58 -08: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
hugovk
d9c90bba91
Test passes for 2.9.0, fails for 3.0.0
2015-12-29 22:57:36 +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
hugovk
731d0b1b73
Default spacing of 4, update tests
2015-12-06 18:31:33 +02:00
hugovk
c82b54b896
Update tests
2015-12-06 15:57:19 +02:00
Andrew Murray
0c3e224537
Throw TypeError if no cursors were found in .cur file
2015-11-26 19:56:41 +11:00
Andrew Murray
4d7b630b33
Catch OverflowError in SpiderImagePlugin
2015-11-18 01:18:01 +11:00
wiredfool
4883c4d202
image for test
2015-11-15 16:43:16 +00: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
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
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
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
homm
f46d65d0a4
test for this
2015-09-15 20:12:16 +03:00
Hugo van Kemenade
991829b75a
Merge pull request #1414 from wiredfool/pr1360
...
Catch TypeError in _getexif
2015-09-10 19:11:32 +03: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
homm
0b19a86087
skip any number extraneous chars at the end of chunks
2015-09-08 18:05:37 +03:00
homm
430e9922eb
test for loading truncated image and raising proper exception
2015-09-08 17:43:12 +03:00
Andrew Murray
3a25b1cd9b
Added test for _getexif TypeError
2015-07-29 23:38:26 +10:00
Andrew Murray
2a3a34d2ff
Treat MPO with unknown header as base JPEG file
2015-07-19 22:56:04 +10: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
hugovk
593a910e92
Unit test and image: convert hopper.png hopper.bmp
2015-06-30 07:09:35 +03:00
Andrew Murray
b7335ec9d9
Added multiline tests
2015-06-18 17:51:33 +10:00
wiredfool
d2e54d7973
Merge pull request #1255 from radarhere/polygon
...
Fixed polygon edge drawing
2015-06-17 18:18:36 -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
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
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
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
883858151d
Simple test for 1104
2015-03-26 14:05:17 +02:00
wiredfool
44286ba3c9
Fix for zlib.decompression bomb in iTXt,zTXt, and iCCP chunks
2014-12-28 22:49:52 -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
Hugo
4d74b81a15
Merge pull request #980 from wiredfool/pr_938
...
4 bit TIFF support
2014-10-29 21:41:17 +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
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
71a8d8db07
Created with ImageMagick: convert hopper.jpg hopper_jpg.tif
2014-10-26 11:15:29 +02:00
homm
ddae12928a
add detailed test for blur and simple test for sharp
2014-10-08 12:51:34 +04:00
Hugo
29b1c81a9e
Created with ImageMagick: convert tests\images\hopper.jpg -colorspace Gray -colors 16 -depth 4 tests\images\hopper_gray_4bpp.tif
2014-10-02 10:31:30 +03:00
Hugo
8fbd18a706
Merge remote-tracking branch 'upstream/master' into MspImagePlugin
...
Conflicts:
Tests/helper.py
2014-09-30 13:05:58 +03:00
wiredfool
7fcb371fd3
Merge pull request #926 from wiredfool/fli
...
Replace lena.fli with hopper.fli
2014-09-29 10:58:52 -07:00
wiredfool
8d84f79f44
Replace lena.fli with hopper.fli
2014-09-29 10:40:33 -07:00
Hugo
0aa48600a2
Add a layer to hopper.psd, because lena.psd had layers
2014-09-23 17:09:43 +03:00
Hugo
a5fc5e3e7e
Made with ImageMagick: convert hopper_bw_500.png -compress group4 hopper_g4_500.tif
2014-09-23 16:15:26 +03:00
Hugo
d306223ae3
Made with ImageMagick: convert hopper.jpg -resize 500x500 -monochrome hopper_bw_500.png
2014-09-23 16:15:09 +03:00
Hugo
c793323cbc
Replace lena.xpm with hopper.xpm
2014-09-23 16:01:58 +03:00
Hugo
a608e15fad
Created with ImageMagick: convert hopper.jpg -colors 44 hopper.xpm
2014-09-23 16:00:43 +03:00
Hugo
468cea1be0
Replace lena.psd with hopper.psd
2014-09-23 13:53:51 +03:00
Hugo
b60a06e59a
Created with Photoshop: open hopper.jpg, save as PSD
2014-09-23 13:51:35 +03:00
Hugo
781da7d465
Replace lena.Lab.tif with hopper.Lab.tif + flake8
2014-09-23 13:45:32 +03:00
Hugo
ae9da298b9
Created in Photoshop: open hopper.jpg, convert to Lab, save
2014-09-23 13:44:05 +03:00
Hugo
925cea3780
Replace lena_g4.tif with hopper_g4.tif
2014-09-23 10:57:55 +03:00
Hugo
c417b51115
Created with ImageMagick: convert hopper.png -compress group4 hopper_g4.tif
2014-09-23 10:30:14 +03:00
Hugo
04d402adae
Replace lena with hopper
2014-09-22 19:00:22 +03:00
Hugo
45a616ef80
Created with Pillow: im = Image.open('hopper.jpg'); im = im.convert('1'); im.save('hopper.msp')
2014-09-18 14:44:41 +03:00
hugovk
a2e729f487
Replace some lena with hopper
2014-09-14 22:58:23 +03:00
hugovk
bd3e54938f
Made with ImageMagick: convert hopper.jpg -colorspace Gray hopper_gray.jpg
2014-09-14 22:47:43 +03:00
hugovk
eb458c7c8f
Replace lena.tif with hopper.tif (created with ImageMagick)
2014-09-05 12:14:45 +03:00
Hugo
5f4c758b99
Convert .ico to 8-bit to match lena.ico: convert hopper.ico -alpha off -colors 256 hopper2.ico
2014-09-04 22:53:35 +03:00
hugovk
3ec65f8614
Replace lena.ico with hopper.ico. Created with ImageMagick: convert hopper.jpg -resize 16x16 hopper.ico
2014-09-04 13:29:35 +03:00
hugovk
76a7965187
Replace lena.dcx with hopper.dcx. Created with ImageMagick: convert hopper.ppm hopper.dcx
2014-09-04 13:24:53 +03:00
hugovk
4a243e90bc
Replace lena.ras with hopper.ras, created with ImageMagick: convert hopper.jpg hopper.ras
2014-09-04 12:59:03 +03:00
hugovk
53a04a4118
Replace lena.spider with hopper.spider, created with Pillow.
2014-09-04 12:28:37 +03:00
hugovk
14ac9ce59c
Replace lena.tar with hopper.tar
2014-09-04 12:21:19 +03:00
hugovk
06a2378f52
Remove lena.png
2014-09-04 12:13:43 +03:00
hugovk
e524bcc327
Created with ImageMagick: convert hopper.jpg hopper.png
2014-09-04 12:09:15 +03:00
hugovk
b451c6f410
Replace lena.rgb and lena.bw with hopper
2014-09-04 10:31:16 +03:00
hugovk
513422323b
Created with ImageMagick then renamed: convert hopper.ppm hopper.sgi
2014-09-04 10:29:39 +03:00
hugovk
5b01333f62
Created with ImageMagick then renamed: convert hopper.ppm -monochrome hopper.sgi
2014-09-04 10:24:13 +03:00
Hugo
d7f7965aa2
Replace lena.gif with hopper.gif
2014-09-04 08:44:46 +03:00
Hugo
b248dcd019
Image created by Pillow via test_effect_spread()
2014-09-04 08:42:46 +03:00
Hugo
c1c77c4a63
Fix path
2014-09-04 08:42:12 +03:00
Hugo
4cafbf5112
Fix path
2014-09-04 08:26:50 +03:00
Hugo
2798589a24
Crop, resize and rename
2014-09-03 22:58:03 +03:00
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
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
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
86d5d8abed
Merge pull request #882 from hugovk/effects
...
Tests and access functions for Effects.c
2014-09-02 14:36:24 -07: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
dbf0ee3631
Add (failing) test for GIMP 1.3 gradient files and .ggr by me
2014-08-26 12:04:04 +03:00
hugovk
674fd9744d
Tests for GimpGradientFile and a sample .ggr by me
2014-08-26 11:45:28 +03:00
Alexey Buzanov
f94b6b4025
flake8 and tests
2014-08-20 10:32:06 +04:00
hugovk
e49e689c70
Add JPEG with IPTC data. My image, permission given to distribute under MIT licence
2014-07-30 19:33:04 +03:00
Eric W. Brown
6605bf22e5
Merge branch 'master' of https://github.com/python-pillow/Pillow
2014-07-23 09:22:15 -04:00
wiredfool
bf2014ece6
Merge pull request #803 from hugovk/SgiImagePlugin
...
Sanity tests for SgiImagePlugin.py
2014-07-19 21:21:11 -07:00
hugovk
84b13ff1ae
Created with ImageMagick: convert lena.ppm lena.dcx
2014-07-17 01:19:52 +03:00
hugovk
1ff695873f
Cursor image by Miss Mycroft, 'Released under the Release to Public Domain license' http://www.rw-designer.com/cursor-detail/61757
2014-07-16 23:44:35 +03:00
hugovk
535494d862
Created with ImageMagick: convert transparent.png transparent.sgi
2014-07-16 21:27:31 +03:00
hugovk
e29c2d49c0
Created with ImageMagick then renamed: convert lena.ppm -monochrome lena.sgi
2014-07-16 21:27:06 +03:00
hugovk
cc27e8d532
Created with ImageMagick then renamed: convert lena.ppm lena.sgi
2014-07-16 21:26:47 +03:00
hugovk
5db868e060
Created with ImageMagick: convert lena.ppm lena.ras
2014-07-16 14:20:15 +03:00
Eric W. Brown
2609a24221
Moved images to correct place.
...
Accidentally uploaded images to their initial test location, not the
proper location used by other tests.
2014-07-15 17:43:31 -04:00
wiredfool
552effb90d
Merge #772 and master
2014-07-08 10:29:53 -07:00
Alex Clark ☺
962f1b46af
Merge pull request #784 from tk0miya/master
...
Fix return value of FreeTypeFont.textsize() does not include font offsets
2014-07-08 05:14:01 -04:00
Hugo
cb5ed5973a
Merge pull request #765 from larsjsol/master
...
Fix dispose calculations for animated GIFs
2014-07-07 23:04:38 +03:00
Lars Jørgen Solberg
5fa2794386
Tests dispose and transparency for animated gifs
2014-07-07 20:47:18 +02:00
Takeshi KOMIYA
60628c77b3
Fix return value of FreeTypeFont.textsize() does not include font offsets
2014-07-07 14:42:46 +09:00
hugovk
ff6a0b9b8c
Add test image using ImageFont's default font
2014-07-05 00:18:52 +03:00
wiredfool
668141a898
updated imagedraw tests
2014-06-30 15:03:57 -07:00
wiredfool
3bf375c5f7
Merge branch 'master' into terseus_imagedraw
2014-06-30 14:24:59 -07:00
David Joy
b147dea535
Add tests and fix a 16bit vs 32bit integer bug
...
Yay unit tests!
2014-06-25 14:06:56 -04:00
wiredfool
a990af1b97
Merge from master
2014-06-24 16:48:38 -07:00
Hugo
0cd52412b1
Merge pull request #654 from wiredfool/cleanup
...
Thanks.
2014-06-24 12:16:13 +03:00
wiredfool
6dce921dad
Merge branch 'master' into morphology
2014-06-23 16:21:33 -07:00
hugovk
a600f84029
Move images from Images/ to Tests/images/
2014-06-23 09:04:23 +03:00
wiredfool
b8834fa3a6
Additional tests, tests in functions
2014-06-19 14:55:43 -07:00
wiredfool
618a79c1c6
Merge from master, pre-unittest conversion
2014-06-03 14:42:22 -07:00
wiredfool
5b73d8f57b
Merge pull request #661 from hugovk/test_imagedraw
...
Add more ImageDraw tests
2014-06-01 09:09:58 -07:00
wiredfool
60e2eaa5e9
Merge pull request #680 from hugovk/spider
...
Add tests for SPIDER image files
2014-05-30 08:46:33 -07:00
hugovk
268c419d7c
Simple spider test. Test image created with Pillow.
2014-05-26 20:09:12 +03:00
wiredfool
3f18e0adfe
Merge pull request #619 from eliempje/master
...
Bugfix: EPS thumbnail failed
2014-05-24 13:09:25 +01:00
hugovk
9c048e44d1
Permission to use and distribute (under the MIT license) this image as a testfile granted by cepreu2github: https://github.com/python-imaging/Pillow/issues/630#issuecomment-43674288
2014-05-21 14:30:05 +03:00
eliempje
a712cec02b
Added test and testfile for issue #302
2014-05-14 23:14:55 +02:00
hugovk
60b2570133
Test ImageDraw's bitmap()
2014-05-13 14:43:48 +03:00
hugovk
5b55cb72d3
Test experimental floodfill with a border
2014-05-12 23:33:05 +03:00
hugovk
961db29ff6
Test experimental floodfill()
2014-05-12 23:27:02 +03:00
hugovk
6b274b4c5e
More ImageDraw tests. Some may need redoing after issues #367 and #463 are sorted.
2014-05-12 21:45:16 +03:00
hugovk
92eea7a9cc
Tests for ImageDraw
2014-05-12 17:32:04 +03:00
wiredfool
471a1420b9
Merge commit '329fd00d3fe2709c043c73e075da03b6d9729a2b' into cleanup
2014-05-09 20:53:06 -07:00
wiredfool
ca36b6cd36
Merge pull request #606 from wiredfool/pgm
...
16 bit Read/Write PGM support.
2014-04-17 12:22:18 -07:00
wiredfool
1945fd6cb4
Merge pull request #618 from hugovk/master
...
Add version 0.30 of OleFileIO (2014-02-04)
2014-04-17 12:19:03 -07:00
hugovk
329fd00d3f
Test j2k
2014-04-14 13:49:29 +03:00
hugovk
2271ee6f65
Add some simple tests for OleFileIO.py
2014-04-11 14:53:33 +03:00
hijackal
7f164d641f
Test image: TIFF for OPEN_INFO = {(II, 0, 3, 1, (32,), ()): ("F", "F;32F")}
2014-04-11 11:39:05 +02:00
Terseus
b987d90568
Added tests for lines with 1px slope
...
This tests are designed to guarantee that the wide lines behave exactly
like normal lines drawn with the Bresenham's algorithm.
This tests are somewhat subjective since this is non-defined behavior,
but I think that mimic the Bresenham's algorithm is reliable enough.
Currently the horizontal version of this test **fail**.
2014-04-09 19:34:50 +02:00
Terseus
4b7236f460
Added tests of hor/ver lines 101px wide
...
These tests should guarantee that the proportion of the width is
maintained with a margin of error < 1%.
2014-04-09 19:34:50 +02:00
Terseus
8228caf14d
Added some oblique 45º lines tests
...
Only the oblique 3 pixels wide lines are defined:
* The oblique 2 pixels wide lines are somewhat hard to define.
* To define the oblique lines wider than 3 pixels we neet to define
first how the oblique lines should expand their width (realistic or
exact).
2014-04-09 19:33:46 +02:00
wiredfool
864fb95cb1
Read test for 16 bit binary pgm file, #602
2014-04-07 22:10:45 -07:00
Terseus
1c02d467ef
Added test for vertical lines.
...
The behavior is consistent with horizontal lines, see previous commit
for details.
2014-04-04 12:45:47 +02:00
Terseus
fee2faa8dc
Added test for horizontal lines
...
Notice that the expansion of the line width depends on the order of the
points:
* If the bigger axis value is provided as the *second* point the line
expand first to the *positive* side of the axis.
* If the bigger axis value is provided as the *first* point the line
expand first to the *negative* side of the axis.
* If the line's width is odd this doesn't matter, as the line will
expand the same amount to both sides.
This behavior should be consistent in both horizontal and vertical lines.
2014-04-04 12:35:26 +02:00
Terseus
e2cb2195eb
Added test for a simple right triangle
...
The diagonals of the right angled edges must be perfect and the bottom
vertice should be drawn.
2014-04-04 11:46:58 +02:00
Terseus
ec74779b19
Added test for a simple square
2014-04-04 11:28:41 +02:00
Alastair Houghton
5dd67abd71
Merge branch 'master' into icns-support
2014-03-28 09:15:20 +00:00
Alastair Houghton
c2ddcbfde9
Merge JPEG 2000 icon support.
2014-03-28 09:11:45 +00:00
Alastair Houghton
5aac5b7eff
Made JPEG2K support for files conditional on its inclusion in pillow build. Added a JPEG2K icon test.
2014-03-28 09:09:55 +00:00
wiredfool
2b81156619
merge to master
2014-03-26 18:46:35 -07:00
Alastair Houghton
1dfa9faae2
Updated icons.
2014-03-26 14:08:54 +00:00
Alastair Houghton
cbe7e93bdd
Merge branch 'icns-support' into icns+jp2k
2014-03-26 11:18:26 +00:00
Alastair Houghton
5904ac1718
Added some tests and a couple of icns files.
2014-03-26 10:49:39 +00:00
Alastair Houghton
f1b79ec5c0
Really added the tests this time.
2014-03-19 12:17:14 +00:00
Alex Clark ☺
054eb71bc6
Merge pull request #525 from wiredfool/ico_parser
...
Make ICO files work with the ImageFile.Parser interface, fixes #522
2014-03-17 10:14:03 -04:00
Alex Clark
0e9f4c6c60
Merge branch 'dschmidt_palette_513' of https://github.com/wiredfool/Pillow into wiredfool-dschmidt_palette_513
2014-03-17 09:48:24 -04:00
wiredfool
0fc225c358
test for issue #434
2014-03-04 22:29:55 -08:00
wiredfool
36323d1140
Make ICO files work with the ImageFile.Parser interface, fixes #522
2014-02-16 20:58:06 -08:00
wiredfool
4d32136365
Working in py3k, not in 2.x
2014-02-04 21:41:16 -08:00
wiredfool
c9955628e2
Merge from master
2014-01-31 21:38:34 -08:00
wiredfool
0d97ad0d8c
Test Images
2014-01-23 20:29:58 -08:00
wiredfool
598bd02650
Tightened up the tests
2014-01-21 20:50:54 -08:00
Bruno Renié
e1e64904c7
Cleanup handling of ICC profile, more extensive testing
2014-01-19 19:09:40 +01:00
Bruno Renié
0348fcac51
Fix crash on save when icc_profile is None
2014-01-19 16:40:39 +01:00
Alex Clark ☺
d48f301d57
Merge pull request #423 from wiredfool/trns-png
...
Support for PNG tRNS header when converting from RGB->RGBA
2013-12-28 05:56:03 -08:00
wiredfool
aa1c0fdfb6
merge from master
2013-12-19 20:48:49 -08:00
wiredfool
543f96de61
Merge from master
2013-11-30 09:57:00 -08:00
nikmolnar
d030b4f48a
Added a test for issue #421
2013-11-22 16:04:51 -08:00
wiredfool
b73ae9c27a
Tests for 12bit tiff rawmode
2013-11-20 16:54:49 -08: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
wiredfool
63995459bc
merge from master
2013-10-22 16:18:06 -07:00
Eric Soroos
1945fecdb6
Tests for endian issues in decoding 16bit tif images
2013-10-21 05:19:52 +00:00
wiredfool
1865a5c438
Shifting the midpoint of the ab channels to 128. unshifting back to signed int on pack
2013-10-15 22:06:30 -07:00
wiredfool
4458787f5e
Back to RGBx format, 3 bands in 4 bytes. Tests for internal consistency
2013-10-14 22:47:27 -07:00
wiredfool
ac38d91a2d
Well, now I know _why_ it's failing. We don't have a concept for LAB color
2013-10-10 23:02:33 -07:00
wiredfool
0bded743f5
Additional test image
2013-10-07 23:14:46 -07:00
Christoph Gohlke
ada10a0ba4
Circumvent classification of pngtest_bad.png as malware
2013-09-27 16:35:37 -07:00
wiredfool
35c9f59c38
testcase for multiline text spacing
2013-09-24 14:23:17 -07:00
wiredfool
d67d4116b5
tests for issue #279
2013-07-10 22:24:11 -07:00
wiredfool
5b269a6ab7
small test image for I;16 => F conversion
2013-07-08 23:26:45 -07:00
Bernardo Heynemann
b4735f7829
Adding support for metadata in webp images.
...
Pillow now uses the webpmux library to envelop the webp images in RIFF. This allows for easy support of exif and icc_profile metadata.
Also included tests that verify compatibility with jpeg for exif and icc_profile metadata.
If the user does not have webp with webpmux enabled, pillow will fall back to the previous approach, meaning no exif or icc_profile metadata will be read or written to.
2013-07-04 18:04:07 -03:00
Alexey Buzanov
a130c45990
add several TIFF decoders and encoders
2013-07-01 18:45:42 +04:00
David Schmidt
5303f0ea66
added tests to cover save of four different png transparencies
2013-03-26 11:24:07 +01:00
wiredfool
d678b97444
added write verification test
2013-03-19 13:49:01 -07:00
wiredfool
02931c4956
checking results of webp decoding
2013-03-19 13:40:10 -07:00
Christoph Gohlke
bd55b8baf1
End 'Make' tag with null byte
2013-03-14 16:06:20 -07:00
wiredfool
00de0292ac
test suite for g4 tiff images
2013-03-11 22:04:22 -07:00
Brian Crowell
718dbcc8ca
py3k: Provide the missing pngtest_bad.png.base64
...
This is from http://scary.beasts.org/security/CESA-2004-001.txt . This was
missing from Gohlke's tests. With this file, I see 79 tests and no failures
on my setup from 2.6/2.7.
2013-01-10 08:46:41 -06:00
Brian Crowell
ad784eb808
py3k: Import Christoph Gohlke's test suite
...
This is Christoph Gohlke's test suite from his personal PIL package found
at http://www.lfd.uci.edu/~gohlke/pythonlibs/ .
This is just to bring it in as a separate commit. Future commits will align
it with Pillow.
2013-01-10 08:46:39 -06:00