Andrew Murray
|
dcce582169
|
Assert fp is not None
|
2025-05-30 22:16:27 +10:00 |
|
Andrew Murray
|
4d56b90f38
|
Updated docstring
|
2025-05-05 07:12:20 +10:00 |
|
Andrew Murray
|
cd11792c15
|
Added BC5 saving
|
2025-03-17 07:55:25 +11:00 |
|
Andrew Murray
|
b0315cc603
|
Added BC2 loading and saving
|
2025-03-17 07:55:24 +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 |
|
Hugo van Kemenade
|
1e574e6f8b
|
Replace slice and comparison with startswith
|
2025-02-17 23:39:33 +02:00 |
|
Andrew Murray
|
871963b8dd
|
Replaced tuple args with mode string where equivalent
|
2024-11-13 22:53:18 +11:00 |
|
Andrew Murray
|
06c331af5d
|
Added type hints to frombuffer
|
2024-09-06 15:16:59 +10:00 |
|
Andrew Murray
|
d00f3656a6
|
Changed im.tile to never be None
|
2024-08-30 22:28:03 +10:00 |
|
Hugo van Kemenade
|
9c7ba240e9
|
Merge pull request #7966 from radarhere/palette
Support unpacking more rawmodes to RGBA palettes
|
2024-06-23 01:43:41 -06:00 |
|
Andrew Murray
|
1eb960f7e3
|
Added type hints
|
2024-06-11 23:26:00 +10:00 |
|
Andrew Murray
|
2d1fe7572f
|
Added type hints
|
2024-06-10 14:15:28 +10:00 |
|
Andrew Murray
|
b3c534cc9a
|
Added type hints
|
2024-06-05 08:29:28 +10:00 |
|
Andrew Murray
|
2dedeef832
|
Support unpacking more rawmodes to RGBA palette
|
2024-05-22 20:05:07 +10:00 |
|
Andrew Murray
|
e419fd7ab4
|
Added type hints
|
2024-05-15 20:19:09 +10:00 |
|
Andrew Murray
|
58ee112a9a
|
Merge branch 'main' into type_hint
|
2024-05-08 18:04:02 +10:00 |
|
mrKazzila
|
74063feadc
|
chore: add f-string formatting
|
2024-05-04 19:21:49 +03:00 |
|
Andrew Murray
|
6036d81d97
|
Added type hints
|
2024-05-04 20:51:54 +10:00 |
|
Andrew Murray
|
48b270590c
|
accept returns bool or str
|
2024-04-06 18:31:08 +02:00 |
|
Andrew Murray
|
badc92079d
|
Do not cast to bytes for set_as_raw()
|
2024-04-01 15:24:40 +11:00 |
|
Andrew Murray
|
f69168523e
|
Do not calculate destination length each time
|
2024-04-01 15:24:10 +11:00 |
|
Andrew Murray
|
19a6edeecc
|
Added type hints
|
2024-02-10 19:50:45 +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
|
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 |
|
pre-commit-ci[bot]
|
232094e065
|
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
|
2023-12-06 21:45:26 +00:00 |
|
Andrew Murray
|
8b44116773
|
Merge branch 'main' into dds_rgb
|
2023-12-07 08:43:57 +11:00 |
|
Andrew Murray
|
00c6a89177
|
Link to plugin
|
2023-12-06 11:10:20 +11:00 |
|
REDxEYE
|
9e6030f5a9
|
Rename _420_OPAQUE to OPAQUE_420
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
|
2023-12-05 13:04:19 +03:00 |
|
Andrew Murray
|
f2e478e968
|
Merge branch 'main' into improved_dds
|
2023-12-05 17:49:47 +11:00 |
|
Sam Bourne
|
8c5d5c7e6b
|
Add support for BC4 dds files
|
2023-12-04 09:54:10 -08:00 |
|
Andrew Murray
|
e072a12974
|
Corrected constant values
|
2023-12-02 21:36:17 +11:00 |
|
Andrew Murray
|
5aadeb5004
|
Moved _Tile to ImageFile
|
2023-12-02 21:36:17 +11:00 |
|
Andrew Murray
|
ab96324c12
|
Removed support for RGB bitcount 8
|
2023-12-02 21:36:17 +11:00 |
|
Andrew Murray
|
662cb229c2
|
Updated variable name to match tile
|
2023-12-02 21:36:17 +11:00 |
|
Andrew Murray
|
2e8dd3bdca
|
Use int.from_bytes()
|
2023-12-01 22:56:25 +11:00 |
|
Andrew Murray
|
30eb41475d
|
Use f-string
Co-authored-by: Aarni Koskela <akx@iki.fi>
|
2023-12-01 22:44:51 +11:00 |
|
Andrew Murray
|
f1fef09d4a
|
Support arbitrary masks for uncompressed RGB images
|
2023-11-30 21:13:59 +11:00 |
|
Andrew Murray
|
8814610635
|
Only unpack masks when necessary
|
2023-10-30 22:16:55 +11:00 |
|
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 |
|