Commit Graph

3672 Commits

Author SHA1 Message Date
Andrew Murray
0153b37b68 Skip test_realloc_overflow unless libtiff 4.0.4 or higher 2022-05-17 13:17:26 +03:00
Andrew Murray
c846cc881e When reading past the end of a scan line, reduce bytes left 2022-05-17 13:17:18 +03:00
Andrew Murray
184b73ed64 Do not open images with zero or negative height 2022-05-17 13:17:14 +03:00
Andrew Murray
698f52916e Parametrized test 2022-03-31 22:13:17 +03:00
Andrew Murray
c3e0fd1a7a Moved getvalue asserts outside of image context managers 2022-03-31 22:13:17 +03:00
scaramallion
b5a59d8860 Remove redundant im.load() in tests 2022-03-31 22:13:17 +03:00
scaramallion
462e3fdaa5 Remove duplicate test 2022-03-31 22:13:17 +03:00
scaramallion
4e7f041795 Rename parameter and add more tests 2022-03-31 22:13:17 +03:00
scaramallion
f8a74cbed1 Fix priority when selecting j2k kind 2022-03-31 22:13:17 +03:00
scaramallion
de26f78eb1 Add 'mct' and 'use_jp2' options for J2K saving 2022-03-31 22:13:17 +03:00
Hugo van Kemenade
e60ca89721
Merge pull request #6150 from radarhere/gif 2022-03-30 23:23:59 +03:00
Hugo van Kemenade
4bc6483564
Merge pull request #6034 from radarhere/imageops 2022-03-30 16:16:57 +03:00
Andrew Murray
e22a4395d3 Renamed setting 2022-03-29 21:26:29 +11:00
Andrew Murray
ae8de77721 Raise ValueError when trying to save empty image 2022-03-28 21:18:53 +11:00
Hugo van Kemenade
1bc0e1bb9d
Merge pull request #5973 from radarhere/planar_configuration 2022-03-27 18:52:44 +03:00
Hugo van Kemenade
f7169f9c93
Merge pull request #5980 from radarhere/polygon 2022-03-27 18:51:10 +03:00
Hugo van Kemenade
57a5066d14
Merge pull request #6032 from radarhere/tk 2022-03-27 18:46:45 +03:00
Hugo van Kemenade
5ff4a137c7
Merge pull request #6147 from radarhere/webp 2022-03-26 19:51:32 +02:00
Hugo van Kemenade
aeba11db1b
Merge pull request #6148 from radarhere/gif_size 2022-03-26 19:48:08 +02:00
Hugo van Kemenade
8107098657
Merge pull request #6132 from radarhere/fillorder 2022-03-26 19:47:14 +02:00
Hugo van Kemenade
9134f07615
Merge pull request #6134 from radarhere/created_cleanup
If an error occurs after creating a file, remove the file
2022-03-24 08:08:36 +02:00
Hugo van Kemenade
e5ce1c8c57
Merge pull request #6128 from radarhere/gif_rgba 2022-03-23 18:36:03 +02:00
Hugo van Kemenade
c3d0dcda7a
Merge pull request #6122 from radarhere/ico 2022-03-23 17:07:00 +02:00
Hugo van Kemenade
3cce863ec8
Merge pull request #6124 from radarhere/exif 2022-03-23 17:01:22 +02:00
Hugo van Kemenade
a921fcbf75
Merge pull request #6102 from radarhere/bmp_rle8 2022-03-23 17:00:31 +02:00
Hugo van Kemenade
d0f1f663d3
Merge pull request #6141 from radarhere/imports 2022-03-22 23:27:03 +02:00
Andrew Murray
c5efe60c37 Reverted converting L with transparency to LA after first frame 2022-03-22 22:07:37 +11:00
Andrew Murray
ce8c682748 Added setting to convert to RGB only at a different palette 2022-03-22 20:28:49 +11:00
Andrew Murray
66bb2bd5e8 Added setting to convert first GIF frame to RGB 2022-03-22 20:20:38 +11:00
Andrew Murray
7928e944cb Keep subsequent L frames without transparency as L 2022-03-22 20:20:38 +11:00
Andrew Murray
b0d0d2b9cc Fixed saving L mode GIF with background as WebP 2022-03-22 20:17:28 +11:00
Hugo van Kemenade
a6a843e548
Merge pull request #6140 from radarhere/webp_duration
Added WebP default duration of zero when saving
2022-03-22 09:23:10 +02:00
Andrew Murray
d806227199 Do not expand GIF during n_frames 2022-03-21 23:19:26 +11:00
Andrew Murray
ebdb47e693 Support reading I;16R TIFF images 2022-03-20 13:34:50 +11:00
Andrew Murray
2a285d1b1f Only import ctypes as needed on Windows 2022-03-19 14:46:25 +11:00
Andrew Murray
ca3bc290e3 Record resolution instead of requiring ctypes 2022-03-19 14:45:40 +11:00
Hugo van Kemenade
7857a1dff0
Merge pull request #6119 from radarhere/ppm_maxval 2022-03-18 18:14:40 +02:00
Andrew Murray
2981569b29 Added default duration of zero 2022-03-17 23:49:23 +11:00
Andrew Murray
71c30ed266 If an error occurs after creating a file, remove the file 2022-03-14 23:33:45 +11:00
Andrew Murray
55be0ae6f4 Parametrized test 2022-03-14 08:07:13 +11:00
Hugo van Kemenade
6faebd3ff3
Merge pull request #5984 from radarhere/libwebp
libwebp 1.2.2 fixed endian bugs
2022-03-12 09:21:49 +02:00
Andrew Murray
59780abd79 Save multiple images at different bit depths if provided 2022-03-12 15:49:36 +11:00
Andrew Murray
a8586fe1ff Do not save duplicates when duplicate sizes are supplied 2022-03-12 15:49:36 +11:00
Andrew Murray
4e16a9a942 Retain RGBA transparency when saving multiple frames 2022-03-12 15:14:36 +11:00
Andrew Murray
07210e9425 Handle EXIF data truncated to just the header 2022-03-12 08:23:40 +11:00
Hugo van Kemenade
515957b2ac
Merge pull request #6097 from radarhere/bigtiff 2022-03-11 23:05:41 +02:00
Hugo van Kemenade
652542c770
Merge pull request #6112 from radarhere/i_i16_conversion
Clip I;16 to be unsigned, not signed
2022-03-10 19:56:45 +02:00
Hugo van Kemenade
29960c6610
Merge pull request #6108 from radarhere/none 2022-03-10 17:36:13 +02:00
Hugo van Kemenade
d0a33addc5
Merge pull request #6086 from radarhere/l_gif 2022-03-10 17:35:00 +02:00
Andrew Murray
039b7ecd56 Finish reading data at eof 2022-03-09 22:36:34 +11:00