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

Is it possible to highlight a word within a string while using TextClip? #1228

Closed
xlwneal opened this issue Jun 13, 2020 · 3 comments
Closed
Labels
lib-misc Issues pertaining to misc. 3rd-party libraries. question Questions regarding functionality, usage text Issues dealing with TextClip, SubtitlesClip, or handling of text in general.

Comments

@xlwneal
Copy link

xlwneal commented Jun 13, 2020

It looks like that TextClip can only support one color.
Is there a way to go around?

@xlwneal xlwneal added the question Questions regarding functionality, usage label Jun 13, 2020
@tburrows13
Copy link
Collaborator

tburrows13 commented Jun 14, 2020

At the moment, this is not possible in MoviePy. TextClip is a simple wrapper around ImageMagick, which does not have this functionality. You can see it discussed here: https://www.imagemagick.org/discourse-server/viewtopic.php?t=13052 so you may be able to edit the code in TextClip.py to support this feature.

Note that we are likely to move away from the ImageMagick TextClip in v2.0. It may still be available, but the default will likely be pillow-based: #1145.

@xlwneal
Copy link
Author

xlwneal commented Jun 14, 2020

Thanks. I'll look into the TextClip.py.

@keikoro keikoro added text Issues dealing with TextClip, SubtitlesClip, or handling of text in general. lib-misc Issues pertaining to misc. 3rd-party libraries. labels Oct 6, 2020
@keikoro
Copy link
Collaborator

keikoro commented Jan 6, 2022

Closing this as the original question was essentially answered.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lib-misc Issues pertaining to misc. 3rd-party libraries. question Questions regarding functionality, usage text Issues dealing with TextClip, SubtitlesClip, or handling of text in general.
Projects
None yet
Development

No branches or pull requests

3 participants