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 |
|
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 |
|