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

Unify Import/Export of Mipmaps. #69

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

Deledrius
Copy link
Member

Adds an improved, unified interface for importing/exporting plMipmaps to and from supported formats.

Depends on #44 and H-uru/libhsplasma#255

@Deledrius
Copy link
Member Author

Up for discussion on this is:

  • This removes reading/writing of JPEG Alpha files. Are these still necessary now that we easily read/write formats that support alpha natively?
  • This reads all images into an uncompressed image data buffer and stores them this way. Would it be preferred to read them directly into the same image compression as the file itself when possible?

All Plasma image data, other than DXT, is stored as BGR in plMipmap
Co-authored-by: Michael Hansen <zrax0111@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants