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

RGB interpolation for colours #5

Open
Myaamori opened this issue Apr 3, 2019 · 1 comment
Open

RGB interpolation for colours #5

Myaamori opened this issue Apr 3, 2019 · 1 comment

Comments

@Myaamori
Copy link

Myaamori commented Apr 3, 2019

Currently ASSFoundation performs interpolation between two colours is HSV space. Though this is the desirable behaviour for many cases, it is not the way interpolation is handled in libass. It would be useful if there was an option to instead perform the interpolation in RGB space.

Bonus points if there could be some consistent API for specifying libass-like interpolation behaviour for all tags (assuming there are any other tags where the behaviour differs), so that you could easily write generic code for doing interpolation between any two tags, without the need to branch on tag type to get the right interpolation behaviour.

@Myaamori Myaamori changed the title RBG interpolation for colours RGB interpolation for colours Apr 3, 2019
@line0
Copy link
Contributor

line0 commented Aug 24, 2019

@Myaamori I absolutely agree. Transform/Move-to-Fbf expansion is very high up on the TODO list for ASSFoundation which makes this feature necessary. You're also right in that it's very easy to implement given the current class structure.

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 a pull request may close this issue.

2 participants