Skip to content
New issue

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

Add pixel conversion code #1

Open
JayFoxRox opened this issue Jun 26, 2018 · 0 comments
Open

Add pixel conversion code #1

JayFoxRox opened this issue Jun 26, 2018 · 0 comments
Labels
easy Good for newcomers or if you don't have much time

Comments

@JayFoxRox
Copy link
Member

JayFoxRox commented Jun 26, 2018

There should be routines which convert NV2A pixel data to a more usable format. Possibly PIL images or A8R8G8B8 bytes(). I prefer the PIL solution because almost everyone will have it anyway, and it supports DXT.
PIL could be an optional dependency.

There's work in nv2a-trace which will eventually move here. See Texture.py in nv2a-trace (current version linked, please look where file has moved in master branch)
Please work on nv2a-trace if you want to solve this issue.

There is also some dirty unswizzling code in nv2a.py which must be looked at, see #6

@JayFoxRox JayFoxRox added the easy Good for newcomers or if you don't have much time label Jun 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
easy Good for newcomers or if you don't have much time
Development

No branches or pull requests

1 participant