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

[Feature] PNG quality & size optimisation #242

Open
lastbattle opened this issue Jul 10, 2024 · 0 comments
Open

[Feature] PNG quality & size optimisation #242

lastbattle opened this issue Jul 10, 2024 · 0 comments

Comments

@lastbattle
Copy link
Owner

lastbattle commented Jul 10, 2024

When exporting images from WZ, include the surface format in the metadata of the png.

When importing an external PNG, HaRepacker has to decide the types of surface format that the image should be based on its ARGB bytes signature (dxt3, dxt5, Bgr565, or Bgra4444) if its not available.
Then compresses it accordingly before storing it into WZ. (WzPngProperty format+format2 is currently not well handled)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant