Skip to content

Cover image optimization#1883

Merged
anttimaki merged 2 commits intodevelopfrom
cover-image-optimization
Oct 23, 2025
Merged

Cover image optimization#1883
anttimaki merged 2 commits intodevelopfrom
cover-image-optimization

Conversation

@VilppeRiskidev
Copy link
Copy Markdown
Collaborator

No description provided.

@VilppeRiskidev VilppeRiskidev self-assigned this Aug 14, 2025
@VilppeRiskidev VilppeRiskidev force-pushed the cover-image-optimization branch 2 times, most recently from 0d1e3c3 to b61d2f1 Compare August 20, 2025 10:49
@VilppeRiskidev
Copy link
Copy Markdown
Collaborator Author

thunderstore-io/ecosystem-schema#192 Generating the schema from this version of ecosystem-schema repo seems to work with these changes.

@VilppeRiskidev VilppeRiskidev marked this pull request as ready for review August 20, 2025 12:09
@VilppeRiskidev VilppeRiskidev marked this pull request as draft August 20, 2025 12:20
@VilppeRiskidev VilppeRiskidev force-pushed the cover-image-optimization branch from b61d2f1 to 8cba02d Compare August 20, 2025 12:20
@VilppeRiskidev VilppeRiskidev marked this pull request as ready for review August 20, 2025 12:49
@VilppeRiskidev
Copy link
Copy Markdown
Collaborator Author

game_selection folder total size went from 9,68MB to 4,83MB

Copy link
Copy Markdown
Collaborator

@anttimaki anttimaki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • I'm still unsure why bash scripts were chosen for this task, but if it works it works
  • assets/images seems like a wrong place for the script files. Could the perhaps be moved to e.g. /scripts without breaking them?

@VilppeRiskidev VilppeRiskidev force-pushed the cover-image-optimization branch from ea93eca to 668fe6e Compare August 26, 2025 10:47
@VilppeRiskidev VilppeRiskidev force-pushed the cover-image-optimization branch from 668fe6e to 36bc034 Compare August 26, 2025 12:04
Copy link
Copy Markdown
Collaborator

@anttimaki anttimaki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Uh, the new changes are fine but I probably should've noticed this in the earlier review already: dropping the webp convertor script might be a mistake, as having a script that just renames image files without actually converting them seems like a bad idea. So if we want to keep the scripts around for future use, we should either keep both convert/rename, or combine them into one that converts and renames non-webp files at one go.

Copy link
Copy Markdown
Collaborator

@anttimaki anttimaki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved, although this should be merged only after #1823 and at that point the scripts need to be reapplied (moved and added images).

@VilppeRiskidev VilppeRiskidev force-pushed the cover-image-optimization branch 2 times, most recently from 169b433 to 0852a2f Compare October 22, 2025 08:55
* Add and run auto-renaming script and run it for the images
* Add and run a script which converts all of the cover images to webp
* Perform a few manual renames
* Add a image name format validator script and delete unneeded scripts
@anttimaki anttimaki merged commit 3380604 into develop Oct 23, 2025
5 checks passed
@anttimaki anttimaki deleted the cover-image-optimization branch October 23, 2025 12:45
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