没有合适的资源?快使用搜索试试~ 我知道了~
首页Adobe Photoshop CS6 JavaScript API详解与参考
Adobe Photoshop CS6 JavaScript API详解与参考
5星 · 超过95%的资源 需积分: 19 153 下载量 106 浏览量
更新于2024-07-24
收藏 1.9MB PDF 举报
《Photoshop CS6 JavaScript API手册》是一本详尽的指南,专为Adobe Photoshop Creative Suite 6的用户设计,特别是针对Windows和Macintosh平台。该书的核心内容是深入解析Adobe Photoshop中的JavaScript脚本编程接口(JavaScript API),旨在帮助开发者和设计师利用这种强大的工具扩展和自动化Photoshop的功能。
本书涵盖了以下关键知识点:
1. **Photoshop JavaScript API基础**:介绍如何在Photoshop环境中集成JavaScript,包括API的主要组成部分、变量和数据类型,以及如何通过脚本控制Photoshop对象如图层、路径、选区等。
2. **事件处理与交互**:讲解如何编写响应用户操作(如点击、绘制、选择)的脚本,以及如何创建自定义工具和菜单选项。
3. **图像处理与编辑**:详细说明如何通过JavaScript对图像进行像素级别的操作,如修改色彩、滤镜应用、图像合成、裁剪和调整尺寸等。
4. **脚本编程技巧**:涉及循环、条件语句、函数、数组和对象的使用,以及如何组织和优化代码结构。
5. **错误处理与调试**:讨论常见的编程问题和错误,提供有效的调试方法,确保脚本的稳定性和性能。
6. **兼容性与版本管理**:由于软件更新和兼容性问题,讲解如何处理不同Photoshop版本之间的差异,并提供跨平台开发的注意事项。
7. **版权和许可**:强调了关于复制和分发手册内容的法律限制,确保遵循Adobe的软件许可协议。
8. **安全性和隐私**:在利用JavaScript脚本时,讨论如何保护用户数据和避免安全风险。
9. **案例研究和实践项目**:提供实际应用示例,让读者通过实践加深对API的理解和应用能力。
10. **资源和社区支持**:指导读者如何获取官方文档、社区论坛和进一步的学习资源,以便持续提升技能。
《Photoshop CS6 JavaScript API手册》是一本实用的参考工具,不仅适合想要深化Photoshop脚本开发的专业人士,也适用于希望通过自动化任务提高工作效率的设计师和图形工作者。随着技术的发展,了解并掌握这一API将有助于你在动态的数字艺术领域保持竞争力。
Adobe Photoshop CS6
JavaScript Scripting Reference 16
includeCopyright........................................................................................................................................................ 111
includeCredits.............................................................................................................................................................. 111
includeFilename.......................................................................................................................................................... 111
includeTitle ................................................................................................................................................................... 111
numericLinks................................................................................................................................................................ 111
resizeConstraint .......................................................................................................................................................... 112
resizeImages................................................................................................................................................................. 112
typename ...................................................................................................................................................................... 112
GalleryOptions............................................................................................................................................................................ 113
Properties............................................................................................................................................................................... 113
addSizeAttributes....................................................................................................................................................... 113
bannerOptions ............................................................................................................................................................ 113
customColorOptions................................................................................................................................................. 113
emailAddress................................................................................................................................................................ 113
imagesOptions ............................................................................................................................................................ 113
includeSubFolders ..................................................................................................................................................... 113
layoutStyle .................................................................................................................................................................... 113
preserveAllMetadata................................................................................................................................................. 113
securityOptions ........................................................................................................................................................... 113
thumbnailOptions...................................................................................................................................................... 113
typename ...................................................................................................................................................................... 113
useShortExtension ..................................................................................................................................................... 113
useUTF8Encoding ...................................................................................................................................................... 113
GallerySecurityOptions ........................................................................................................................................................... 114
Properties............................................................................................................................................................................... 114
content ........................................................................................................................................................................... 114
font................................................................................................................................................................................... 114
fontSize........................................................................................................................................................................... 114
opacity............................................................................................................................................................................ 114
text................................................................................................................................................................................... 114
textColor ........................................................................................................................................................................ 114
textPosition................................................................................................................................................................... 114
textRotate...................................................................................................................................................................... 114
typename ...................................................................................................................................................................... 114
GalleryThumbnailOptions...................................................................................................................................................... 115
Properties............................................................................................................................................................................... 115
border ............................................................................................................................................................................. 115
caption............................................................................................................................................................................ 115
columnCount ............................................................................................................................................................... 115
dimension...................................................................................................................................................................... 115
font................................................................................................................................................................................... 115
fontSize........................................................................................................................................................................... 115
includeCopyright........................................................................................................................................................ 115
includeCredits.............................................................................................................................................................. 115
includeFilename.......................................................................................................................................................... 115
includeTitle ................................................................................................................................................................... 115
rowCount....................................................................................................................................................................... 115
size ................................................................................................................................................................................... 115
typename ...................................................................................................................................................................... 115
GIFSaveOptions.......................................................................................................................................................................... 116
Properties.....................................................................................................................
.......................................................... 116
Adobe Photoshop CS6
JavaScript Scripting Reference 17
colors............................................................................................................................................................................... 116
dither............................................................................................................................................................................... 116
ditherAmount .............................................................................................................................................................. 116
forced.............................................................................................................................................................................. 116
interlaced....................................................................................................................................................................... 116
matte............................................................................................................................................................................... 116
palette............................................................................................................................................................................. 116
preserveExactColors.................................................................................................................................................. 116
transparency................................................................................................................................................................. 116
typename ...................................................................................................................................................................... 116
GrayColor...................................................................................................................................................................................... 117
Properties............................................................................................................................................................................... 117
gray.................................................................................................................................................................................. 117
typename ...................................................................................................................................................................... 117
Guide.............................................................................................................................................................................................. 118
Properties............................................................................................................................................................................... 118
direction......................................................................................................................................................................... 118
coordinate..................................................................................................................................................................... 118
Guides............................................................................................................................................................................................ 119
Properties............................................................................................................................................................................... 119
length.............................................................................................................................................................................. 119
parent.............................................................................................................................................................................. 119
typename ...................................................................................................................................................................... 119
Methods ................................................................................................................................................................................. 119
add ................................................................................................................................................................................... 119
getByName ................................................................................................................................................................... 119
HistoryState................................................................................................................................................................................. 120
Properties............................................................................................................................................................................... 120
name................................................................................................................................................................................ 120
parent.............................................................................................................................................................................. 120
snapshot ........................................................................................................................................................................ 120
typename ...................................................................................................................................................................... 120
HistoryStates ............................................................................................................................................................................... 121
Properties............................................................................................................................................................................... 121
length.............................................................................................................................................................................. 121
parent.............................................................................................................................................................................. 121
typename ...................................................................................................................................................................... 121
Methods ................................................................................................................................................................................. 121
getByName ................................................................................................................................................................... 121
HSBColor....................................................................................................................................................................................... 122
Properties............................................................................................................................................................................... 122
brightness...................................................................................................................................................................... 122
hue ................................................................................................................................................................................... 122
saturation ...................................................................................................................................................................... 122
typename ...................................................................................................................................................................... 122
IndexedConversionOptions .................................................................................................................................................. 123
Properties............................................................................................................................................................................... 123
colors............................................................................................................................................................................... 123
dither............................................................................................................................................................................... 123
ditherAmount .............................................................................................................................................................. 123
forced.........................................................................................................................
..................................................... 123
Adobe Photoshop CS6
JavaScript Scripting Reference 18
matte............................................................................................................................................................................... 123
palette............................................................................................................................................................................. 123
preserveExactColors.................................................................................................................................................. 123
transparency................................................................................................................................................................. 123
typename ...................................................................................................................................................................... 123
JPEGSaveOptions ...................................................................................................................................................................... 124
Properties............................................................................................................................................................................... 124
embedColorProfile..................................................................................................................................................... 124
formatOptions ............................................................................................................................................................. 124
matte............................................................................................................................................................................... 124
quality ............................................................................................................................................................................. 124
scans................................................................................................................................................................................ 124
typename ...................................................................................................................................................................... 124
LabColor ....................................................................................................................................................................................... 125
Properties............................................................................................................................................................................... 125
a......................................................................................................................................................................................... 125
b ........................................................................................................................................................................................ 125
l.......................................................................................................................................................................................... 125
typename ...................................................................................................................................................................... 125
LayerComp................................................................................................................................................................................... 126
Properties............................................................................................................................................................................... 126
appearance ................................................................................................................................................................... 126
comment ....................................................................................................................................................................... 126
name................................................................................................................................................................................ 126
parent.............................................................................................................................................................................. 126
position .......................................................................................................................................................................... 126
selected .......................................................................................................................................................................... 126
typename ...................................................................................................................................................................... 126
visibility .......................................................................................................................................................................... 126
Methods ................................................................................................................................................................................. 126
apply................................................................................................................................................................................ 126
recapture ....................................................................................................................................................................... 126
remove............................................................................................................................................................................ 126
resetfromComp ........................................................................................................................................................... 126
LayerComps................................................................................................................................................................................. 127
Properties............................................................................................................................................................................... 127
length.............................................................................................................................................................................. 127
parent.............................................................................................................................................................................. 127
typename ...................................................................................................................................................................... 127
Methods ................................................................................................................................................................................. 127
add ................................................................................................................................................................................... 127
getByName ................................................................................................................................................................... 127
removeAll ...................................................................................................................................................................... 127
Layers............................................................................................................................................................................................. 128
Properties............................................................................................................................................................................... 128
length.............................................................................................................................................................................. 128
parent.............................................................................................................................................................................. 128
typename ...................................................................................................................................................................... 128
Methods ................................................................................................................................................................................. 128
getByName ................................................................................................................................................................... 128
removeAll ......................................................................................................................
................................................ 128
Adobe Photoshop CS6
JavaScript Scripting Reference 19
LayerSet ........................................................................................................................................................................................ 129
Properties............................................................................................................................................................................... 129
allLocked........................................................................................................................................................................ 129
artLayers......................................................................................................................................................................... 129
blendMode.................................................................................................................................................................... 129
bounds............................................................................................................................................................................ 129
enabledChannels........................................................................................................................................................ 129
layers ............................................................................................................................................................................... 129
layerSets......................................................................................................................................................................... 129
linkedLayers.................................................................................................................................................................. 129
name................................................................................................................................................................................ 129
opacity............................................................................................................................................................................ 129
parent.............................................................................................................................................................................. 129
typename ...................................................................................................................................................................... 129
visible .............................................................................................................................................................................. 129
Methods ................................................................................................................................................................................. 130
duplicate........................................................................................................................................................................ 130
link.................................................................................................................................................................................... 130
merge.............................................................................................................................................................................. 130
move................................................................................................................................................................................ 130
remove............................................................................................................................................................................ 130
resize ............................................................................................................................................................................... 130
rotate............................................................................................................................................................................... 130
translate ......................................................................................................................................................................... 130
unlink .............................................................................................................................................................................. 130
LayerSets ...................................................................................................................................................................................... 131
Properties............................................................................................................................................................................... 131
length.............................................................................................................................................................................. 131
parent.............................................................................................................................................................................. 131
typename ...................................................................................................................................................................... 131
Methods ................................................................................................................................................................................. 131
add ................................................................................................................................................................................... 131
getByName ................................................................................................................................................................... 131
removeAll ...................................................................................................................................................................... 131
MeasurementLog ...................................................................................................................................................................... 133
Methods ................................................................................................................................................................................. 133
exportMeasurements................................................................................................................................................ 133
deleteMeasurements ................................................................................................................................................ 133
MeasurementScale ................................................................................................................................................................... 134
Properties............................................................................................................................................................................... 134
pixelLength................................................................................................................................................................... 134
logicalLength ............................................................................................................................................................... 134
logicalUnits ................................................................................................................................................................... 134
NoColor......................................................................................................................................................................................... 135
Properties............................................................................................................................................................................... 135
typename ...................................................................................................................................................................... 135
Notifier........................................................................................................................................................................................... 136
Properties............................................................................................................................................................................... 136
event................................................................................................................................................................................ 136
eventClass ..................................................................................................................................................................... 136
eventFile ......................................................................................................................
.................................................. 136
Adobe Photoshop CS6
JavaScript Scripting Reference 20
parent.............................................................................................................................................................................. 136
typename ...................................................................................................................................................................... 136
Methods ................................................................................................................................................................................. 136
remove............................................................................................................................................................................ 136
Notifiers......................................................................................................................................................................................... 137
Properties............................................................................................................................................................................... 137
length.............................................................................................................................................................................. 137
parent.............................................................................................................................................................................. 137
typename ...................................................................................................................................................................... 137
Methods ................................................................................................................................................................................. 137
add ................................................................................................................................................................................... 137
removeAll ...................................................................................................................................................................... 137
PathItem ....................................................................................................................................................................................... 138
Properties............................................................................................................................................................................... 138
kind .................................................................................................................................................................................. 138
name................................................................................................................................................................................ 138
parent.............................................................................................................................................................................. 138
subPathItems ............................................................................................................................................................... 138
typename ...................................................................................................................................................................... 138
Methods ................................................................................................................................................................................. 138
deselect .......................................................................................................................................................................... 138
duplicate........................................................................................................................................................................ 138
fillPath............................................................................................................................................................................. 138
makeClippingPath...................................................................................................................................................... 139
makeSelection ............................................................................................................................................................. 139
remove............................................................................................................................................................................ 139
select ............................................................................................................................................................................... 139
strokePath ..................................................................................................................................................................... 139
PathItems ..................................................................................................................................................................................... 142
Properties............................................................................................................................................................................... 142
length.............................................................................................................................................................................. 142
parent.............................................................................................................................................................................. 142
typename ...................................................................................................................................................................... 142
Methods ................................................................................................................................................................................. 142
add ................................................................................................................................................................................... 142
getByName ................................................................................................................................................................... 142
removeAll ...................................................................................................................................................................... 142
PathPoint...................................................................................................................................................................................... 143
Properties............................................................................................................................................................................... 143
anchor............................................................................................................................................................................. 143
kind .................................................................................................................................................................................. 143
leftDirection.................................................................................................................................................................. 143
parent.............................................................................................................................................................................. 143
rightDirection............................................................................................................................................................... 143
typename ...................................................................................................................................................................... 143
PathPointInfo.............................................................................................................................................................................. 144
Properties............................................................................................................................................................................... 144
anchor............................................................................................................................................................................. 144
kind .................................................................................................................................................................................. 144
leftDirection.................................................................................................................................................................. 144
rightDirection.................................................................................................................
.............................................. 144
剩余230页未读,继续阅读
2021-05-17 上传
2021-07-14 上传
2018-07-06 上传
2013-04-02 上传
2024-04-14 上传
2021-12-04 上传
2021-10-27 上传
2022-11-15 上传
「已注销」
- 粉丝: 9
- 资源: 3
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 前端协作项目:发布猜图游戏功能与待修复事项
- Spring框架REST服务开发实践指南
- ALU课设实现基础与高级运算功能
- 深入了解STK:C++音频信号处理综合工具套件
- 华中科技大学电信学院软件无线电实验资料汇总
- CGSN数据解析与集成验证工具集:Python和Shell脚本
- Java实现的远程视频会议系统开发教程
- Change-OEM: 用Java修改Windows OEM信息与Logo
- cmnd:文本到远程API的桥接平台开发
- 解决BIOS刷写错误28:PRR.exe的应用与效果
- 深度学习对抗攻击库:adversarial_robustness_toolbox 1.10.0
- Win7系统CP2102驱动下载与安装指南
- 深入理解Java中的函数式编程技巧
- GY-906 MLX90614ESF传感器模块温度采集应用资料
- Adversarial Robustness Toolbox 1.15.1 工具包安装教程
- GNU Radio的供应商中立SDR开发包:gr-sdr介绍
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功