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

Resource optimisations #3548

Merged
merged 3 commits into from
Dec 4, 2024
Merged

Resource optimisations #3548

merged 3 commits into from
Dec 4, 2024

Conversation

bluepilledgreat
Copy link
Member

Saves 416KB!!! That's almost a half MB!!!
The largest contributor to the file size are font files inside of WPF.UI but I have no idea how to compress font files and have them still work.

removed all metadata + reduced quality
reduced from 32kb to 1.5kb
@RyanLua
Copy link
Contributor

RyanLua commented Nov 3, 2024

Have you considered using SVG or WebP? At least for the icons, you can get high resolutions for small file size. And WebP typically has better compression than PNG.

@bluepilledgreat
Copy link
Member Author

Have you considered using SVG or WebP? At least for the icons, you can get high resolutions for small file size. And WebP typically has better compression than PNG.

webp isnt supported in .net 6

@MrT-tak
Copy link

MrT-tak commented Nov 5, 2024

Have you considered using SVG or WebP? At least for the icons, you can get high resolutions for small file size. And WebP typically has better compression than PNG.

webp isnt supported in .net 6

Sad, you sure a library doesnt exist for webp?
Would love to know!

Thanks for Bloxstrap!

@bluepilledgreat
Copy link
Member Author

Sad, you sure a library doesnt exist for webp? Would love to know!

pretty sure none exist

@MrT-tak
Copy link

MrT-tak commented Nov 8, 2024

Sad, you sure a library doesnt exist for webp? Would love to know!

pretty sure none exist

?

Sad, you sure a library doesnt exist for webp? Would love to know!

pretty sure none exist

For displaying images?

@bluepilledgreat bluepilledgreat merged commit fb52bb3 into main Dec 4, 2024
8 checks passed
@bluepilledgreat bluepilledgreat deleted the qol/resource-optimisations branch December 4, 2024 17:40
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

Successfully merging this pull request may close these issues.

3 participants