随笔分类 -  Python学习笔记

摘要:简介 正如,pyplot模块被用来绘制二维图,matplotlib使用mplot3d模块绘制三维图形,在mplot3d模块中存在 mpl_toolkits.mplot3d.axes3dmpl_toolkits.mplot3d.axis3dmpl_toolkits.mplot3d.art3dmpl_t 阅读全文
posted @ 2019-08-18 10:23 vocus 阅读(424) 评论(0) 推荐(0)
摘要:nunicodeessscape codec can't decode bytes in position2-3:truncated\UXXXXXXXX escape 描述:im=Image.open("C:\Users\Administrator\Desktop\mylove.jpg") 解决方法 阅读全文
posted @ 2019-08-17 22:40 vocus 阅读(5131) 评论(0) 推荐(0)
摘要:为了加深理解,写了一些代码测试,在这里记录一下吧: 关于图片的模式问题,之前做过笔记,有“1”,“L”,"P","RGB","RGBA","CMYK',"YCBCr","Note","LAB"等,这几种图片模式有什么区别呢? #001 from PIL import Imageimg1=Image. 阅读全文
posted @ 2019-08-17 08:46 vocus 阅读(448) 评论(0) 推荐(0)
摘要:原文: https://pillow-cn.readthedocs.io/zh_CN/latest/reference/Image.html 中文版参考文档不全,所以自己试着翻译了一下,以下~备注部分,测试程序为自己添加~ PIL安装 下载地址:https://pypi.org/simple/pil 阅读全文
posted @ 2019-08-16 14:47 vocus 阅读(2244) 评论(0) 推荐(0)