Pillow/Tests/images
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
..
bmp Test Images 2014-01-23 20:29:58 -08:00
imagedraw Added tests for lines with 1px slope 2014-04-09 19:34:50 +02:00
7x13.png bug fix: Qt wants data aligned to 32 bits 2015-09-18 16:07:35 -04:00
10ct_32bit_128.tiff Test image: TIFF for OPEN_INFO = {(II, 0, 3, 1, (32,), ()): ("F", "F;32F")} 2014-04-11 11:39:05 +02:00
12bit.cropped.tif Tests for 12bit tiff rawmode 2013-11-20 16:54:49 -08:00
12in16bit.tif Tests for 12bit tiff rawmode 2013-11-20 16:54:49 -08:00
16_bit_binary_pgm.png Read test for 16 bit binary pgm file, #602 2014-04-07 22:10:45 -07:00
16_bit_binary.pgm Read test for 16 bit binary pgm file, #602 2014-04-07 22:10:45 -07:00
16bit.cropped.j2k Add tests and fix a 16bit vs 32bit integer bug 2014-06-25 14:06:56 -04:00
16bit.cropped.jp2 Add tests and fix a 16bit vs 32bit integer bug 2014-06-25 14:06:56 -04:00
16bit.cropped.tif Renamed test tiff files to 16bit*. They are 12bit data in a 16bit format 2013-11-19 14:48:01 -08:00
16bit.deflate.tif Renamed test tiff files to 16bit*. They are 12bit data in a 16bit format 2013-11-19 14:48:01 -08:00
16bit.MM.cropped.tif Renamed test tiff files to 16bit*. They are 12bit data in a 16bit format 2013-11-19 14:48:01 -08:00
16bit.MM.deflate.tif Renamed test tiff files to 16bit*. They are 12bit data in a 16bit format 2013-11-19 14:48:01 -08:00
bad_palette_entry.gpl More GIMP palette tests 2015-07-01 14:28:34 +03:00
bad_palette_file.gpl More GIMP palette tests 2015-07-01 14:28:34 +03:00
binary_preview_map.eps Added test and testfile for issue #302 2014-05-14 23:14:55 +02:00
broken.png py3k: Import Christoph Gohlke's test suite 2013-01-10 08:46:39 -06:00
caption_6_33_22.png py3k: Import Christoph Gohlke's test suite 2013-01-10 08:46:39 -06:00
color_snakes.png add detailed test for blur and simple test for sharp 2014-10-08 12:51:34 +04:00
corner.lut Additional tests, tests in functions 2014-06-19 14:55:43 -07:00
courB08.bdf Move images from Images/ to Tests/images/ 2014-06-23 09:04:23 +03:00
courB08.pbm Move images from Images/ to Tests/images/ 2014-06-23 09:04:23 +03:00
courB08.pil Move images from Images/ to Tests/images/ 2014-06-23 09:04:23 +03:00
create_eps.gnuplot Test harness for EPS files. 2013-11-20 00:43:10 -06:00
custom_gimp_palette.gpl More GIMP palette tests 2015-07-01 14:28:34 +03:00
deerstalker.cur 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
default_font.png Add test image using ImageFont's default font 2014-07-05 00:18:52 +03:00
dilation4.lut Additional tests, tests in functions 2014-06-19 14:55:43 -07:00
dilation8.lut Additional tests, tests in functions 2014-06-19 14:55:43 -07:00
dispose_bgnd.gif Tests dispose and transparency for animated gifs 2014-07-07 20:47:18 +02:00
dispose_none.gif Tests dispose and transparency for animated gifs 2014-07-07 20:47:18 +02:00
dispose_prev.gif Tests dispose and transparency for animated gifs 2014-07-07 20:47:18 +02:00
edge.lut Additional tests, tests in functions 2014-06-19 14:55:43 -07:00
effect_mandelbrot.png Add access functions for ImagingEffectSpread with a test 2014-09-02 15:53:58 +03:00
effect_spread.png Image created by Pillow via test_effect_spread() 2014-09-04 08:42:46 +03:00
erosion4.lut Additional tests, tests in functions 2014-06-19 14:55:43 -07:00
erosion8.lut Additional tests, tests in functions 2014-06-19 14:55:43 -07:00
exif_gps_typeerror.jpg Added test for typeerror test for gpsexif 2015-09-10 05:32:11 -07:00
exif_typeerror.jpg Added test for _getexif TypeError 2015-07-29 23:38:26 +10:00
flower.jpg Adding support for metadata in webp images. 2013-07-04 18:04:07 -03:00
flower.webp Move images from Images/ to Tests/images/ 2014-06-23 09:04:23 +03:00
flower2.jpg Adding support for metadata in webp images. 2013-07-04 18:04:07 -03:00
flower2.webp Move images from Images/ to Tests/images/ 2014-06-23 09:04:23 +03:00
frozenpond.mpo Moved images to correct place. 2014-07-15 17:43:31 -04:00
g4-fillorder-test.png tests for issue #279 2013-07-10 22:24:11 -07:00
g4-fillorder-test.tif tests for issue #279 2013-07-10 22:24:11 -07:00
gimp_gradient_with_name.ggr Add (failing) test for GIMP 1.3 gradient files and .ggr by me 2014-08-26 12:04:04 +03:00
gimp_gradient.ggr Tests for GimpGradientFile and a sample .ggr by me 2014-08-26 11:45:28 +03:00
high_ascii_chars.png Working in py3k, not in 2.x 2014-02-04 21:41:16 -08:00
hopper_bad_exif.jpg Added test for bad EXIF data 2015-06-07 00:10:15 +10:00
hopper_bw_500.png Made with ImageMagick: convert hopper.jpg -resize 500x500 -monochrome hopper_bw_500.png 2014-09-23 16:15:09 +03:00
hopper_g4_500.tif Made with ImageMagick: convert hopper_bw_500.png -compress group4 hopper_g4_500.tif 2014-09-23 16:15:26 +03:00
hopper_g4.tif Created with ImageMagick: convert hopper.png -compress group4 hopper_g4.tif 2014-09-23 10:30:14 +03:00
hopper_gray_4bpp.tif 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
hopper_gray.jpg Made with ImageMagick: convert hopper.jpg -colorspace Gray hopper_gray.jpg 2014-09-14 22:47:43 +03:00
hopper_merged.psd Added tests 2015-06-08 01:02:43 +10:00
hopper_underscore.xbm Fix comment and file 2015-05-12 13:34:18 +03:00
hopper_webp_bits.ppm Replace lena with hopper 2014-09-22 19:00:22 +03:00
hopper_webp_write.ppm Replace lena with hopper 2014-09-22 19:00:22 +03:00
hopper.bmp Unit test and image: convert hopper.png hopper.bmp 2015-06-30 07:09:35 +03:00
hopper.bw Created with ImageMagick then renamed: convert hopper.ppm -monochrome hopper.sgi 2014-09-04 10:24:13 +03:00
hopper.dcx Replace lena.dcx with hopper.dcx. Created with ImageMagick: convert hopper.ppm hopper.dcx 2014-09-04 13:24:53 +03:00
hopper.fli Replace lena.fli with hopper.fli 2014-09-29 10:40:33 -07:00
hopper.gif Fix path 2014-09-04 08:42:12 +03:00
hopper.ico 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
hopper.im Added tests 2015-06-08 01:02:43 +10:00
hopper.jpg Fix path 2014-09-04 08:26:50 +03:00
hopper.Lab.tif Created in Photoshop: open hopper.jpg, convert to Lab, save 2014-09-23 13:44:05 +03:00
hopper.msp Created with Pillow: im = Image.open('hopper.jpg'); im = im.convert('1'); im.save('hopper.msp') 2014-09-18 14:44:41 +03:00
hopper.png Created with ImageMagick: convert hopper.jpg hopper.png 2014-09-04 12:09:15 +03:00
hopper.ppm Fix path 2014-09-04 08:26:50 +03:00
hopper.psd Add a layer to hopper.psd, because lena.psd had layers 2014-09-23 17:09:43 +03:00
hopper.ras Replace lena.ras with hopper.ras, created with ImageMagick: convert hopper.jpg hopper.ras 2014-09-04 12:59:03 +03:00
hopper.rgb Created with ImageMagick then renamed: convert hopper.ppm hopper.sgi 2014-09-04 10:29:39 +03:00
hopper.spider Replace lena.spider with hopper.spider, created with Pillow. 2014-09-04 12:28:37 +03:00
hopper.tar Replace lena.tar with hopper.tar 2014-09-04 12:21:19 +03:00
hopper.tif Replace lena.tif with hopper.tif (created with ImageMagick) 2014-09-05 12:14:45 +03:00
hopper.webp Replace lena with hopper 2014-09-22 19:00:22 +03:00
hopper.xbm Passing test for hopper.xbm and failing test for hopper_underscore.xbm 2015-05-12 12:43:58 +03:00
hopper.xpm Created with ImageMagick: convert hopper.jpg -colors 44 hopper.xpm 2014-09-23 16:00:43 +03:00
icc_profile_none.png Fix crash on save when icc_profile is None 2014-01-19 16:40:39 +01:00
illu10_no_preview.eps Simple test for 1104 2015-03-26 14:05:17 +02:00
illu10_preview.eps Simple test for 1104 2015-03-26 14:05:17 +02:00
illuCS6_no_preview.eps Simple test for 1104 2015-03-26 14:05:17 +02:00
illuCS6_preview.eps Simple test for 1104 2015-03-26 14:05:17 +02:00
imagedraw_arc.png Tests for ImageDraw 2014-05-12 17:32:04 +03:00
imagedraw_bitmap.png Test ImageDraw's bitmap() 2014-05-13 14:43:48 +03:00
imagedraw_chord.png Tests for ImageDraw 2014-05-12 17:32:04 +03:00
imagedraw_ellipse_edge.png Added test for polygon edge drawing 2015-06-06 00:46:50 +10:00
imagedraw_ellipse.png updated imagedraw tests 2014-06-30 15:03:57 -07:00
imagedraw_floodfill.png Test experimental floodfill() 2014-05-12 23:27:02 +03:00
imagedraw_floodfill2.png Test experimental floodfill with a border 2014-05-12 23:33:05 +03:00
imagedraw_line.png updated imagedraw tests 2014-06-30 15:03:57 -07:00
imagedraw_pieslice.png updated imagedraw tests 2014-06-30 15:03:57 -07:00
imagedraw_point.png More ImageDraw tests. Some may need redoing after issues #367 and #463 are sorted. 2014-05-12 21:45:16 +03:00
imagedraw_polygon.png updated imagedraw tests 2014-06-30 15:03:57 -07:00
imagedraw_rectangle.png More ImageDraw tests. Some may need redoing after issues #367 and #463 are sorted. 2014-05-12 21:45:16 +03:00
iptc.jpg Add JPEG with IPTC data. My image, permission given to distribute under MIT licence 2014-07-30 19:33:04 +03:00
iss634.gif Tests dispose and transparency for animated gifs 2014-07-07 20:47:18 +02:00
junk_jpeg_header.jpg skip any number extraneous chars at the end of chunks 2015-09-08 18:05:37 +03:00
l_trns.png added tests to cover save of four different png transparencies 2013-03-26 11:24:07 +01:00
lab-green.tif Shifting the midpoint of the ab channels to 128. unshifting back to signed int on pack 2013-10-15 22:06:30 -07:00
lab-red.tif Shifting the midpoint of the ab channels to 128. unshifting back to signed int on pack 2013-10-15 22:06:30 -07:00
lab.tif Back to RGBx format, 3 bands in 4 bytes. Tests for internal consistency 2013-10-14 22:47:27 -07:00
morph_a.png Additional tests, tests in functions 2014-06-19 14:55:43 -07:00
multiline_text_center.png Added multiline tests 2015-06-18 17:51:33 +10:00
multiline_text_right.png Added multiline tests 2015-06-18 17:51:33 +10:00
multiline_text_spacing.png Added multiline tests 2015-06-18 17:51:33 +10:00
multiline_text.png testcase for multiline text spacing 2013-09-24 14:23:17 -07:00
multipage-lastframe.tif Tests for multipage tiffs 2014-09-02 15:20:24 -07:00
multipage.tiff Tests for multipage tiffs 2014-09-02 15:20:24 -07:00
non_zero_bb_scale2.png Test harness for EPS files. 2013-11-20 00:43:10 -06:00
non_zero_bb.eps Test harness for EPS files. 2013-11-20 00:43:10 -06:00
non_zero_bb.png Test harness for EPS files. 2013-11-20 00:43:10 -06:00
p_trns_single.png added tests to cover save of four different png transparencies 2013-03-26 11:24:07 +01:00
pil_sample_cmyk.jpg py3k: Import Christoph Gohlke's test suite 2013-01-10 08:46:39 -06:00
pil_sample_rgb.jpg py3k: Import Christoph Gohlke's test suite 2013-01-10 08:46:39 -06:00
pil123p.png py3k: Import Christoph Gohlke's test suite 2013-01-10 08:46:39 -06:00
pil123rgba.png py3k: Import Christoph Gohlke's test suite 2013-01-10 08:46:39 -06:00
pil136.tiff py3k: Import Christoph Gohlke's test suite 2013-01-10 08:46:39 -06:00
pil168.tif py3k: Import Christoph Gohlke's test suite 2013-01-10 08:46:39 -06:00
pil184.pcx py3k: Import Christoph Gohlke's test suite 2013-01-10 08:46:39 -06:00
pillow.icns Move images from Images/ to Tests/images/ 2014-06-23 09:04:23 +03:00
pillow.ico Move images from Images/ to Tests/images/ 2014-06-23 09:04:23 +03:00
pillow2.icns Updated icons. 2014-03-26 14:08:54 +00:00
pillow3.icns 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
png_decompression_dos.png Fix for zlib.decompression bomb in iTXt,zTXt, and iCCP chunks 2014-12-28 22:49:52 -08:00
pngtest_bad.png.bin Circumvent classification of pngtest_bad.png as malware 2013-09-27 16:35:37 -07:00
pport_g4.tif End 'Make' tag with null byte 2013-03-14 16:06:20 -07:00
python.ico Make ICO files work with the ImageFile.Parser interface, fixes #522 2014-02-16 20:58:06 -08:00
rectangle_surrounding_text.png Fix return value of FreeTypeFont.textsize() does not include font offsets 2014-07-07 14:42:46 +09:00
rgb_trns_ycbc.j2k Test j2k 2014-04-14 13:49:29 +03:00
rgb_trns_ycbc.jp2 Test j2k 2014-04-14 13:49:29 +03:00
rgb_trns.png Added a test for issue #421 2013-11-22 16:04:51 -08:00
rgb.jpg py3k: Import Christoph Gohlke's test suite 2013-01-10 08:46:39 -06:00
sugarshack_bad_mpo_header.jpg Treat MPO with unknown header as base JPEG file 2015-07-19 22:56:04 +10:00
sugarshack.mpo Moved images to correct place. 2014-07-15 17:43:31 -04:00
test-card-lossless.jp2 Really added the tests this time. 2014-03-19 12:17:14 +00:00
test-card-lossy-tiled.jp2 Really added the tests this time. 2014-03-19 12:17:14 +00:00
test-card.png Really added the tests this time. 2014-03-19 12:17:14 +00:00
test-ole-file.doc Add some simple tests for OleFileIO.py 2014-04-11 14:53:33 +03:00
test.colors.gif test for issue #434 2014-03-04 22:29:55 -08:00
test.gpl Added test for GimpPaletteFile 2015-07-01 15:47:47 +10:00
tga_id_field.tga flake8 and tests 2014-08-20 10:32:06 +04:00
tiff_adobe_deflate.tif add several TIFF decoders and encoders 2013-07-01 18:45:42 +04:00
total-pages-zero.tif 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
transparent.png Move images from Images/ to Tests/images/ 2014-06-23 09:04:23 +03:00
transparent.sgi Created with ImageMagick: convert transparent.png transparent.sgi 2014-07-16 21:27:31 +03:00
transparent.webp Move images from Images/ to Tests/images/ 2014-06-23 09:04:23 +03:00
tRNS_null_1x1.png Added test to check that png with null tRNS value defaults to a zero transparency value. 2015-05-27 09:45:27 -06:00
truncated_image.png test for loading truncated image and raising proper exception 2015-09-08 17:43:12 +03:00
zero_bb_scale2.png Test harness for EPS files. 2013-11-20 00:43:10 -06:00
zero_bb.eps Test harness for EPS files. 2013-11-20 00:43:10 -06:00
zero_bb.png Test harness for EPS files. 2013-11-20 00:43:10 -06:00