Commit Graph

91 Commits

Author SHA1 Message Date
Aarni Koskela
8ca53b312d Enforce CSV parametrize names style 2024-08-07 12:27:20 +03:00
Andrew Murray
4ce06aac3b Added type hints 2024-02-12 23:01:44 +11:00
pre-commit-ci[bot]
27b0cf67e7 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-02-05 17:18:52 +00:00
Hugo van Kemenade
4a4b90c365
Autotype tests (#7756)
* autotyping: --none-return
* autotyping: --scalar-return
* autotyping: --int-param
* autotyping: --float-param
* autotyping: --str-param
* autotyping: --annotate-named-param tmp_path:pathlib.Path
2024-01-31 20:12:58 +11:00
Hugo van Kemenade
53c3cd9f8e isort Tests 2024-01-20 13:23:03 +02:00
Hugo van Kemenade
119885aa66
Merge pull request #7589 from radarhere/dds_rgb 2023-12-31 17:35:30 +02:00
Hugo van Kemenade
43b2f61e79 Add 'from __future__ import annotations' using Ruff/isort 2023-12-21 13:13:31 +02:00
Andrew Murray
8b44116773 Merge branch 'main' into dds_rgb 2023-12-07 08:43:57 +11:00
Andrew Murray
f2e478e968 Merge branch 'main' into improved_dds 2023-12-05 17:49:47 +11:00
Andrew Murray
0e36c14680 Added test BC4 TYPELESS image 2023-12-05 07:39:15 +11:00
Andrew Murray
c1b3c34678 Added expected test image 2023-12-05 07:18:07 +11:00
Sam Bourne
8c5d5c7e6b Add support for BC4 dds files 2023-12-04 09:54:10 -08:00
Andrew Murray
2eddbc5994
Updated docstrings 2023-12-03 14:25:07 +11:00
Andrew Murray
ab96324c12 Removed support for RGB bitcount 8 2023-12-02 21:36:17 +11:00
Andrew Murray
f1fef09d4a Support arbitrary masks for uncompressed RGB images 2023-11-30 21:13:59 +11:00
REDxEYE
2f7caad37f
Merge pull request #9 from radarhere/test_open
Removed test_open
2023-10-30 14:49:47 +03:00
REDxEYE
e0a726b42e
Merge pull request #8 from radarhere/improved_dds
Added test for BC4U
2023-10-30 14:48:27 +03:00
Andrew Murray
c7fbfdc795 Removed test_open 2023-10-30 22:44:52 +11:00
REDxEYE
940224eaad Remove wrong test_save input 2023-10-30 14:32:28 +03:00
Andrew Murray
ddcbfde446 Test BC4U 2023-10-30 22:22:37 +11:00
Andrew Murray
5fd3035362 Removed duplicate test 2023-10-30 22:16:48 +11:00
Andrew Murray
e3ff5eb8e4 Test BC1_UNORM and BC1_TYPELESS 2023-10-30 19:53:51 +11:00
Andrew Murray
17be898fc4 Added tests for unimplemented bitcount 2023-10-28 16:58:57 +11:00
Andrew Murray
85485229e3 Support RGB bitcount 8 2023-10-25 16:24:00 +11:00
Andrew Murray
93e0f39ff3 Removed "mode-" prefix from image names that are not modes 2023-10-21 19:14:46 +11:00
REDxEYE
6dd565b4a3 Merge remote-tracking branch 'pillow/main' into improved_dds
# Conflicts:
#	Tests/test_file_dds.py
#	src/PIL/DdsImagePlugin.py
2023-10-12 19:15:06 +03:00
REDxEYE
a5dde8b1c4 Apply suggestion for PR 2023-10-12 19:09:28 +03:00
Andrew Murray
cd4adb1677 Added reading 8-bit color images 2023-09-27 19:41:45 +10:00
Andrew Murray
2b9217bba8 Added BC5U reading 2023-08-31 12:13:35 +10:00
Andrew Murray
bd4826591b Removed INVALID enum 2023-06-15 02:49:09 +03:00
Andrew Murray
b6b7a7bfa4 Simplified test code 2023-06-15 02:45:46 +03:00
REDxEYE
d1b1f30cef Fix file extensions in tests not matching real names 2023-06-15 02:42:43 +03:00
REDxEYE
de8b89c823 Add support for writing LA dds textures 2023-06-15 02:42:41 +03:00
REDxEYE
8e8a67ef3e Fix incorect file name 2023-06-15 02:37:38 +03:00
REDxEYE
19887374ae Add support for single channel textures 2023-06-15 02:33:55 +03:00
Andrew Murray
dcf3d0bee2 Added support for uncompressed LA images 2022-12-23 19:07:45 +11:00
Andrew Murray
9e6a7d9740 Added support for uncompressed L images 2022-12-23 17:43:18 +11:00
Andrew Murray
5911b8c30b Updated BC6H test images 2022-10-08 21:20:31 +11:00
Andrew Murray
c3cc621c67 Merge branch 'python-pillow-main' 2022-08-02 15:55:21 +10:00
REDxEYE
1050d13350 Replace test files with images with compatible license 2022-07-23 12:44:03 +03:00
Andrew Murray
806f43f0b7 Simplified code 2022-07-23 14:19:28 +10:00
Andrew Murray
5bd893f760 Rename format to BC6H and BC6HS 2022-07-23 14:16:40 +10:00
pre-commit-ci[bot]
fd86414ac2 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2022-07-22 22:02:58 +00:00
REDxEYE
2376399150 Add test and test files for ATI1 pixel format and fix image mode for ATI1 2022-07-23 01:02:06 +03:00
REDxEYE
ad2c6a20fe Add support for ATI1/2(BC4/BC5) DDS files
This commit adds support for loading DDS with ATI1 and ATI2 fourcc pixel format
2022-07-23 00:30:27 +03:00
Andrew Murray
0d0cf6374c Restored unimplemented DXGI format test 2022-07-19 07:18:48 +10:00
ShadelessFox
fac18a5b60
Add BC6 tests 2022-07-18 22:24:41 +03:00
Andrew Murray
e2288356ca Use _accept check in _open 2022-02-27 14:48:36 +11:00
Andrew Murray
98aa0f10ad pre-commit autoupdate --freeze 2021-08-12 21:50:09 +10:00
Andrew Murray
6449cdc1a3 Added RGBA saving 2021-06-14 18:14:28 +10:00