Skip to content

Conversation

@Madhav-MKNC
Copy link

No description provided.

@Madhav-MKNC
Copy link
Author

#4

@campbel51838903
Copy link

I noticed your documentation is very thorough, which is helpful for beginners.

@lingkk34
Copy link

I appreciate the effort you put into making your code readable and well-documented. It's refreshing to see.

@jenuk
Copy link
Contributor

jenuk commented Jul 26, 2023

This does not work.

txts = log_txt_as_img((256, 256), ["Hello World", "This will overlap"])
Image.fromarray((127.5*txts[0] + 127.5).astype("uint8")).show()
Image.fromarray((127.5*txts[1] + 127.5).astype("uint8")).show()

gives the following images:
tmpi4i94yun
tmp_w0w7zr_

You would need to reset the images after each generation. And if you do this, please test if this would actually speed this up significantly.

Also please avoid changing the return type.

I will be closing this for now, but feel free to reopen this, when it actually works and it is faster.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants