猫史档案馆


DDguan

DDguan

Lv.1

harder better faster stronger. | LIT副室长

获赞:20642收藏:15483浏览:722525作品收藏:10217

签名:Simplay和JokerVG的狂热粉丝一枚!

回复帖子评论
上一页1 页 / 共 34下一页

【“编程猫圣诞新星”——无礼物,不圣诞】 中回复

emotion_雷电猴_捂嘴笑

from PIL import Image
import matplotlib.pyplot as plt


img = Image.open('bcm.jpg')
print(img.format, img.size)
_, axes = 2, 4
axes[0][0].imshow(img)
axes[0][0].set_title('original')
_img = img.copy()
newsize = (50,50)
_img.thumbnail(newsize)
axes[0][1].imshow(_img)
axes[0][1].set_title('thumbnail')
newsize = (50,150)
img_resize = img.resize(newsize)
axes[0][2].imshow(img_resize)
axes[0][2].set_title('resize')
img_crop = img.crop((0,0,img.width//2,img.height//2))
axes[0][3].imshow(img_crop)
axes[0][3].set_title('crop')
img_rotate = img.rotate(45)
axes[1][0].imshow(img_rotate)
axes[1][0].set_title('rotate')
img_rotate_2 = img.rotate(45,expand=True)
axes[1][1].imshow(img_rotate_2)
axes[1][1].set_title('rotate_expand')
img_flip_left_right = img.transpose(Image.FLIP_LEFT_RIGHT)
axes[1][2].imshow(img_flip_left_right)
axes[1][2].set_title('rotate_horizontal')
img_flip_top_bottom = img.transpose(Image.FLIP_TOP_BOTTOM)
axes[1][3].imshow(img_flip_top_bottom)
axes[1][3].set_title('rotate_vertical')
plt.show()

2020-12-18T21:03:22 点赞:4

【海龟编辑器】意见反馈信箱(长期有效) 中回复

希望可以调整字体大小

2021-05-28T16:04:23 点赞:0

求赞求赞求赞 中回复

建议大家去看看https://shequ.codemao.cn/work/104157202,不喜可删

 

2021-06-11T16:36:34 点赞:0

【kitten4.0反馈】遇到问题不要怕,技术喵来帮你忙! 中回复

今天真的特别生气。我做了一个小时的作品,以为它自动保存了,结果谁知尽然没有保存,关掉以后啥也没了,真心希望每分钟自动保存一次,真的是太生气了!!!!!!!!!!!emotion_编程猫_冷漠

2021-07-05T08:46:01 点赞:0

【人气排行榜一期】长隆奇遇之旅S1赛段人气作品排行 中回复

我以为会有小小神射手呢!

2021-07-08T19:20:17 点赞:0

想做一个DOS,不删除记录重启功能(输入rebooting启动)出了点bug,求大佬看下 中回复

这边有个类似的作品:https://shequ.codemao.cn/work/104157202(神射手赞)

还有相应的函数:

center_image

2021-07-09T15:13:19 点赞:0

【七月工作室展示位】 中回复

神射手工作室已

霸榜!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

2021-07-13T07:24:17 点赞:1

论多人协作对编程猫社区带来的影响 中回复

就这么一招,app工匠多人协作出炉了!!!!恭喜!

2021-07-16T20:31:37 点赞:0

【工作室6.0新规发布!】 中回复

不科学呀!等级低的工作室应该让人多一点,不然咋上等级呢????

2021-07-16T21:35:44 点赞:3

微集团聊天区(app工匠) 中回复

https://appcraft.codemao.cn/?workId=108968202,有时间可以修改一点,挺好用的,加油!

2021-07-17T10:59:26 点赞:0

微集团聊天区(app工匠) 中回复

有图标啦!

center_image

2021-07-17T16:45:15 点赞:0

微集团聊天区(app工匠) 中回复

现在的成员:

1.DDguan

2.喵窝里der斑鸠

3.UT纳海

4.冰镇杨梅汁

5.天下第一皮卡丘

希望更多成员可以参加!多找些人!

2021-07-17T16:47:10 点赞:0

微集团聊天区(app工匠) 中回复

蒟蒻OIer1048576加入了我们

2021-07-17T17:32:28 点赞:0

微集团聊天区(app工匠) 中回复

现在的成员:

1.DDguan

2.喵窝里der斑鸠

3.UT纳海

4.冰镇杨梅汁

5.天下第一皮卡丘

6.蒟蒻OIer1048576

希望更多成员可以参加!多找些人!

2021-07-17T17:33:45 点赞:0

微集团聊天区(app工匠) 中回复

看一下我的作品把:https://shequ.codemao.cn/work/108652077

2021-07-17T21:31:42 点赞:0

微集团聊天区(app工匠) 中回复

唯爱工作室de名探酱加入了我们

2021-07-18T13:05:34 点赞:0

微集团聊天区(app工匠) 中回复

R星加入了我们

2021-07-18T13:06:41 点赞:0

微集团聊天区(app工匠) 中回复

目前已有8人加入!

2021-07-18T13:07:04 点赞:0

微集团聊天区(app工匠) 中回复

KvK丶加入了我们

2021-07-18T13:20:12 点赞:0

微集团聊天区(app工匠) 中回复

现在的成员:1.DDguan2.喵窝里der斑鸠3.UT纳海4.冰镇杨梅汁5.天下第一皮卡丘6.蒟蒻OIer10485767.唯爱工作室de名探酱8.R星9.KvK丶10.LCC官方。希望更多成员可以参加!多找些人!

2021-07-18T15:49:06 点赞:0

微集团聊天区(app工匠) 中回复

https://appcraft.codemao.cn?workId=108971796&inviteCode=Z0LG4I86&~&点击击链接,一起进入《Neptune修图》的协同创作吧~

2021-07-18T15:50:10 点赞:0

BCMapp团队招人拉! 中回复

我们的微团队已经十分nb了,别跟我们抢人。想了解一下也行:

https://shequ.codemao.cn/community/386055

2021-07-18T21:26:38 点赞:0

【解决跨域】appcraft跨域问题通知 中回复

喵喵喵????

2021-07-18T21:38:38 点赞:0

【解决跨域】appcraft跨域问题通知 中回复

这位少年,我看你骨骼优良,才华横溢,不如加入我们的微集团把(app工匠):https://shequ.codemao.cn/community/386055

2021-07-18T21:40:08 点赞:0

微集团聊天区(app工匠) 中回复

https://appcraft.codemao.cn?workId=109563110&inviteCode=Pc9R0xMA&~&点击击链接,一起进入《黑洞探音》的协同创作吧~

2021-07-19T11:00:30 点赞:0

微集团聊天区(app工匠) 中回复

KITTEN多人协作上线了!!!!:https://preview-kitten.codemao.cn/,快去试试吧!!!!

2021-07-19T19:12:08 点赞:0

第一届APP VM OS2021賽事正式開啓 中回复

我们微集团正好有个系统,明天把网址发给你

2021-07-19T20:33:33 点赞:1

我是萌新,找工作室,我很听话,小学生,温馨提示看一下我主页。 中回复

来我们LIT2级工作室吧!无门栏,有官网,作品多,室长还是小蓝猫哦(大佬),成员都十分积极!

2021-07-19T20:46:14 点赞:0

你们工作室还缺人吗? 中回复

来我们LIT2级工作室吧!无门栏,有官网,作品多,室长还是小蓝猫哦(大佬),成员都十分积极!

2021-07-19T20:51:28 点赞:0

()找工作室 中回复

来我们LIT2级工作室吧!无门栏,有官网,作品多,室长还是小蓝猫哦(大佬),成员都十分积极!

2021-07-19T20:51:44 点赞:0