feat(svg): shrink and accelerate animated output - #24
Open
balcsida wants to merge 90 commits into
Open
Conversation
balcsida
marked this pull request as draft
August 5, 2026 20:53
Owner
|
Wow quite the contribution! Thanks! |
Author
|
I put it back to draft as there is a few things that I would like to try out before giving up to squeeze more performance and/or smaller output filesizes out |
balcsida
marked this pull request as ready for review
August 11, 2026 17:12
Author
|
Thanks for the patience, @MrMarble, could you please check this now? |
Owner
Currently spending time with the family, won't have a computer until next week, but it looks promising! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
hrefswitching, and maximum-FPS sampling while keeping existing defaults losslessImpact
Default exports retain their existing lossless behavior. Experimental modes allow callers to trade compatibility or temporal resolution for smaller output; the checked-in 30 FPS examples intentionally use temporal sampling.
Validation
go test -race ./...go vet ./...go build ./cmd/termsvgxmllint --noout examples/*.svggit diff --checkDemo in Safari 26.6
original.mov
optimised.mov