REDxEYE
|
cb554c6d0f
|
Update src/PIL/DdsImagePlugin.py
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
|
2023-10-30 13:55:02 +03:00 |
|
Andrew Murray
|
e3ff5eb8e4
|
Test BC1_UNORM and BC1_TYPELESS
|
2023-10-30 19:53:51 +11:00 |
|
Andrew Murray
|
0051fc9cf8
|
Removed unnecessary seek
|
2023-10-28 16:43:43 +11:00 |
|
Andrew Murray
|
85485229e3
|
Support RGB bitcount 8
|
2023-10-25 16:24:00 +11:00 |
|
Andrew Murray
|
f58f410b21
|
ALPHA by itself does not mean bitcount is valid
|
2023-10-25 15:30:59 +11:00 |
|
Andrew Murray
|
12e41e84cd
|
Simplified creating raw tiles
|
2023-10-21 19:12:52 +11:00 |
|
Andrew Murray
|
8fbb610378
|
Derive bit count from number of modes
|
2023-10-21 17:33:04 +11:00 |
|
Andrew Murray
|
4a4a1ee6ad
|
Simplified tile creation
|
2023-10-21 16:03:21 +11:00 |
|
Andrew Murray
|
935958c990
|
Removed unnecessary casting to enums
|
2023-10-21 14:27:23 +11:00 |
|
Andrew Murray
|
51f7359c94
|
Loop over enums to create constants
|
2023-10-17 19:50:17 +11:00 |
|
REDxEYE
|
69b922d138
|
Replace self.mode with self._mode
|
2023-10-12 22:26:00 +03:00 |
|
pre-commit-ci[bot]
|
bc6c973e2d
|
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
|
2023-10-12 16:19:24 +00: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
|
9979a822c7
|
Changed Image mode property to be read-only by default
|
2023-07-29 09:28:18 +10:00 |
|
REDxEYE
|
9165771d5e
|
Add BC5U support. Seen in Amnesia: The Bunker
|
2023-06-15 03:08:04 +03:00 |
|
Andrew Murray
|
bd4826591b
|
Removed INVALID enum
|
2023-06-15 02:49:09 +03:00 |
|
Andrew Murray
|
cadac4aad2
|
Corrected error messages
|
2023-06-15 02:47:30 +03:00 |
|
Andrew Murray
|
78756cd17b
|
Simplified imports
|
2023-06-15 02:46:32 +03:00 |
|
Andrew Murray
|
9a7bd0d10b
|
Fixed big-endian bug
|
2023-06-15 02:45:46 +03:00 |
|
Andrew Murray
|
b87d4e075e
|
Restored formatting
|
2023-06-15 02:45:46 +03:00 |
|
Andrew Murray
|
eda4192618
|
Fixed typo
|
2023-06-15 02:45:46 +03:00 |
|
REDxEYE
|
15c90ac9bb
|
Simplified save code
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
|
2023-06-15 02:45:46 +03:00 |
|
REDxEYE
|
91664c9d8e
|
Small refactor
|
2023-06-15 02:45:43 +03:00 |
|
REDxEYE
|
7c25e0bbda
|
Small refactor
|
2023-06-15 02:43:42 +03:00 |
|
pre-commit-ci[bot]
|
a63fdc2235
|
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
|
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
|
429dc2850e
|
Remove unnecessary tuple creation
|
2023-06-15 02:37:38 +03:00 |
|
pre-commit-ci[bot]
|
3602e35818
|
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
|
2023-06-15 02:37:36 +03:00 |
|
REDxEYE
|
19887374ae
|
Add support for single channel textures
|
2023-06-15 02:33:55 +03:00 |
|
REDxEYE
|
3f77a9e235
|
Remove unused constants
|
2023-06-15 02:30:34 +03:00 |
|
REDxEYE
|
de2b4be9b9
|
Add Tile namedtuple for code readability.
Add typing info to Image.tile
|
2023-06-15 02:30:31 +03:00 |
|
REDxEYE
|
f2d91fcdaa
|
Add IntEnum/IntFlag for most of DDS members
|
2023-06-15 02:27:18 +03:00 |
|
Hugo van Kemenade
|
2ae55ccbda
|
Improve exception traceback readability
|
2022-12-30 00:07:52 +02: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
|
c3cc621c67
|
Merge branch 'python-pillow-main'
|
2022-08-02 15:55:21 +10:00 |
|
Andrew Murray
|
4276340074
|
Sorted formats by n
|
2022-07-27 21:32:48 +10:00 |
|
Andrew Murray
|
5bd893f760
|
Rename format to BC6H and BC6HS
|
2022-07-23 14:16:40 +10: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 |
|
ShadelessFox
|
18a3c249b6
|
Fix BC6H_SF decoder
|
2022-07-18 22:24:40 +03:00 |
|
Andrew Murray
|
e2288356ca
|
Use _accept check in _open
|
2022-02-27 14:48:36 +11:00 |
|
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
|
37c9b523b2
|
Use constant for uncompressed RGB data check
|
2021-06-14 18:14:28 +10:00 |
|
Andrew Murray
|
3b4db88202
|
Added BC5_SNORM reading when FourCC is DX10
|
2021-05-19 22:19:19 +10:00 |
|
Andrew Murray
|
22fb2dbd29
|
Simplified code
|
2021-05-19 21:57:40 +10:00 |
|