a05c1e352e
Release 0.2.1
...
### Fixed
- Fixed broken transparency on palettized PNG files
### Changed
- Changed which wheels are built by the CI. There are no changes to OS or Python version compatibility if you compile from source.
- Stopped building Python 3.7 wheels
- Stopped building macOS universal wheels
- Wheels for macOS now require macOS 12 or later
- Included macOS ARM wheels
- Included Python 3.12 wheels
2024-06-02 18:58:48 -07:00
cbec93ed55
Skip any dds files when encoding
2023-06-21 15:41:08 -07:00
8509384bff
Add -n option to encode bc3
which performs a BC3nm swizzle
2023-06-21 15:32:24 -07:00
661536e6f6
use scoped lock
2022-05-22 20:59:37 -07:00
ddbeff43cb
Update copyright year
2022-05-11 20:51:35 -07:00
cb84f32eda
Migrate code style to Black
2022-04-18 19:53:26 -07:00
a881a0a36b
Add more helpful error when importing without libomp installed
...
Also use non-shallow clones in ci
2022-04-11 23:05:20 -07:00
3b73bc8bce
use Py_ssize_t to make msvc happy
2022-04-10 01:06:25 -07:00
f7d57aa859
Fix alpha premultiplication being used when generating mipmaps
2021-09-28 20:40:01 -07:00
f2873f3a38
Downgrade project to C++17
2021-05-08 16:50:05 -07:00
2618faadfc
Fix cli module
2021-04-20 15:14:51 -07:00
38d3805add
fix pfflags and mipmap count
2021-04-20 11:23:14 -07:00
8967bc2f1a
use member initialization for constexpr constructors
2021-04-13 23:39:24 -07:00
69fdd6a4c8
fix typo in help text
2021-04-10 22:11:29 -07:00
0152e99c44
Add encode command
2021-04-10 21:34:49 -07:00
560acb20ea
Add __version__
2021-04-10 12:15:20 -07:00
362c1c0715
dont try to run cli from __init__.py
2021-04-10 01:50:25 -07:00
4c6b683616
move common code to its own module and out of __init__.py, move command to __main__.py
2021-04-10 01:34:26 -07:00
b8aba4d382
move common code to its own module and out of __init__.py
2021-04-10 01:28:03 -07:00
1f0a577d7f
document some things
2021-04-09 23:21:53 -07:00
76da50d003
More decode cleanup
2021-04-09 23:18:40 -07:00
8a85f5c920
decode cleanup
2021-04-09 02:19:58 -07:00
156880d430
Add decode command
2021-04-09 01:33:30 -07:00
8b6ea69300
DDS file class
2021-04-08 21:26:58 -07:00
09e05b7cde
API changes
2021-04-08 16:04:21 -07:00
7149864173
tweaks
2021-04-07 23:39:50 -07:00
2fa4f59104
License comment update
2021-04-07 23:26:28 -07:00
ac16b14a92
formatting
2021-04-07 23:21:54 -07:00
3c538f0843
test for BC4
2021-04-07 01:08:45 -07:00
f06fc809b2
Add BC1 block decoding tests and fix
2021-04-06 00:03:58 -07:00
901dcc45df
Add BC1 tests
2021-04-05 02:44:56 -07:00
8ab324a661
delete ndebug.h
2021-04-04 21:23:13 -07:00
9fdbaf2909
Use pybind11-generated docstring signatures
2021-04-03 23:53:22 -07:00
190bb58367
fix stubgen and add pyi files to package
2021-04-03 22:03:50 -07:00
4fdf1085e0
bind encode/decode methods
2021-04-03 00:55:49 -07:00
424d635292
Fix interpolator container type
2021-04-03 00:36:41 -07:00
d25d8c3c56
Finish block/texture bindings
2021-04-02 19:24:54 -07:00
6831c3f6c9
Fix virtual overloading
2021-04-02 18:51:38 -07:00
639ce6ad14
Minor tweaks
2021-04-02 18:34:14 -07:00
831e86fda6
Fix broken constexpr
2021-04-02 18:25:37 -07:00
3d91ac2bed
BC1Block/BC4Block cleanup
2021-04-02 01:01:01 -07:00
e1739b99d3
Fix map?
2021-04-01 23:26:16 -07:00
53605c983d
Fix functor?
2021-04-01 22:45:40 -07:00
8cd870ed26
More block tweaks
2021-04-01 22:37:25 -07:00
0caa4fbc4c
fix Color constexpr constructor
2021-04-01 16:50:02 -07:00
fa3fab4ca0
Block refactor
2021-04-01 16:37:15 -07:00
3852da6249
Bind BC1Block and BC1Texture
2021-03-31 20:26:40 -07:00
28b541d49a
Improved subscripting
2021-03-30 02:36:27 -07:00
bd454d9d20
improved texture indexing
2021-03-29 22:56:25 -07:00
22bbdeb7b8
Add texture tests and minor api tweaks
2021-03-29 22:15:53 -07:00