-
Notifications
You must be signed in to change notification settings - Fork 210
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
Text overlay for GIF #1533
Text overlay for GIF #1533
Conversation
@jywarren @harshkhandeparkar @keshav234156 Text-overlay is also now working for gifs |
Codecov Report
@@ Coverage Diff @@
## main #1533 +/- ##
======================================
Coverage ? 66.7%
======================================
Files ? 129
Lines ? 2664
Branches ? 428
======================================
Hits ? 1777
Misses ? 887
Partials ? 0
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi! This is great. How hard do you think it'd be to write a test for this?
I will create a test in #1530 once this pr gets merged |
@jywarren ya I guess it will be possible |
Yes we can.You should add a |
Ok cool |
Ok! Awesome! Thanks!!! |
Is it required? Also, the way it is implemented isn't the most optimal solution. It would be better to pass in a function that calculates the datauri on demand if required. Calculating the datauri for every frame and for every module even though the majority of the modules do not even use this feature. |
Maybe this needs it's own issue? Is this in #1547 now? thanks! frames[f] = options.extraManipulation(framePix, setRenderState, generateOutput, datauri) || framePix; // extraManipulation is used to manipulate each pixel individually. |
@jywarren Yes |
It is required for modules which needs url, (in case of gifs, getting url through canvas method wasnt working well) . @harshkhandeparkar yes it can be refactored so as to not being processed for other modules. |
@ataata107 could you please open an issue for the refactor? |
@harshkhandeparkar it has already been done! #1551 |
Nope. I was talking about this
|
Fixes #1462 (<=== Replace
0000
with the Issue Number)Make sure these boxes are checked before your pull request (PR) is ready to be reviewed and merged. Thanks!
npm test
@publiclab/is-reviewers
for help, in a comment belowIf tests do fail, click on the red
X
to learn why by reading the logs.Please be sure you've reviewed our contribution guidelines at https://publiclab.org/contributing-to-public-lab-software
Please make sure to get at least two reviews before asking for merging the PR as that would make the PR more reliable on our part
Thanks!