texgenpack | convert texure files using a genetic algorithm | Compression library
kandi X-RAY | texgenpack Summary
kandi X-RAY | texgenpack Summary
Compress, decompress and convert texure files using a genetic algorithm. Supports KTX and DDS containers, and texture formats such as the DXT family, ETC1/2, BC6/BC7 etc. Contains graphical user interface (designed for Linux). Advantage is versatility and extendability, disadvantage is slowness compared to less general texture compressors. Primarily developed for Linux, it uses the libfgen genetic algorithm library. It also contains a Windows port (which requires some configuration to provide pthreads and GTK+ for GUI). The detex repository (contains a stand-alone texture decompression library derived from texgenpack that also contains a viewer program. It superseeds texgenpack for this purpose as it is more complete and flexible, but does not contain texture compression functionality. It is the intention that a future version of texgenpack will make use of detex. See the file README for more detailed instructions.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of texgenpack
texgenpack Key Features
texgenpack Examples and Code Snippets
Community Discussions
Trending Discussions on texgenpack
QUESTION
I'm working on a wrapper for texgenpack for my AssetStudio python port. The goal of the wrapper is a conversion of texture types into a format that PIL can use. Atm, I simply want to save the original texture as a file, then read it via texgenpack, convert it and feed the result to PIL. (Later on the file r/w will be replaced by passing bytes.)
When I try to use
...ANSWER
Answered 2019-Aug-25 at 20:11I was able to solve the problem, it was actually pretty laughable.
The problem was, that the C source wasn't compiled, so the function references in the header files couldn't link to any actual functions.
setup.py
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install texgenpack
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page