-
-
Notifications
You must be signed in to change notification settings - Fork 0
Text_to_Handwriting
SigireddyBalasai edited this page Dec 4, 2022
·
1 revision
text_to_handwriting(string: str, save_to: str = "pywhatkit.png", rgb: tuple = (0, 0, 0)) -> None
This is used to convert a string to an Image with Handwritten Characters.
Example:
import asyncio
import AsyncPywhatKit
async def main():
await AsyncPywhatKit.text_to_handwriting(string="AsyncPywhatKit")
loop = asyncio.get_event_loop()
loop.run_until_complete(main())
By default the output filename is pywhatkit.png
but you can change it by specifying a value for the parameter.
Example: AsyncPywhatKit.text_to_handwriting("Hello", "filename.png")
The default color value for the handwritten text is Black rgb(0, 0, 0)
which can be changed as per choice.
Note: There is no support for custom hand writings currently.
Example: AsyncPywhatKit.text_to_handwriting("Hello", "filename.png", (0, 0, 138))