Andrew Murray
|
6449cdc1a3
|
Added RGBA saving
|
2021-06-14 18:14:28 +10:00 |
|
Andrew Murray
|
143e08c92c
|
Added RGB saving
|
2021-06-14 18:14:28 +10:00 |
|
Andrew Murray
|
bd298b128c
|
Fixed default numresolution for small JPEG2000 images
|
2021-06-14 11:23:56 +10:00 |
|
Andrew Murray
|
cd31dae0d1
|
Added getxmp() for PNG
|
2021-06-12 13:57:14 +10:00 |
|
Andrew Murray
|
ae3bdf87f0
|
Added getxmp() for TIFF
|
2021-06-12 12:17:38 +10:00 |
|
Andrew Murray
|
c1fbe2d975
|
Corrected getxmp() descending into XML
|
2021-06-12 11:58:11 +10:00 |
|
Miloš Komarčević
|
100299a838
|
Add multiple strip saving test
|
2021-06-12 11:49:20 +10:00 |
|
Hugo van Kemenade
|
101887360c
|
Merge pull request #5501 from radarhere/dds_bc5
|
2021-06-11 10:34:19 +03:00 |
|
Hugo van Kemenade
|
a9b0adc57f
|
Merge pull request #5510 from radarhere/textbbox
|
2021-06-10 17:46:32 +03:00 |
|
Andrew Murray
|
41fc39174a
|
Reset fuzzer LOAD_TRUNCATED_IMAGES and filters to allow for random test order
|
2021-06-10 13:49:17 +10:00 |
|
Andrew Murray
|
d99a6ff862
|
Reset MAX_IMAGE_PIXELS after each test to allow for random test order
|
2021-06-10 13:17:57 +10:00 |
|
Hugo van Kemenade
|
2a7eb5415e
|
Merge pull request #5513 from radarhere/ico_bmp
Added ICO saving in BMP format
|
2021-06-06 18:12:33 +03:00 |
|
Hugo van Kemenade
|
87dca4f477
|
Merge pull request #5493 from radarhere/png_load_end
Ensure PNG seeks to end of previous chunk at start of load_end
|
2021-06-06 10:35:04 +03:00 |
|
Hugo van Kemenade
|
1ac7bd9f87
|
Merge pull request #5473 from radarhere/tiff_seek
Do not allow TIFF to seek to a past frame
|
2021-06-05 18:49:34 +03:00 |
|
Andrew Murray
|
2c9a9b3529
|
Added ICO saving in BMP format
|
2021-05-27 06:21:28 +10:00 |
|
Andrew Murray
|
362d504011
|
Raise an error if textbbox is used without a FreeTypeFont
|
2021-05-25 20:45:38 +10:00 |
|
Hugo van Kemenade
|
affa059e95
|
Merge pull request #5504 from radarhere/tuple_size
Added specific error messages when ink has incorrect number of bands
|
2021-05-23 17:18:38 +03:00 |
|
Hugo van Kemenade
|
3cbf4d5ef7
|
Merge pull request #5379 from radarhere/numpy
Allow converting an image to a numpy array to raise errors
|
2021-05-20 15:09:02 +03:00 |
|
Andrew Murray
|
3b4db88202
|
Added BC5_SNORM reading when FourCC is DX10
|
2021-05-19 22:19:19 +10:00 |
|
Andrew Murray
|
f59ff6d55b
|
Read BC5_TYPELESS as BC5_UNORM
|
2021-05-19 21:16:12 +10:00 |
|
Andrew Murray
|
1bb98974f8
|
Moved DXT5 test after DXT3 test
|
2021-05-19 21:14:51 +10:00 |
|
Andrew Murray
|
a1412681ff
|
Added specific error messages when ink has incorrect number of bands
|
2021-05-19 20:19:57 +10:00 |
|
Andrew Murray
|
2e7f40e0b8
|
Added BC5_SNORM reading
|
2021-05-18 17:44:21 +10:00 |
|
Andrew Murray
|
68ac6d151e
|
Added BC5_UNORM reading
|
2021-05-17 18:57:23 +10:00 |
|
Hugo van Kemenade
|
a72ae6823c
|
Merge pull request #5476 from radarhere/dpi_rounding
|
2021-05-16 20:00:10 +03:00 |
|
Hugo van Kemenade
|
d53a664866
|
Merge pull request #5470 from radarhere/wmf_dpi_rounding
Removed WMF DPI rounding
|
2021-05-16 19:57:14 +03:00 |
|
Andrew Murray
|
78406ed1ff
|
Merge pull request #5460 from xtsm/ellipse
Remove spikes when drawing thin pieslices
|
2021-05-14 23:37:11 +10:00 |
|
Hugo van Kemenade
|
f02739715d
|
Merge pull request #5452 from radarhere/missing_samplesperpixel
Updated default value for SAMPLESPERPIXEL TIFF tag
|
2021-05-14 16:17:34 +03:00 |
|
Andrew Murray
|
bf97a92bc6
|
Ensure PNG seeks to end of previous chunk at start of load_end
|
2021-05-14 13:18:49 +10:00 |
|
Andrew Murray
|
7bfaffd5fa
|
Simplified tests now that casting to float is not needed
|
2021-05-10 09:36:57 +10:00 |
|
Andrew Murray
|
c04260b3f5
|
Convert to float for comparison with float in IFDRational __eq__
|
2021-05-10 08:36:45 +10:00 |
|
Andrew Murray
|
9bbe53a01d
|
Merge pull request #5446 from radarhere/tiff_dpi_rounding
Removed TIFF DPI rounding
|
2021-05-10 08:34:05 +10:00 |
|
Hugo van Kemenade
|
3942eaec18
|
Merge pull request #5471 from radarhere/webp_error_code
|
2021-05-09 23:18:49 +03:00 |
|
Hugo van Kemenade
|
79eb24ba34
|
Merge pull request #5474 from radarhere/stdout
|
2021-05-09 23:17:23 +03:00 |
|
Hugo van Kemenade
|
649eaae360
|
Merge pull request #5434 from radarhere/text_alpha
|
2021-05-09 22:17:58 +03:00 |
|
Hugo van Kemenade
|
23f848ea54
|
Merge pull request #5443 from radarhere/fp
|
2021-05-09 20:39:44 +03:00 |
|
Andrew Murray
|
9ac888262a
|
Do not allow TIFF to seek to a past frame
|
2021-05-08 00:25:47 +10:00 |
|
Andrew Murray
|
18e204df05
|
Removed DPI rounding from JPEG loading
|
2021-05-07 21:23:29 +10:00 |
|
Andrew Murray
|
0de3beaeaf
|
Removed DPI rounding when BMP loading
|
2021-05-07 20:50:18 +10:00 |
|
Andrew Murray
|
9d72542c08
|
Removed DPI rounding from PNG loading
|
2021-05-07 20:50:01 +10:00 |
|
Andrew Murray
|
e7749abdf9
|
Corrected error in restoring sys.stdout
|
2021-05-07 20:44:46 +10:00 |
|
Andrew Murray
|
4080f160b6
|
Include code in WebP error
|
2021-05-07 00:12:03 +10:00 |
|
Andrew Murray
|
b9c571a328
|
Removed WMF DPI rounding
|
2021-05-06 20:08:54 +10:00 |
|
Andrew Murray
|
6fc039a21c
|
Updated default value for SAMPLESPERPIXEL tag
|
2021-05-04 16:50:12 +10:00 |
|
Hugo van Kemenade
|
20b8a83773
|
Merge pull request #5437 from radarhere/stdout
|
2021-05-03 11:57:46 +03:00 |
|
Andrew Murray
|
0f68e63793
|
Allow for sys.stdout.buffer to be missing
|
2021-05-03 18:07:05 +10:00 |
|
Hugo van Kemenade
|
d2f2fbacaa
|
Merge pull request #5426 from radarhere/undefined_zero
Fixed UNDEFINED TIFF tag of length 0 being changed in roundtrip
|
2021-05-03 09:07:32 +03:00 |
|
Stanislau Tsitsianok
|
ca67a0c1a2
|
Added test for #5432
|
2021-05-02 17:12:27 +03:00 |
|
Hugo van Kemenade
|
0836e388e8
|
Merge pull request #5459 from radarhere/pdf_float
Do not round dimensions when saving PDF
|
2021-05-02 11:16:34 +03:00 |
|
Hugo van Kemenade
|
8a8ac60817
|
Merge pull request #5417 from radarhere/contain
Added ImageOps contain()
|
2021-05-01 18:44:37 +03:00 |
|
Andrew Murray
|
d22fe41776
|
Reorganised test to use parametrize
|
2021-05-01 22:36:12 +10:00 |
|
Andrew Murray
|
bc935f9970
|
Do not round dimensions when saving PDF
|
2021-05-01 12:13:09 +10:00 |
|
Andrew Murray
|
8bc19ac78c
|
Do not alter pixels outside mask when drawing text on an image with transparency
|
2021-04-29 23:08:25 +10:00 |
|
Andrew Murray
|
b78cf8cd75
|
Added state methods to allow pickling of IFDRational
|
2021-04-29 22:47:44 +10:00 |
|
Andrew Murray
|
537cd7a82e
|
Removed TIFF DPI rounding
|
2021-04-29 22:47:44 +10:00 |
|
Andrew Murray
|
fd299e36ce
|
Reset handle when seeking backwards as well
|
2021-04-29 22:47:20 +10:00 |
|
Andrew Murray
|
9c06ce044c
|
Changed PSDraw default from sys.stdout to sys.stdout.buffer
|
2021-04-29 21:35:57 +10:00 |
|
Andrew Murray
|
fae9afe351
|
Replace sys.stdout with sys.stdout.buffer when saving
|
2021-04-29 21:35:57 +10:00 |
|
Andrew Murray
|
622ba122ce
|
Added Exif load_from_fp method to get TIFF tag_v2 data
|
2021-04-29 21:21:55 +10:00 |
|
Andrew Murray
|
976d9fa347
|
Fixed UNDEFINED TIFF tag of length 0 being changed in roundtrip
|
2021-04-29 21:21:09 +10:00 |
|
Hugo van Kemenade
|
dc817ead76
|
Merge pull request #5430 from radarhere/pdf_1
Switched to saving 1-bit PDFs with DCTDecode
|
2021-04-25 15:29:34 +03:00 |
|
Hugo van Kemenade
|
6461dd63b3
|
Merge pull request #5429 from radarhere/ico
Use bpp from ICO header
|
2021-04-25 12:07:38 +03:00 |
|
Hugo van Kemenade
|
d3a3b6dddb
|
Merge pull request #5408 from radarhere/indexerror
Corrected JPEG APP14 transform value
|
2021-04-25 11:36:40 +03:00 |
|
Hugo van Kemenade
|
23efd39b99
|
Merge pull request #5425 from radarhere/iptc
Changed TIFF tag 33723 length to 1
|
2021-04-25 11:23:52 +03:00 |
|
Hugo van Kemenade
|
b09a9210d4
|
Merge pull request #5414 from radarhere/morph
Changed ImageMorph incorrect mode errors to ValueError
|
2021-04-23 16:52:55 +03:00 |
|
Andrew Murray
|
d62be3e354
|
Switched to saving 1-bit PDFs with DCTDecode
|
2021-04-22 22:16:21 +10:00 |
|
Andrew Murray
|
900b849aa8
|
Use bpp from header
|
2021-04-22 21:18:21 +10:00 |
|
Andrew Murray
|
6b098a2c34
|
Changed TIFF tag 33723 length to 1
|
2021-04-21 22:37:47 +10:00 |
|
Andrew Murray
|
6967f3519f
|
Test when "adobe_transform" is unable to be read
|
2021-04-20 20:53:50 +10:00 |
|
Andrew Murray
|
8d52181123
|
Corrected test
|
2021-04-20 20:24:50 +10:00 |
|
Hugo van Kemenade
|
bb5a34fcb0
|
Merge pull request #5391 from radarhere/gif_disposal
Treat previous contents of first GIF frame as transparent
|
2021-04-20 13:23:11 +03:00 |
|
Hugo van Kemenade
|
d2e73b0304
|
Merge pull request #5411 from radarhere/resize_default
For special image modes, revert default resize resampling to NEAREST
|
2021-04-19 17:57:46 +03:00 |
|
Andrew Murray
|
40eceec70d
|
Added contain method
|
2021-04-19 20:12:52 +10:00 |
|
Hugo van Kemenade
|
fc08a72600
|
Merge pull request #5400 from radarhere/mapdepth_16
Changed mode for TGA 16-bit palette to BGR;15
|
2021-04-18 13:00:29 +03:00 |
|
Hugo van Kemenade
|
50fdc151ea
|
Merge pull request #5396 from radarhere/mapdepth
TGA color map entry size is only 1 byte
|
2021-04-18 12:57:58 +03:00 |
|
Andrew Murray
|
7e4fd9d845
|
Changed incorrect mode errors to ValueError
|
2021-04-18 14:47:05 +10:00 |
|
Hugo van Kemenade
|
197673b9b2
|
Merge pull request #4996 from nulano/jp2-decode-subsample
|
2021-04-17 21:42:17 +03:00 |
|
Andrew Murray
|
7c0344bb99
|
For special image modes, revert default resize resampling to NEAREST
|
2021-04-17 12:18:42 +10:00 |
|
Andrew Murray
|
4351c37fc4
|
Corrected adobe_transform value
|
2021-04-15 21:49:51 +10:00 |
|
Andrew Murray
|
1e074f5040
|
Merge pull request #4144 from jansol/master
Stop decoding BC1 punchthrough alpha in BC2&3
|
2021-04-15 20:24:52 +10:00 |
|
Andrew Murray
|
a47072bcbe
|
Treat previous contents of first frame as transparent
|
2021-04-15 19:01:12 +10:00 |
|
Hugo van Kemenade
|
2f5687f886
|
Merge pull request #5390 from radarhere/gif_missing_background
Use zero if GIF background color index is missing
|
2021-04-15 11:57:31 +03:00 |
|
Hugo van Kemenade
|
0cc2943aef
|
Merge pull request #5386 from radarhere/previous_frame_loaded
Fixed ensuring that GIF previous frame was loaded
|
2021-04-15 10:47:44 +03:00 |
|
Andrew Murray
|
4dde8109d7
|
Resolved FIXME by reading mandatory FITS header items
|
2021-04-14 22:48:27 +10:00 |
|
Andrew Murray
|
2cb1d056c0
|
Merge branch 'master' into jp2-decode-subsample
|
2021-04-11 12:49:10 +10:00 |
|
Andrew Murray
|
c5f886958a
|
Merge branch 'master' into quant
|
2021-04-11 12:41:48 +10:00 |
|
Andrew Murray
|
a3dbee9f08
|
Cover horizontal lines both increasing in x
|
2021-04-11 12:41:33 +10:00 |
|
Andrew Murray
|
006de79d60
|
Use assert_image_equal_tofile
|
2021-04-11 12:41:33 +10:00 |
|
Tsung-Po Sun
|
9a4b1301de
|
Modify test code
|
2021-04-11 12:41:33 +10:00 |
|
Tsung-Po Sun
|
87e7e88591
|
fix lint
|
2021-04-11 12:41:32 +10:00 |
|
Tsung-Po Sun
|
df0273e024
|
Reformat
|
2021-04-11 12:41:32 +10:00 |
|
Tsung-Po Sun
|
324d934128
|
Remove spaces
|
2021-04-11 12:41:32 +10:00 |
|
Tsung-Po Sun
|
824d2fa4f3
|
Add test
|
2021-04-11 12:41:32 +10:00 |
|
wiredfool
|
fe668716ed
|
Merge pull request #5397 from wiredfool/valgrind_fixes
Valgrind fixes
|
2021-04-10 19:15:17 +01:00 |
|
Eric Soroos
|
1c872a9eda
|
lint stuff
|
2021-04-10 16:58:01 +02:00 |
|
Andrew Murray
|
fc64064387
|
Changed mode for 16-bit palette to BGR;15
|
2021-04-10 22:11:20 +10:00 |
|
Eric Soroos
|
af6fb9c518
|
xfail the fuzzer check as well
|
2021-04-10 12:03:39 +02:00 |
|
Eric Soroos
|
c94f66ad13
|
make sure we return a mark decorator
|
2021-04-10 12:03:15 +02:00 |
|
Eric Soroos
|
a3a69c8385
|
conditional mark for valgrind ignore
|
2021-04-09 23:53:24 +02:00 |
|
Andrew Murray
|
356681faae
|
Merge pull request #5393 from hugovk/test-redos
Add test for CVE-2021-25292 ReDoS
|
2021-04-09 23:34:11 +10:00 |
|