codecamp

Pillow ImageCms.getProfileCopyright

PIL.ImageCms.getProfileCopyright(profile)

(pycms)获取给定配置文件的版权。

如果 profile 不是配置文件的有效CmsProfile对象或文件名,则会引发一个 PyCMSError 。

如果在尝试获取版权标记时发生错误,则会引发一个 PyCMSError 。

使用此函数可以获取存储在配置文件的版权标记中的信息。

参数

profile -- 有效的CmsProfile对象,或ICC配置文件的文件名字符串。

返回

包含存储在ICC标记中的内部配置文件信息的字符串。

引发

PyCMSError -

Pillow ImageCms.getOpenProfile
Pillow ImageCms.getProfileDescription
温馨提示
下载编程狮App,免费阅读超1000+编程语言教程
取消
确定
目录

Pillow 参考

Pillow ImageChops模块

关闭

MIP.setData({ 'pageTheme' : getCookie('pageTheme') || {'day':true, 'night':false}, 'pageFontSize' : getCookie('pageFontSize') || 20 }); MIP.watch('pageTheme', function(newValue){ setCookie('pageTheme', JSON.stringify(newValue)) }); MIP.watch('pageFontSize', function(newValue){ setCookie('pageFontSize', newValue) }); function setCookie(name, value){ var days = 1; var exp = new Date(); exp.setTime(exp.getTime() + days*24*60*60*1000); document.cookie = name + '=' + value + ';expires=' + exp.toUTCString(); } function getCookie(name){ var reg = new RegExp('(^| )' + name + '=([^;]*)(;|$)'); return document.cookie.match(reg) ? JSON.parse(document.cookie.match(reg)[2]) : null; }