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