Commit e1d52ead by BellCodeEditor

save project

parent 8dd3b008
1.jpg

20.1 KB

2.jpg

158 KB

...@@ -11,7 +11,7 @@ text = " ".join(txt_list) ...@@ -11,7 +11,7 @@ text = " ".join(txt_list)
w=wordcloud.WordCloud(background_color='white',font_path='SimHei.ttf') w=wordcloud.WordCloud(background_color='white',font_path='SimHei.ttf')
w.generate(text) w.generate(text)
w.to_file("test.png") w.to_file("test.png")
img = Image.open('bell.png') img = Image.open('2.jpg')
data = numpy.array(img) data = numpy.array(img)
img_colors = wordcloud.ImageColorGenerator(data) img_colors = wordcloud.ImageColorGenerator(data)
......

212 KB | W: | H:

235 KB | W: | H:

mycloud.png
mycloud.png
mycloud.png
mycloud.png
  • 2-up
  • Swipe
  • Onion skin

72 KB | W: | H:

82.5 KB | W: | H:

test.png
test.png
test.png
test.png
  • 2-up
  • Swipe
  • Onion skin
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment