-
Notifications
You must be signed in to change notification settings - Fork 303
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding image random text wrapper (#254)
Summary: Pull Request resolved: #254 Adding a to add text to an image that can do the following after a pre-defined text is given: - Randomly generates x and y position to start writing the text - Breaks the text into N lines, so that it can fit in the image - Moves the x start point to the left if the text cannot fit - Reduces font size it text still cannot fit - Randomly selects color Reviewed By: erikbrinkman, jbitton Differential Revision: D64933482 fbshipit-source-id: e76853b2e2b39cdcac71c35f6baa4bda7901925f
- Loading branch information
1 parent
1113b1d
commit ac18f48
Showing
10 changed files
with
337 additions
and
2 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Binary file added
BIN
+944 KB
augly/tests/assets/image/dfdc_expected_output/test_overlay_wrap_text.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.