⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 info.py

📁 下载来的一个看图软件的源代码
💻 PY
字号:
## Sample: Get info on profile#from lcms import *hsRGB = cmsOpenProfileFromFile("sRGB Color Space profile.icm", "r")print "Product name: ", cmsTakeProductName(hsRGB)print "Product desc: ", cmsTakeProductDesc(hsRGB)print "Info: ", cmsTakeProductInfo(hsRGB)Illuminant = cmsCIEXYZ(0, 0, 0)cmsTakeIluminant(Illuminant, hsRGB)print "Illuminant = ", IlluminantMediaWhite = cmsCIEXYZ(0, 0, 0)cmsTakeMediaWhitePoint(MediaWhite, hsRGB)print "Media White = ", MediaWhiteBlackPoint = cmsCIEXYZ(0, 0, 0)cmsTakeMediaBlackPoint(BlackPoint, hsRGB)print "Black point = ", BlackPointcmsCloseProfile(hsRGB)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -