阅读(4068) (0)

Pillow EpsImagePlugin 模块

2021-07-17 09:19:39 更新
classPIL.EpsImagePlugin.EpsImageFile(fp=Nonefilename=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(tilesizefpscale=1)

使用ghostscript渲染图像

classPIL.EpsImagePlugin.PSFile(fp)

基类:object

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

readline()
seek(offsetwhence=0)
PIL.EpsImagePlugin.has_ghostscript()