We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tool.write_tex
Software Versions
Describe the bug
kivy/kivy/tools/texturecompress.py
Lines 81 to 85 in c0d4894
This is the same issue as #8675 (at line 82). I suppose that it is correct to change from str to bytes, or vice versa.
If you like, I can send PR for both this issue and #8675. Thank you.
To Reproduce
from kivy.tools.texturecompress import Tool from argparse import ArgumentParser parser = ArgumentParser( description='Convert images to compressed texture') parser.add_argument('--dir', type=str, default=None, help='Output directory to generate the compressed texture') parser.add_argument('format', type=str, choices=['pvrtc', 'etc1'], help='Format of the final texture') parser.add_argument('image', type=str, help='Image filename') args = parser.parse_args() a = Tool(args).write_tex([], args.format, (1, 1), (1, 1))
Code and Logs and screenshots
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Software Versions
Describe the bug
kivy/kivy/tools/texturecompress.py
Lines 81 to 85 in c0d4894
This is the same issue as #8675 (at line 82).
I suppose that it is correct to change from str to bytes, or vice versa.
If you like, I can send PR for both this issue and #8675.
Thank you.
To Reproduce
Code and Logs and screenshots
kivy/kivy/tools/texturecompress.py
Lines 81 to 85 in c0d4894
The text was updated successfully, but these errors were encountered: