阅读(4082) 赞(3)

Pillow EpsImagePlugin 模块

2021-07-17 09:19:39 更新
​classPIL.EpsImagePlugin.EpsImageFile(fp=None, filename=None)​

基类:PIL.ImageFile.ImageFile

python图像库的eps文件分析器

​format= 'EPS'​
​format_description= 'Encapsulated Postscript'​
​load(scale=1)​

基于平铺列表加载图像数据

​load_seek(*args, **kwargs)​
​mode_map= {1: 'L', 2: 'LAB', 3: 'RGB', 4: 'CMYK'}​
​PIL.EpsImagePlugin.Ghostscript(tile, size, fp, scale=1)​

使用ghostscript渲染图像

​classPIL.EpsImagePlugin.PSFile(fp)​

基类:object

将CR或LF视为行尾的bytesio对象的包装。

​readline()​
​seek(offset, whence=0)​
​PIL.EpsImagePlugin.has_ghostscript()​