图像处理
墨小青的程序园
这个作者很懒,什么都没留下…
展开
-
Python批量压缩图片
# -*- coding: utf-8 -*- """ __author__= 'Du' __creation_time__= '2018/1/5 10:06' """ import os from PIL import Image import glob DIR = 'C:/Users/Public/Pictures/Sample Pictures/' class Compress_Pic原创 2018-01-05 11:20:54 · 812 阅读 · 0 评论 -
Python画圆
# -*- coding: utf-8 -*- """ __author__= 'Du' __creation_time__= '2018/1/4 17:30' """ import numpy as np import matplotlib.pyplot as plt # 该行用于设置chart 的样式,可以注掉 # plt.style.use("mystyle") fig = plt转载 2018-01-05 13:56:16 · 962 阅读 · 0 评论 -
python生成圆形图片
# -*- coding: utf-8 -*- """ __author__= 'Du' __creation_time__= '2018/1/5 9:08' """ import os, math from PIL import Image def circle(): ima = Image.open("ball1.jpg").convert("RGBA") # ima =转载 2018-01-05 13:59:11 · 3446 阅读 · 0 评论 -
常用RGB颜色表
https://wenku.baidu.com/view/e396eb61ddccda38376bafb2.html### 免费下载转载 2018-01-05 14:04:41 · 485 阅读 · 0 评论