Commit Graph

656 Commits

Author SHA1 Message Date
Andrew Murray
9c9449af34 Removed support for LibTIFF < 4 2025-07-02 00:00:16 +10:00
Andrew Murray
583f0a50d5 Removed BGR;15, BGR;16 and BGR;24 modes 2025-07-01 23:57:46 +10:00
Kylian Ronfleux--Corail
be2b4e7864
Fix qtables and quality scaling (#8879)
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
2025-06-30 20:46:40 +10:00
Andrew Murray
ef98b3510e
Fix buffer overflow when saving compressed DDS images (#9041)
Co-authored-by: Eric Soroos <eric-github@soroos.net>
2025-06-28 00:29:58 +10:00
Andrew Murray
acd8b0c2ac
Fix libtiff cleanup (#9002) 2025-06-25 09:09:31 +10:00
Andrew Murray
8309962926 Replaced ImagingError_OSError with PyErr_SetString 2025-06-16 08:19:27 +10:00
Andrew Murray
cb433ad00a Replaced ImagingError_Clear with PyErr_Clear 2025-06-16 08:15:08 +10:00
Andrew Murray
8ccdc399df
Remove padding between interleaved PCX palette data (#9005) 2025-06-11 16:19:09 +03:00
Andrew Murray
056dc89a3c
Correct drawing I;16 horizontal lines (#8985) 2025-06-10 15:12:40 +03:00
Andrew Murray
7b163cc35d
Use mask in C when drawing wide polygon lines (#8984) 2025-06-10 11:46:12 +10:00
Hugo van Kemenade
05636dca17
Simplify code (#8863) 2025-06-09 19:33:55 +03:00
pre-commit-ci[bot]
070e1eba62
[pre-commit.ci] pre-commit autoupdate (#8993) 2025-06-03 14:08:24 +10:00
wiredfool
256f6ea1c1
Valgrind Memory Leak Checking (#8954) 2025-05-30 14:28:40 +01:00
wiredfool
506691729a
Apply suggestions from code review
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2025-05-30 10:40:35 +01:00
Andrew Murray
62da23bf83 Removed polygon from DRAW struct 2025-05-29 18:27:22 +10:00
Andrew Murray
fcac6e7896 Removed hasAlpha argument 2025-05-29 18:27:17 +10:00
Andrew Murray
2ee2a1496d Simplified code 2025-05-29 18:26:09 +10:00
Eric Soroos
d5449d5760 Guess so. 2025-05-15 21:11:31 +02:00
Eric Soroos
789631c60c Fix memory leak when JpegEncode returns an error. 2025-05-13 23:31:09 +02:00
Eric Soroos
e2e40c5456 Fix memory leak in TiffEncode
* If setimage errors out, the tiff client state was not freed.
2025-05-13 22:33:27 +02:00
Eric Soroos
fdfba982c8 fix memory leak in arrow schema 2025-05-13 10:28:09 +02:00
Eric Soroos
74ab5ac4cd Fix memory leak in arrow export using array structure 2025-05-12 00:27:56 +02:00
wiredfool
ce204f47f4 lint 2025-04-21 10:37:32 +01:00
wiredfool
ac500460df lint 2025-04-17 22:22:31 +01:00
wiredfool
3d77723a0c Added arrow support for a flat array of 4*uint8 for image32 modes 2025-04-17 21:42:42 +01:00
pre-commit-ci[bot]
a5a8ece5d2 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2025-04-07 17:17:36 +00:00
wiredfool
5c76e7ec17
Image -> Arrow support (#8330)
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2025-04-01 09:10:45 +03:00
Andrew Murray
e8a9b56603
Improved connecting discontiguous corners (#8659) 2025-03-29 18:33:51 +02:00
Andrew Murray
93cdfeb488
Prevent TIFFRGBAImageBegin from applying image orientation (#8556)
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
2025-03-29 18:25:57 +02:00
Andrew Murray
295a5e9bd7 Do not convert BC1 LUT to UINT32 2025-03-27 21:36:17 +11:00
Andrew Murray
cd11792c15 Added BC5 saving 2025-03-17 07:55:25 +11:00
Andrew Murray
f1a61a1e76 Added DXT3 saving 2025-03-17 07:55:24 +11:00
Andrew Murray
9f619b814f Added BC3 loading and saving 2025-03-17 07:55:24 +11:00
Andrew Murray
9430bbe5a1 Added DXT5 saving 2025-03-17 07:55:24 +11:00
Andrew Murray
3dbd0e57ba Added DXT1 encoding 2025-03-17 07:55:24 +11:00
Andrew Murray
92cc9bf902 Support reading grayscale images with 4 channels 2025-03-03 08:46:20 +11:00
Andrew Murray
f598c03233 Removed unused file 2025-01-29 17:33:55 +11:00
Aleksandr Karpinskii
849768df7a Remove unused declaration 2025-01-28 20:40:43 +11:00
Hugo van Kemenade
01792cbff0
Merge pull request #8652 from radarhere/tile 2025-01-08 19:03:31 +02:00
Hugo van Kemenade
6bce9aa461
Merge pull request #8645 from radarhere/mozjpeg 2025-01-08 18:44:21 +02:00
Andrew Murray
73a383fa72 Use rawmode instead of splitting and merging 2025-01-05 06:11:54 +11:00
Andrew Murray
ae59b03956 Do not use MozJPEG progressive default 2024-12-31 21:44:57 +11:00
Andrew Murray
f91b111fac Removed pre-C99 definitions 2024-12-31 20:42:49 +11:00
Andrew Murray
ea962bf1d8 Added RGBX;16N to RGB unpacker 2024-12-29 16:59:32 +11:00
Andrew Murray
973cd6481a Merge branch 'main' into jpeg2000_cmyk_save 2024-12-28 22:08:08 +11:00
Andrew Murray
05c981ffd7 Removed buffer_size variable 2024-12-28 15:41:19 +11:00
Andrew Murray
439d5cf2a0
Merge branch 'main' into jpeg2000_cmyk_save 2024-12-28 07:42:56 +11:00
Andrew Murray
fb3d80e390 Fixed connecting discontiguous corners 2024-12-24 00:41:27 +11:00
Andrew Murray
522505b714 Support saving CMYK JPEG2000 images 2024-12-10 18:33:12 +11:00
Andrew Murray
7edf952832 Do not close provided file handles with libtiff 2024-10-11 19:37:56 +11:00