Releases: matyalatte/Texconv-Custom-DLL
Releases · matyalatte/Texconv-Custom-DLL
v0.4.1
Changelog
- Updated DirectXTex to June 2024 release (#11)
It includes a fix for HDR codec to avoid buffer overread for some malformed files (microsoft/DirectXTex#471) - Added a new function
uninit_com()
to uninitialize COM. (#9, #10) texconv()
andtexassemble()
calluninit_com()
internally when you setinit_com=true
.
Note
Presumably v0.4.1 will work without any changes to your existing code, but if you use the init_com()
function, it is recommended that you call uninit_com()
every time init_com()
returns 0 or 1.
Example code for python
# init_com=True calls init_com() and uninit_com() internally.
result = dll.texconv(len(argv), argv, verbose=True, init_com=True, allow_slow_codec=False,
err_buf=err_buf, err_buf_size=512)
# You can also initialize COM by yourself.
initialized = dll.init_com()
if initialized == 0 or initialized == 1:
result = dll.texconv(len(argv), argv, verbose=True, init_com=False, allow_slow_codec=False,
err_buf=err_buf, err_buf_size=512)
dll.uninit_com()
else:
print("Failed to initialize COM.")
v0.4.0
Changelog
Breaking Changes
- Linux and macOS require
libjpeg
andlibpng
.
Or use*-no-deps.tar.bz2
versions that don't support jpg and png. - Linux and macOS require
--
as an argument before file paths.
(e.g.texconv -ft tga -o outdir -y -- test.dds
)
Other Changes
- Updated DirectXTex, texconv, and texassemble to the March 2024 release.
- Supported jpg and png on Unix/Linux systems.
- Added a function to initialize COM.
- Fixed memory leaks for gpu resources (ID3D11Device).
- Fixed a bug that exe can't parse args correctly on Unix/Linux systems.
v0.2.2
Changelog
- Fixed errors when using some cmake options
- Fixed a bug that initialized images won't be zeroed
- Updated submodules
- Added "TEXCONV_USE_ALL" option (it'll enable all "TEXCONV_USE_*" options)
- Removed "TEXCONV_USE_USAGE" option (it'll be enabled with TEXCONV_BUILD_AS_EXE)
Notes
- The shared library is built with "TEXCONV_USE_ALL" option.
- The executables are built with
TEXCONV_BUILD_AS_EXE
andTEXCONV_USE_ALL
options. And they won't refer the shared library. - The Linux build only supports Ubuntu 20.04 or later.
- The macOS build only supports macOS 10.15 or later.
v0.2.1
Changelog
- Updated DirectXTex
- Added parameters to get error messages
- Enabled to print error messages to stderr
- Fixed a bug it can't read paths start with "/"
- Fixed a bug it can't use GPU twice in a process
- Added a cmake option to remove GPU codec
- Added cmake options to build texassemble
Notes
- The shared library is built with no cmake options.
- The executable is built with
TEXCONV_BUILD_AS_EXE
andTEXCONV_USE_USAGE
options. And it won't refer the shared library. - The Linux build only supports Ubuntu 20.04 or later.
- The macOS build only supports macOS 10.15 or later.
See docs/Usage.md if you want to know how to use texconv.
v0.1.2
Changelog
- Supported Ubuntu 20.04 or later
- Supported macOS 10.15 or later
- Improved an error message about missing output directories
Notes
- The shared library is built with no cmake options.
- The executable is built with
TEXCONV_BUILD_AS_EXE
andTEXCONV_USE_USAGE
options. And it won't refer the shared library. - The Linux build only supports Ubuntu 20.04 or later.
- The macOS build only supports macOS 10.15 or later.
See docs/Usage.md if you want to know how to use texconv.
Known issues
- Can't read paths start with "/".
- Can't use GPU twice in a process.
v0.1.1
Changelog
- Enabled to build as exe (added "TEXCONV_BUILD_AS_EXE" option)
- Removed more lines for WIC
- Removed more features
v0.1.0
Changelog
- Initial release
The released DLL is a compiled one with no cmake options.