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

Refactor image resizing #667

Merged
merged 17 commits into from
Nov 24, 2024
Merged

Conversation

InfiniteStash
Copy link
Collaborator

@InfiniteStash InfiniteStash commented Jul 6, 2023

Removes previous image resizing infrastructure in favor of JIT resizing via libvips. The upside is we can use thumbs of different sizes rather using 720p/1080p images for everything.

This requires CGO for linux, which breaks static linking on linux. It's proven very difficult to sort out on Windows, so the windows build will continue using the rather slow go resizing. As long as production builds use docker, it shouldn't cause any issues.

Overall it's pretty speedy, although for production I recommend using varnish or similar to cache.

@InfiniteStash InfiniteStash added this to the 0.5 milestone Jul 13, 2023
@DogmaDragon DogmaDragon modified the milestones: 0.5, 0.6 May 11, 2024
@InfiniteStash InfiniteStash merged commit a4c9b60 into stashapp:master Nov 24, 2024
2 checks passed
@InfiniteStash InfiniteStash deleted the resize-refactor branch November 24, 2024 11:58
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