Skip to content

Conversation

ns6089
Copy link
Contributor

@ns6089 ns6089 commented Oct 15, 2023

Description

Losslessly optimize png assets with oxipng https://github.com/shssoichiro/oxipng

find src_assets -type f -name '*.png' -exec oxipng -o max --strip safe --alpha {} \;
Processing: src_assets\common\assets\box.png
680 bytes (31.86% smaller): src_assets\common\assets\box.png
Processing: src_assets\common\assets\desktop-alt.png
8737 bytes (72.88% smaller): src_assets\common\assets\desktop-alt.png
Processing: src_assets\common\assets\desktop.png
8231 bytes (73.81% smaller): src_assets\common\assets\desktop.png
Processing: src_assets\common\assets\steam.png
24833 bytes (51.33% smaller): src_assets\common\assets\steam.png
Processing: src_assets\common\assets\web\images\logo-sunshine-16.png
643 bytes (17.25% smaller): src_assets\common\assets\web\images\logo-sunshine-16.png
Processing: src_assets\common\assets\web\images\logo-sunshine-45.png
1607 bytes (24.02% smaller): src_assets\common\assets\web\images\logo-sunshine-45.png
Processing: src_assets\common\assets\web\images\sunshine-locked-16.png
650 bytes (11.80% smaller): src_assets\common\assets\web\images\sunshine-locked-16.png
Processing: src_assets\common\assets\web\images\sunshine-locked-45.png
1980 bytes (15.57% smaller): src_assets\common\assets\web\images\sunshine-locked-45.png
Processing: src_assets\common\assets\web\images\sunshine-locked.png
12555 bytes (21.48% smaller): src_assets\common\assets\web\images\sunshine-locked.png
Processing: src_assets\common\assets\web\images\sunshine-pausing-16.png
681 bytes (9.92% smaller): src_assets\common\assets\web\images\sunshine-pausing-16.png
Processing: src_assets\common\assets\web\images\sunshine-pausing-45.png
1868 bytes (13.88% smaller): src_assets\common\assets\web\images\sunshine-pausing-45.png
Processing: src_assets\common\assets\web\images\sunshine-pausing.png
10968 bytes (18.36% smaller): src_assets\common\assets\web\images\sunshine-pausing.png
Processing: src_assets\common\assets\web\images\sunshine-playing-16.png
687 bytes (11.81% smaller): src_assets\common\assets\web\images\sunshine-playing-16.png
Processing: src_assets\common\assets\web\images\sunshine-playing-45.png
2044 bytes (14.33% smaller): src_assets\common\assets\web\images\sunshine-playing-45.png
Processing: src_assets\common\assets\web\images\sunshine-playing.png
12100 bytes (24.95% smaller): src_assets\common\assets\web\images\sunshine-playing.png

Screenshot

Issues Fixed or Closed

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Dependency update (updates to dependencies)
  • Documentation update (changes to documentation)
  • Repository update (changes to repository files, e.g. .github/...)

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have added or updated the in code docstring/documentation-blocks for new or existing methods/components

Branch Updates

LizardByte requires that branches be up-to-date before merging. This means that after any PR is merged, this branch
must be updated before it can be merged. You must also
Allow edits from maintainers.

  • I want maintainers to keep my branch updated

@ReenigneArcher ReenigneArcher merged commit adcf2cd into LizardByte:nightly Oct 15, 2023
KuleRucket pushed a commit to KuleRucket/Sunshine that referenced this pull request Jun 6, 2024
e-dong pushed a commit to e-dong/Sunshine that referenced this pull request Jul 26, 2024
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.

2 participants