Is it possible to creat a function that can take a text and generate an image from input text? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Is it possible to creat a function that can take a text and generate an image from input text?

its possible to creat and app that can convert an image of any extension to a text file that can be renconverted back to the image when received by the receiver using the same app or function . For example I want my carpenter to manufacture me a table . He’s in an area with poor network connection but we can only communicate through simple text messages . I want to send him the image of the table but he can’t connect to internet . We want to have function that convert the image to text and viseversal

22nd Jul 2023, 6:52 PM
Solle Solle Georges Franck
Solle Solle Georges Franck - avatar
2 Answers
+ 1
You could convert the image file binary values into a stream of hexadecimal characters that can be sent as text, and then collected and reconstructed into a binary file at the receiver end. Historically I have seen tools intended for that purpose (e.g., for obsolete landline telephone modem communication). It might be something you could implement in Python with some effort. Good luck with your search!
22nd Jul 2023, 9:04 PM
Brian
Brian - avatar
+ 1
You can use openai for that purpose, but it's not free.
22nd Jul 2023, 7:00 PM
Jan
Jan - avatar