We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug with Session() as session: doc = session.active_document
option = ps.ExportOptionsSaveForWeb() option.format = SaveDocumentType.PNGSave option.PNG8 = False option.quality = 100 option.dither = DitherType.NoDither option.colorReduction = ColorReductionType.PerceptualReduction option.interlaced = True option.transparencyAmount = 0 option.optimized = False doc.exportDocument(path, ExportType.SaveForWeb, options=option)
使用exprot导出时,所有option设置不起作用,并使用一套损耗为100,gif格式的预设。 将quality更新为0后可以导出,但是导出的格式仍然为GIF,无法导出png
To Reproduce Steps to reproduce the behavior: 1、打开ps任意文件 2、运行脚本,此时导出内容以gif格式,损耗100导出 3、更换任意psd文件都以这个预设导出
Expected behavior 依据预设导出png文件
Screenshots
Desktop (please complete the following information):
ps文档中,这边说明了只有GIF,PNG-8,PNG-24,BMP是支持的
The text was updated successfully, but these errors were encountered:
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
Title: Options cannot be set when exporting files using exportDocument
Sorry, something went wrong.
No branches or pull requests
Describe the bug
with Session() as session:
doc = session.active_document
使用exprot导出时,所有option设置不起作用,并使用一套损耗为100,gif格式的预设。
将quality更新为0后可以导出,但是导出的格式仍然为GIF,无法导出png
To Reproduce
Steps to reproduce the behavior:
1、打开ps任意文件
2、运行脚本,此时导出内容以gif格式,损耗100导出
3、更换任意psd文件都以这个预设导出
Expected behavior
依据预设导出png文件
Screenshots
Desktop (please complete the following information):
ps文档中,这边说明了只有GIF,PNG-8,PNG-24,BMP是支持的
The text was updated successfully, but these errors were encountered: