编程语言/photoshop

来自康健生活
Kangkk​(留言 | 贡献)2021年5月24日 (一) 07:57的版本 (→app.documents[])

引言

 
Adobe ps dom comm

(来源摘自互联网示例,作者 Adobe-CEP / CEP-Resources)

开发流程

开发模式判断

开发模式: development
生产环境: production
测试环境: beta

日志

CEF日志

windows:

C:\Users\365\AppData\Local\Temp\CEP7-PHXS.log

CEPHtmlEngine日志

windows:

C:\Users\365\AppData\Local\Temp\CEPHtmlEngine7-PHXS-18.1.1-net.qihoo.design.extension.log
C:\Users\365\AppData\Local\Temp\CEPHtmlEngine7-PHXS-18.1.1-net.qihoo.design.extension-renderer.log

ScriptingListener plug-in

windows:

C:\Users\365\Desktop\ScriptingListenerJS.log

CEP JavaScript库

API 更改向后兼容。

  • CSInterface.js
  • IMSInterface.js
  • Vulcan.js

ExtendScript

日志

使用 $.writeln() 与 $.write()。

Warning: console 未定义

ExtensionManifest

非常重要

全局参数

app

2017

app

colorSettings: Japan General Purpose 2
// 如果没有打开 ps 文件,则 activeDocument 抛错 
activeDocument: [Document 奇舞团1024.psd]
name: Adobe Photoshop
path: /c/Program%20Files/Adobe/Photoshop%20CC
preferences: [Preferences]
scriptingVersion: 18.1.1
freeMemory: 7533521809
version: 18.1.1
displayDialogs: DialogModes.ERROR
foregroundColor: [SolidColor]
backgroundColor: [SolidColor]
playbackParameters: [ActionDescriptor]
playbackDisplayDialogs: DialogModes.NO
notifiersEnabled: false
windowsFileTypes: 
macintoshFileTypes: 
preferencesFolder: ~/AppData/Roaming/Adobe/Adobe%20Photoshop%20CC%202017/Adobe%20Photoshop%20CC%202017%20Settings
locale: zg_CN
documents: [Documents]
fonts: [TextFonts]
notifiers: [Notifiers]
scriptingBuildDate: Apr 25 2017 00:46:55
recentFiles: ~/Pictures/%E5%A5%87%E8%88%9E%E5%9B%A21024.psd
build: 18.1.1(2017.1.1 20170425.r.252 2017/04/25:23:00:00 CL 1113967)
systemInformation: 
measurementLog: [MeasurementLog]
currentTool: marqueeRectTool
typename: Application
app end: [Document 奇舞团1024.psd]
2021

app

colorSettings: Japan General Purpose 2
activeDocument: [Document 奇舞团1024.psd]
name: Adobe Photoshop
path: /c/Program%20Files/Adobe/Adobe%20Photoshop%202021
preferences: [Preferences]
scriptingVersion: 22.3
freeMemory: 10788297549
version: 22.3.1
displayDialogs: DialogModes.ERROR
foregroundColor: [SolidColor]
backgroundColor: [SolidColor]
playbackParameters: [ActionDescriptor]
playbackDisplayDialogs: DialogModes.NO
notifiersEnabled: false
windowsFileTypes: PSD,PDD,PSDT,PSB,3DS,DAE,KMZ,GLB,GLTF,PLY,STL,OBJ,BMP,RLE,DIB,TIF,CRW,NEF,RAF,ORF,MRW,DCR,MOS,RAW,PEF,SRF,DNG,X3F,CR2,ERF,SR2,KDC,MFW,MEF,ARW,NRW,RW2,RWL,IIQ,3FR,FFF,SRW,GPR,DXO,ARQ,CR3,CIN,SDPX,DPX,FIDO,PSDC,DCM,DC3,DIC,EPS,EPS,EPS,EPS,GIF,HEIC,AVCI,HEIF,IFF,TDI,IGS,IGES,JPG,JPEG,JPE,JPF,JPX,JP2,J2C,J2K,JPC,JPS,EXR,PCX,PDF,PDP,RAW,PCT,PICT,PXR,PNG,PNG,PBM,PGM,PPM,PNM,PFM,PAM,PRC,HDR,RGBE,XYZE,SCT,SVG,SVGZ,TGA,VDA,ICB,VST,TIF,TIFF,U3D,MPO,264,3GP,3GPP,AVC,AVI,F4V,FLV,M4V,MOV,MP4,MPE,MPEG,MPG,MTS,MXF,R3D,TS,VOB,WM,WMV,EPS,AI3,AI4,AI5,AI6,AI7,AI8,PS,AI,EPSF,EPSP,WBM,WBMP,AAC,AC3,M2A,M4A,MP2,MP3,WMA,WM
macintoshFileTypes: 8BPS,8BPB,8BIM,8BIM,8BIM,8BIM,8BIM,8BIM,8BIM,8BIM,BMP ,    ,SDPX,8CPS,    ,EPSF,EPSF,EPSF,EPSF,GIFf,    ,ILBM,IGS ,JPEG,JPX ,JPS ,EXR ,PCX ,PDF ,PRAW,PICT,PXR ,PNGf,PBM+,PRC ,RHDR,..CT,8BIM,TPIC,TIFF,U3D ,MPO ,    ,8BIM,WBPf,8BIM
preferencesFolder: ~/AppData/Roaming/Adobe/Adobe%20Photoshop%202021/Adobe%20Photoshop%202021%20Settings
locale: zh_CN
documents: [Documents]
fonts: [TextFonts]
notifiers: [Notifiers]
scriptingBuildDate: Apr  6 2021 12:18:09
recentFiles: ~/Pictures/%E5%A5%87%E8%88%9E%E5%9B%A21024.psd,~/Documents/midown/%E7%9B%B8%E6%9C%BA/%E4%B8%89%E5%93%A5%E5%B8%A6%E9%A2%86%E4%B8%8B%E8%81%9A%E9%A4%90_2.jpg,~/Pictures/biaozhu-%E7%AC%AC%E5%85%AB%E7%89%88-%E6%9D%8E%E9%93%B6%E9%92%A2.psd,~/Pictures/biaozhu6.psd,~/Pictures/biaozhu4.psd,~/Pictures/biaozhu3.psd,~/Pictures/biaozhu2.psd,~/Pictures/biaozhu.psd
build: 22.3 (20210406.r.122 990be2c)
systemInformation: Adobe Photoshop 版本: 22.3.1 20210406.r.122 990be2c  x64\r启动次数: 11\r操作系统:Windows 10 64 位\r版本: 10 或更高版本 10.0.19041.928\r系统结构: Intel CPU 系列: 6,型号: 12,分级: 1 具有 MMX 扩展指令集,SSE 整数,SSE 浮点,SSE2, SSE3, SSE4.1, SSE4.2, AVX, AVX2,超线程\r物理处理器数: 4\r逻辑处理器数: 8\r处理器速度: 3110 MHz\r内建内存: 16183 MB\r空闲内存:10363 MB\rPhotoshop 可用的内存: 14805 MB\rPhotoshop 占用的内存: 70 %\rSAM SDK Version: 2.0.0-main.363.5\rACP.local 状态:\r - SDK 版本: 1.41.1.1\r - Core Sync 状态: 未知的\r - 目前运行的 Core Sync: 不可用\r - 需要的最低 Core Sync: 4.3.28.24\rACPL 缓存配置: 不可用\r实时编辑客户端 SDK 版本: 3.79.23\rPresets Status:\r - 画笔: 28 local / 0 synced\r - 渐变: 183 local / 0 synced\r - 图案: 10 local / 0 synced\r - 形状: 54 local / 0 synced\r - 样式: 21 local / 0 synced\r - 色板: 122 local / 0 synced\rManta 画布: 启用。\r别名图层: 停用。\r修改键调板: 启用。\r远光灯: 启用。\r图像拼贴大小: 1024K\r图像高速缓存级别: 4\r字体预览: 中\r文本书写器: 东亚\r ------- GPU
OpenGL API stable: True.\rOpenCL API stable: True.\rNative API stable: True.\rGPUDeny:               0
GPUForce:              0
useGPU:                1
isCapableGPU:          1
GPUName:               Intel(R) Iris(R) Xe Graphics
GPUVendor:             INTEL
IsOpenGLGPUCapable:    1
IsNativeGPUCapable:    1
HasSufficientRAM:      1
  VRAM:                       8,618 MB
  Required VRAM:              1,500 MB
UseGraphicsProcessorChecked:   1
UseOpenCLChecked:              1
Windows remote desktop:  0
GPU Allow Normal Mode: True.\rGPU Allow Advanced Mode: True.\rGPU Drawing Mode: 基本\r显示器: 1\r显示边界: 上= 0、左= 0、下= 1800、右= 2880 \r# Photoshop Version: 20210406.r.122 990be2c
Building native platform & platform info structure
Native platform info  successfully constructed
Begin native platform info:
    Platform info:
        Displays:
            Display \\\\.\\DISPLAY1
                isMain                  = 1
                isBuiltIn               = 0
                isStereo                = 0
                bounds                  = ((0 0) -> (1440 900), w=1440, h=900)
                dimensions              = (1440 900)
                physicalSize            = (0 0)
                pixelSize               = (0 0)
                dynamic range           = (0 1)
                potential dynamic range = (0 1)
                reference dynamic range = (0 0)
                device       = (DeviceID name=Intel(R) Iris(R) Xe Graphics index=0 preferred=1)
        Devices:
            (DeviceID name=Intel(R) Iris(R) Xe Graphics index=0 preferred=1)
                Power Envelope : UNKNOWN
                Device is removable : UNKNOWN
                displays: 1
                    \\\\.\\DISPLAY1
                GPU accessible RAM:        8,618 MB
                VRAM:                        134 MB
                Dedicated System RAM:          0 MB
                SharedSystem RAM:          8,484 MB
                Platform specifics:
                    Device name:  Intel(R) Iris(R) Xe Graphics
                    Vendor name:  INTEL
                    Description:  Intel(R) Iris(R) Xe Graphics
                    D3D-ID:       39497
    End platform info.
End native platform info.
Building OpenGL platform & platform info structure
OpenGL platform info  successfully constructed
Begin OpenGL platform info:
    Platform info:
        Displays:
            Display \\\\.\\DISPLAY1
                isMain                  = 1
                isBuiltIn               = 0
                isStereo                = 0
                bounds                  = ((0 0) -> (1440 900), w=1440, h=900)
                dimensions              = (1440 900)
                physicalSize            = (0 0)
                pixelSize               = (0 0)
                dynamic range           = (0 1)
                potential dynamic range = (0 1)
                reference dynamic range = (0 0)
                device       = (DeviceID name=Intel(R) Iris(R) Xe Graphics index=0 preferred=1)
        Devices:
            (DeviceID name=Intel(R) Iris(R) Xe Graphics index=0 preferred=1)
                Power Envelope : INTEGRATED
                Device is removable : UNKNOWN
                displays: 1
                    \\\\.\\DISPLAY1
                GPU accessible RAM:        8,618 MB
                VRAM:                        134 MB
                Dedicated System RAM:          0 MB
                SharedSystem RAM:          8,484 MB
                Platform specifics:
                    Device name:  Intel(R) Iris(R) Xe Graphics
                    Vendor name:  INTEL
                    OpenGL version: 4.6 (4.6.0 - Build 27.20.100.9415)
                    GLSL version:   4.60 (4.60 - Build 27.20.100.9415)
    End platform info.
End OpenGL platform info.
Building OpenCL platform & platform info structure
OpenCL platform info  successfully constructed
Begin OpenCL platform info:
    Platform info:
        Displays:
        Devices:
            (DeviceID name=Intel(R) Iris(R) Xe Graphics index=0 preferred=1)
                Power Envelope : INTEGRATED
                Device is removable : UNKNOWN
                displays: 0
                GPU accessible RAM:        6,787 MB
                VRAM:                      6,787 MB
                Dedicated System RAM:          0 MB
                SharedSystem RAM:              0 MB
                Platform specifics:
                    Device name:  Intel(R) Iris(R) Xe Graphics
                    Vendor name:  INTEL
                    Device version:         3.0 (OpenCL 3.0 NEO )
                    OpenCL platform name:   Intel(R) OpenCL HD Graphics
                    OpenCL platform vesion: 3.0 (OpenCL 3.0 )
    End platform info.
End OpenCL platform info.
Tester=\"Photoshop\"
snifferStart=\"2021-05-24_11:20:34\"
NumGLGPUs=1
glgpu[0].GLVersion=\"4.6\"
glgpu[0].IsIntegratedGLGPU=1
glgpu[0].GLMemoryMB=       134
glgpu[0].GLName=\"Intel(R) Iris(R) Xe Graphics\"
glgpu[0].GLVendor=\"INTEL\"
glgpu[0].GLDriverVersion=\"27.20.100.9415\"
glgpu[0].GLDriver=\"C:\\Windows\\System32\\DriverStore\\FileRepository\\iigd_dch.inf_amd64_4312f7f9e9276ff5\\igdumdim64.dll,C:\\Windows\\System32\\DriverStore\\FileRepository\\iigd_dch.inf_amd64_4312f7f9e9276ff5\\igd10iumd64.dll,C:\\Windows\\System32\\DriverStore\\FileRepository\\iigd_dch.inf_amd64_4312f7f9e9276ff5\\igd10iumd64.dll,C:\\Windows\\System32\\DriverStore\\FileRepository\\iigd_dch.inf_amd64_4312f7f9e9276ff5\\igd12umd64.dll\"
glgpu[0].GLDriverDate=\"20210322000000.000000-000\"
glgpu[0].GLRenderer=\"Intel(R) Iris(R) Xe Graphics\"
glgpu[0].HasGLNPOTSupport=1
glgpu[0].CanCompileProgramGLSL=1
glgpu[0].GLFrameBufferOK=1
glgpu[0].GLIsPreferred=1
NumCLGPUs=1
clgpu[0].CLPlatformVersion=\"OpenCL 3.0 \"
clgpu[0].CLDeviceVersion=\"3.0\"
clgpu[0].IsIntegratedCLGPU=1
clgpu[0].CLMemoryMB=     6,787
clgpu[0].CLName=\"Intel(R) Iris(R) Xe Graphics\"
clgpu[0].CLVendor=\"INTEL\"
clgpu[0].CUDASupported=0
clgpu[0].CLIsPreferred=1
clgpu[0].CLBandwidth=5.000000e+10
clgpu[0].CLCompute=680.290215
clgpu[0].CLRawDeviceName=Intel(R) Iris(R) Xe Graphics
clgpu[0].CLRawDeviceVendor=Intel(R) Corporation
clgpu[0].CLRawPlatformName=Intel(R) OpenCL HD Graphics
clgpu[0].CLRawPlatformVendor=Intel(R) Corporation
NumNativeGPUs=1
nativegpu[0].NativeName=\"Intel(R) Iris(R) Xe Graphics\"
nativegpu[0].NativeGPUAccessibleRAMInMB=        8,618
nativegpu[0].NativeVRAMInMB=                      134
nativegpu[0].NativeDedicatedSystemRAMInMB=          0
nativegpu[0].NativeSharedSystemRAMInMB=         8,484
nativegpu[0].NativeVendor=\"INTEL\"
nativegpu[0].NativeDriver=\"C:\\Windows\\System32\\DriverStore\\FileRepository\\iigd_dch.inf_amd64_4312f7f9e9276ff5\\igdumdim64.dll,C:\\Windows\\System32\\DriverStore\\FileRepository\\iigd_dch.inf_amd64_4312f7f9e9276ff5\\igd10iumd64.dll,C:\\Windows\\System32\\DriverStore\\FileRepository\\iigd_dch.inf_amd64_4312f7f9e9276ff5\\igd10iumd64.dll,C:\\Windows\\System32\\DriverStore\\FileRepository\\iigd_dch.inf_amd64_4312f7f9e9276ff5\\igd12umd64.dll\"
nativegpu[0].NativeDriverVersion=\"27.20.100.9415\"
nativegpu[0].NativeDriverDate=\"20210322000000.000000-000\"
nativegpu[0].NativePowerEnvelope=\"UNKNOWN\"
nativegpu[0].NativeDeviceAttachment=\"UNKNOWN\"
nativegpu[0].NativeAPIVersion=\"12.0 (12.0)\"
nativegpu[0].NativeIsPreferred=1
snifferEnd=\"2021-05-24_11:20:35\"
 ------- GPU
$$$/LE/SysInfo/LicenseType=License Type: $$$/CSerialNumber/TryoutSerialDisplay=Tryout Version^r序列号: 试用版\rGUIDBucket:Composite Core (enable_composite_core): onComposite Core GPU (comp_core_gpu): offComposite Core Threads (comp_core_threads): offComposite Core UI (comp_core_ui): offDocument Graph (enable_doc_graph): off\r应用程序文件夹: C:\\Program Files\\Adobe\\Adobe Photoshop 2021\\\r临时文件路径: C:\\Users\\365\\AppData\\Local\\Temp\\\rPhotoshop 暂存盘具有异步 I/O 已启用\r暂存卷:\r  启动,200.0G,85.8G 可用\r必需的增效工具文件夹: C:\\Program Files\\Adobe\\Adobe Photoshop 2021\\Required\\Plug-ins\\\r主要增效工具文件夹: C:\\Program Files\\Adobe\\Adobe Photoshop 2021\\Plug-ins\\\r\r安装的组件:\r   A3DLIBS.dll   A3DLIB Dynamic Link Library   9.2.0.112   \r   ACE.dll   ACE 2021/02/13-21:23:31   79.628125   79.628125\r   AdbePM.dll   PatchMatch 2021/03/18:01:58:50   1.629038   1.629038\r   AdobeLinguistic.dll   Adobe Linguisitc Library   developer.633ca06620e3b28a3ccee5d61e3e97bd84fe66b3   \r   AdobeOwl.dll   Adobe Owl   5.5.0   \r   AdobePDFL.dll   PDFL 2020/08/08-01:12:48   79.395135   79.395135\r   AdobePDFSettings.dll   Adobe PDFSettings   1.07   \r   AdobePIP.dll   Adobe Product Improvement Program   8.2.0.7   \r   AdobeSVGAGM.dll   AdobeSVGAGM   79.628125   79.628125\r   AdobeXMP.dll   Adobe XMP Core 2021/02/15-11:52:13   79.164753   79.164753\r   AdobeXMPFiles.dll   Adobe XMP Files 2021/02/15-11:52:13   79.164753   79.164753\r   AdobeXMPScript.dll   Adobe XMP Script 2021/02/15-11:52:13   79.164753   79.164753\r   adobe_caps.dll   Adobe CAPS   10,0,0,6   \r   AGM.dll   AGM 2021/02/13-21:23:31   79.628125   79.628125\r   AID.dll   AID DLL   1.0.0.12   \r   AIDE.dll   AIDE 2021/02/17-19:47:02   79.627469   79.627469\r   ARE.dll   ARE 2021/02/13-21:23:31   79.628125   79.628125\r   AXE8SharedExpat.dll   AXE8SharedExpat 2020/08/01-01:08:32   79.622927   79.622927\r   AXEDOMCore.dll   AXEDOMCore 2020/08/01-01:08:32   79.622927   79.622927\r   Bib.dll   BIB 2021/02/13-21:23:31   79.628125   79.628125\r   BIBUtils.dll   BIBUtils 2021/02/13-21:23:31   79.628125   79.628125\r   boost_date_time.dll   photoshopdva   14.0.0   \r   boost_filesystem.dll   photoshopdva   14.0.0   \r   boost_program_options.dll   photoshopdva   14.0.0   \r   boost_regex.dll   photoshopdva   14.0.0   \r   boost_system.dll   photoshopdva   14.0.0   \r   boost_threads.dll   photoshopdva   14.0.0   \r   CoolType.dll   CoolType 2021/02/13-21:23:31   79.628125   79.628125\r   CRClient.dll   Adobe Crash Reporter Client DLL   4.7.0.0   \r   DirectML.dll   DirectML Redistributable Library   1.4.0+201111-2330.1.fe.bdb07c7   \r   dnssd.dll   Bonjour   3,0,0,2   \r   dvaaccelerate.dll   photoshopdva   14.0.0   \r   dvaappsupport.dll   photoshopdva   14.0.0   \r   dvaaudiodevice.dll   photoshopdva   14.0.0   \r   dvacore.dll   photoshopdva   14.0.0   \r   dvacrashhandler.dll   Adobe Audition CC 2017   10.0.0   \r   dvamarshal.dll   photoshopdva   14.0.0   \r   dvamediatypes.dll   photoshopdva   14.0.0   \r   dvametadata.dll   photoshopdva   14.0.0   \r   dvametadataapi.dll   photoshopdva   14.0.0   \r   dvametadataui.dll   photoshopdva   14.0.0   \r   dvanet.dll   photoshopdva   14.0.0   \r   dvaplayer.dll   photoshopdva   14.0.0   \r   dvascripting.dll   photoshopdva   14.0.0   \r   dvatransport.dll   photoshopdva   14.0.0   \r   dvaui.dll   photoshopdva   14.0.0   \r   dvaunittesting.dll   photoshopdva   14.0.0   \r   dvavulcansupport.dll   photoshopdva   14.0.0   \r   dynamiclink.dll   photoshopdva   14.0.0   \r   ExtendScript.dll   ExtendScript 2019/07/29-10:07:31   82.2   82.2\r   icucnv66.dll   International Components for Unicode    Build dev.1a8973dfe99250a665e321702b3d76963c65bdfe   \r   icudt66.dll   International Components for Unicode    Build dev.1a8973dfe99250a665e321702b3d76963c65bdfe   \r   icuuc66.dll   International Components for Unicode    Build dev.1a8973dfe99250a665e321702b3d76963c65bdfe   \r   igestep30.dll   IGES Reader   9.3.0.113   \r   ippcc.dll   ippCC. Intel(R) Integrated Performance Primitives. Color Conversion.   2020.0.1 (r0x35c5ec66)   \r   ippcck0.dll   ippCC. Intel(R) Integrated Performance Primitives. Color Conversion.   2020.0.1 (r0x35c5ec66)   \r   ippccl9.dll   ippCC. Intel(R) Integrated Performance Primitives. Color Conversion.   2020.0.1 (r0x35c5ec66)   \r   ippccy8.dll   ippCC. Intel(R) Integrated Performance Primitives. Color Conversion.   2020.0.1 (r0x35c5ec66)   \r   ippcore.dll   core. Intel(R) Integrated Performance Primitives. Core Library.   2020.0.1 (r0x35c5ec66)   \r   ippcv.dll   ippCV. Intel(R) Integrated Performance Primitives. Computer Vision.   2020.0.1 (r0x35c5ec66)   \r   ippcvk0.dll   ippCV. Intel(R) Integrated Performance Primitives. Computer Vision.   2020.0.1 (r0x35c5ec66)   \r   ippcvl9.dll   ippCV. Intel(R) Integrated Performance Primitives. Computer Vision.   2020.0.1 (r0x35c5ec66)   \r   ippcvy8.dll   ippCV. Intel(R) Integrated Performance Primitives. Computer Vision.   2020.0.1 (r0x35c5ec66)   \r   ippi.dll   ippIP. Intel(R) Integrated Performance Primitives. Image Processing.   2020.0.1 (r0x35c5ec66)   \r   ippik0.dll   ippIP. Intel(R) Integrated Performance Primitives. Image Processing.   2020.0.1 (r0x35c5ec66)   \r   ippil9.dll   ippIP. Intel(R) Integrated Performance Primitives. Image Processing.   2020.0.1 (r0x35c5ec66)   \r   ippiy8.dll   ippIP. Intel(R) Integrated Performance Primitives. Image Processing.   2020.0.1 (r0x35c5ec66)   \r   ipps.dll   ippSP. Intel(R) Integrated Performance Primitives. Signal Processing.   2020.0.1 (r0x35c5ec66)   \r   ippsk0.dll   ippSP. Intel(R) Integrated Performance Primitives. Signal Processing.   2020.0.1 (r0x35c5ec66)   \r   ippsl9.dll   ippSP. Intel(R) Integrated Performance Primitives. Signal Processing.   2020.0.1 (r0x35c5ec66)   \r   ippsy8.dll   ippSP. Intel(R) Integrated Performance Primitives. Signal Processing.   2020.0.1 (r0x35c5ec66)   \r   ippvm.dll   ippVM. Intel(R) Integrated Performance Primitives. Vector Math.   2020.0.1 (r0x35c5ec66)   \r   ippvmk0.dll   ippVM. Intel(R) Integrated Performance Primitives. Vector Math.   2020.0.1 (r0x35c5ec66)   \r   ippvml9.dll   ippVM. Intel(R) Integrated Performance Primitives. Vector Math.   2020.0.1 (r0x35c5ec66)   \r   ippvmy8.dll   ippVM. Intel(R) Integrated Performance Primitives. Vector Math.   2020.0.1 (r0x35c5ec66)   \r   JP2KLib.dll   JP2KLib 2021/02/17-19:47:02   79.277121   79.277121\r   libifcoremd.dll   Intel(r) Visual Fortran Compiler   10.0 (Update A)   \r   libiomp5md.dll   Intel(R) OpenMP* Runtime Library   5.0   \r   libmmd.dll   Intel(R) C/C++/Fortran Compiler   Mainline   \r   libzip.dll   photoshopdva   14.0.0   \r   LogSession.dll   LogSession   8.2.0.7   \r   mediacoreif.dll   photoshopdva   14.0.0   \r   Microsoft.AI.MachineLearning.dll   Microsoft? Windows? Operating System   1.6.20201209.5.718ca7f   \r   mkl_avx2.dll   Intel? Math Kernel Library   2020.0   \r   mkl_avx512.dll   Intel? Math Kernel Library   2020.0   \r   mkl_core.dll   Intel? Math Kernel Library   2020.0   \r   mkl_def.dll   Intel? Math Kernel Library   2020.0   \r   mkl_mc3.dll   Intel? Math Kernel Library   2020.0   \r   mkl_sequential.dll   Intel? Math Kernel Library   2020.0   \r   mkl_vml_avx2.dll   Intel? Math Kernel Library   2020.0   \r   mkl_vml_avx512.dll   Intel? Math Kernel Library   2020.0   \r   mkl_vml_def.dll   Intel? Math Kernel Library   2020.0   \r   mkl_vml_mc3.dll   Intel? Math Kernel Library   2020.0   \r   MPS.dll   MPS 2021/02/13-00:38:12   79.628096   79.628096\r   onnxruntime.dll   Microsoft? Windows? Operating System   1.6.20201209.5.718ca7f   \r   opencv_world440.dll   OpenCV library   4.4.0   \r   Photoshop.dll   Adobe Photoshop 2021   22.3   \r   Plugin.dll   Adobe Photoshop 2021   22.3   \r   PlugPlugExternalObject.dll   Adobe(R) CEP PlugPlugExternalObject Standard Dll (64 bit)   10.1.0   \r   PlugPlugOwl.dll   Adobe(R) CSXS PlugPlugOwl Standard Dll (64 bit)   10.1.0.15   \r   PSCloud.dll                                                   1.0.0.1   \r   PSViews.dll   Adobe Photoshop 2021   22.3   \r   ScCore.dll   ScCore 2019/07/29-10:07:31   82.2   82.2\r   SVGRE.dll   SVGRE   79.623146   79.623146\r   svml_dispmd.dll   Intel(R) C/C++/Fortran Compiler   Mainline   \r   tbb.dll   Intel(R) Threading Building Blocks for Windows   2020, 2, 2020, 0311   \r   tbbmalloc.dll   Intel(R) Threading Building Blocks for Windows   2020, 2, 2020, 0311   \r   TfKernel.dll   Kernel Geom   9.3.0.113   \r   TFUGEOM.dll   Adobe, UGeom?   9.3.0.113   \r   utest.dll   photoshopdva   14.0.0   \r   VulcanControl.dll   Vulcan Application Control Library   6.6.0.000   \r   VulcanMessage5.dll   Vulcan Message Library   6.6.0.000   \r   WinRTSupport.dll   Adobe Photoshop Windows RT Support   22.2.0.0   \r   WRServices.dll   WRServices    Build 16.1.0.7af3873   16.1.0.7af3873\r   wu3d.dll   U3D Writer   9.3.0.113   \r   统一的可扩展性平台 uxp-4.4.1.71\r\r\r必需的增效工具:\r\r   “裁剪并拉直照片”滤镜 22.3 - 来自文件“Standard MultiPlugin.8bf”\r   BMP 22.3 - 来自文件“Standard MultiPlugin.8bf”\r   Camera Raw 13.2 - 来自文件“Camera Raw.8bi”\r   Camera Raw 滤镜 13.2 - 来自文件“Camera Raw.8bi”\r   Cineon 22.3 (20210406.r.122 990be2c) - 来自文件“Cineon.8bi”\r   Dicom 22.3 - 来自文件“Dicom.8bi”\r   FastCore 例程 22.3 (20210406.r.122 990be2c) - 来自文件“FastCore.8bx”\r   Halide Bottlenecks 22.3 (20210406.r.122 990be2c) - 来自文件“HalideBottlenecks.8bx”\r   HDRMergeUI 22.3 - 来自文件“HDRMergeUI.8bf”\r   HSB/HSL 22.3 - 来自文件“Standard MultiPlugin.8bf”\r   IFF 格式 22.3 - 来自文件“Standard MultiPlugin.8bf”\r   IGES 22.3 (20210406.r.122 990be2c) - 来自文件“U3D.8bi”\r   JPEG 2000 22.3 - 来自文件“JPEG2000.8bi”\r   Matlab Operation 22.3 (20210406.r.122 990be2c) - 来自文件“ChannelPort.8bf”\r   MeasurementCore 22.3 (20210406.r.122 990be2c) - 来自文件“MeasurementCore.8me”\r   MMXCore 例程 22.3 (20210406.r.122 990be2c) - 来自文件“MMXCore.8bx”\r   NTSC 颜色 22.3 (20210406.r.122 990be2c) - 来自文件“NTSC Colors.8bf”\r   OpenEXR 22.3 - 来自文件“Standard MultiPlugin.8bf”\r   PCX 22.3 (20210406.r.122 990be2c) - 来自文件“PCX.8bi”\r   Pixar 22.3 (20210406.r.122 990be2c) - 来自文件“Pixar.8bi”\r   Portable Bit Map 22.3 (20210406.r.122 990be2c) - 来自文件“PBM.8bi”\r   PRC 22.3 (20210406.r.122 990be2c) - 来自文件“U3D.8bi”\r   Radiance 22.3 (20210406.r.122 990be2c) - 来自文件“Radiance.8bi”\r   Spaces 22.3 - 来自文件“Spaces.8li”\r   Targa 22.3 - 来自文件“Standard MultiPlugin.8bf”\r   U3D 22.3 (20210406.r.122 990be2c) - 来自文件“U3D.8bi”\r   WIA 支持 22.3 (20210406.r.122 990be2c) - 来自文件“WIASupport.8li”\r   中间值 22.3 (20210406.r.122 990be2c) - 来自文件“statistics.8ba”\r   云彩 22.3 (20210406.r.122 990be2c) - 来自文件“Clouds.8bf”\r   便条纸 22.3 - 来自文件“Filter Gallery.8bf”\r   偏度 22.3 (20210406.r.122 990be2c) - 来自文件“statistics.8ba”\r   凸出 22.3 - 来自文件“Standard MultiPlugin.8bf”\r   分层云彩 22.3 (20210406.r.122 990be2c) - 来自文件“Clouds.8bf”\r   切变 22.3 - 来自文件“Standard MultiPlugin.8bf”\r   半调图案 22.3 - 来自文件“Filter Gallery.8bf”\r   喷溅 22.3 - 来自文件“Filter Gallery.8bf”\r   喷色描边 22.3 - 来自文件“Filter Gallery.8bf”\r   图片包滤镜 22.3 (20210406.r.122 990be2c) - 来自文件“ChannelPort.8bf”\r   图章 22.3 - 来自文件“Filter Gallery.8bf”\r   基底凸现 22.3 - 来自文件“Filter Gallery.8bf”\r   塑料包装 22.3 - 来自文件“Filter Gallery.8bf”\r   墨水轮廓 22.3 - 来自文件“Filter Gallery.8bf”\r   壁画 22.3 - 来自文件“Filter Gallery.8bf”\r   多处理器支持 22.3 (20210406.r.122 990be2c) - 来自文件“MultiProcessor Support.8bx”\r   存储为 Web 所用格式 22.3 - 来自文件“Save for Web.8be”\r   导出颜色查找表 22.3 (20210406.r.122 990be2c) - 来自文件“Export3DLUT.8be”\r   峰度 22.3 (20210406.r.122 990be2c) - 来自文件“statistics.8ba”\r   干画笔 22.3 - 来自文件“Filter Gallery.8bf”\r   平均 22.3 (20210406.r.122 990be2c) - 来自文件“Average.8bf”\r   平均值 22.3 (20210406.r.122 990be2c) - 来自文件“statistics.8ba”\r   底纹效果 22.3 - 来自文件“Filter Gallery.8bf”\r   强化的边缘 22.3 - 来自文件“Filter Gallery.8bf”\r   彩色半调 22.3 - 来自文件“Standard MultiPlugin.8bf”\r   彩色铅笔 22.3 - 来自文件“Filter Gallery.8bf”\r   影印 22.3 - 来自文件“Filter Gallery.8bf”\r   径向模糊 22.3 - 来自文件“Standard MultiPlugin.8bf”\r   总和 22.3 (20210406.r.122 990be2c) - 来自文件“statistics.8ba”\r   成角的线条 22.3 - 来自文件“Filter Gallery.8bf”\r   扩散亮光 22.3 - 来自文件“Filter Gallery.8bf”\r   拼缀图 22.3 - 来自文件“Filter Gallery.8bf”\r   拼贴 22.3 - 来自文件“Standard MultiPlugin.8bf”\r   挤压 22.3 - 来自文件“Standard MultiPlugin.8bf”\r   撕边 22.3 - 来自文件“Filter Gallery.8bf”\r   方差 22.3 (20210406.r.122 990be2c) - 来自文件“statistics.8ba”\r   旋转扭曲 22.3 - 来自文件“Standard MultiPlugin.8bf”\r   无线位图 22.3 (20210406.r.122 990be2c) - 来自文件“WBMP.8bi”\r   晶格化 22.3 - 来自文件“Standard MultiPlugin.8bf”\r   曝光过度 22.3 (20210406.r.122 990be2c) - 来自文件“Solarize.8bf”\r   最大值 22.3 (20210406.r.122 990be2c) - 来自文件“statistics.8ba”\r   最小值 22.3 (20210406.r.122 990be2c) - 来自文件“statistics.8ba”\r   木刻 22.3 - 来自文件“Filter Gallery.8bf”\r   极坐标 22.3 - 来自文件“Standard MultiPlugin.8bf”\r   染色玻璃 22.3 - 来自文件“Filter Gallery.8bf”\r   标准偏差 22.3 (20210406.r.122 990be2c) - 来自文件“statistics.8ba”\r   水彩 22.3 - 来自文件“Filter Gallery.8bf”\r   水彩画纸 22.3 - 来自文件“Filter Gallery.8bf”\r   水波 22.3 - 来自文件“Standard MultiPlugin.8bf”\r   波浪 22.3 - 来自文件“Standard MultiPlugin.8bf”\r   波纹 22.3 - 来自文件“Standard MultiPlugin.8bf”\r   海报边缘 22.3 - 来自文件“Filter Gallery.8bf”\r   海洋波纹 22.3 - 来自文件“Filter Gallery.8bf”\r   海绵 22.3 - 来自文件“Filter Gallery.8bf”\r   涂抹棒 22.3 - 来自文件“Filter Gallery.8bf”\r   消失点 22.3 - 来自文件“VanishingPoint.8bf”\r   液化 22.3 - 来自文件“Liquify.8bf”\r   深色线条 22.3 - 来自文件“Filter Gallery.8bf”\r   渲染颜色查找网格 22.3 (20210406.r.122 990be2c) - 来自文件“Export3DLUT.8be”\r   滤镜库 22.3 - 来自文件“Filter Gallery.8bf”\r   炭笔 22.3 - 来自文件“Filter Gallery.8bf”\r   炭精笔 22.3 - 来自文件“Filter Gallery.8bf”\r   点状化 22.3 - 来自文件“Standard MultiPlugin.8bf”\r   烟灰墨 22.3 - 来自文件“Filter Gallery.8bf”\r   照亮边缘 22.3 - 来自文件“Filter Gallery.8bf”\r   熵 22.3 (20210406.r.122 990be2c) - 来自文件“statistics.8ba”\r   特殊模糊 22.3 - 来自文件“Standard MultiPlugin.8bf”\r   玻璃 22.3 - 来自文件“Filter Gallery.8bf”\r   球面化 22.3 - 来自文件“Standard MultiPlugin.8bf”\r   石膏效果 22.3 - 来自文件“Filter Gallery.8bf”\r   粉笔和炭笔 22.3 - 来自文件“Filter Gallery.8bf”\r   粗糙蜡笔 22.3 - 来自文件“Filter Gallery.8bf”\r   纤维 22.3 - 来自文件“Standard MultiPlugin.8bf”\r   纹理化 22.3 - 来自文件“Filter Gallery.8bf”\r   绘图笔 22.3 - 来自文件“Filter Gallery.8bf”\r   绘画涂抹 22.3 - 来自文件“Filter Gallery.8bf”\r   网状 22.3 - 来自文件“Filter Gallery.8bf”\r   置换 22.3 - 来自文件“Standard MultiPlugin.8bf”\r   胶片颗粒 22.3 - 来自文件“Filter Gallery.8bf”\r   脚本支持 22.3 - 来自文件“ScriptingSupport.8li”\r   自适应广角 22.3 - 来自文件“Adaptive Wide Angle.8bf”\r   范围 22.3 (20210406.r.122 990be2c) - 来自文件“statistics.8ba”\r   裁剪并拉直照片 22.3 (20210406.r.122 990be2c) - 来自文件“CropPhotosAuto.8li”\r   调色刀 22.3 - 来自文件“Filter Gallery.8bf”\r   路径到 Illustrator 22.3 - 来自文件“Standard MultiPlugin.8bf”\r   逐行 22.3 - 来自文件“Standard MultiPlugin.8bf”\r   铜版雕刻 22.3 - 来自文件“Standard MultiPlugin.8bf”\r   铬黄 22.3 - 来自文件“Filter Gallery.8bf”\r   镜头光晕 22.3 - 来自文件“Standard MultiPlugin.8bf”\r   镜头校正 22.3 - 来自文件“Lens Correction.8bf”\r   镜头模糊 22.3 - 来自文件“Lens Blur.8bf”\r   防抖 22.3 - 来自文件“Shake Reduction.8bf”\r   阴影线 22.3 - 来自文件“Filter Gallery.8bf”\r   霓虹灯光 22.3 - 来自文件“Filter Gallery.8bf”\r   颗粒 22.3 - 来自文件“Filter Gallery.8bf”\r   风 22.3 - 来自文件“Standard MultiPlugin.8bf”\r   马赛克拼贴 22.3 - 来自文件“Filter Gallery.8bf”\r   龟裂缝 22.3 - 来自文件“Filter Gallery.8bf”\r\r可选的和第三方增效工具: 无\r\r\r重复和禁用的增效工具: 无\r\r\r未能载入的增效工具: 无\r\r统一的可扩展性平台 - 扩展:\r\r   Home Screen (已载入) 4.2.0.21 - 来自文件“C:\\Program Files\\Common Files\\Adobe/UXP/Extensions\\com.adobe.ccx.start-4.2.0\\”\rCDO: 1.87.0
        CmdN: 1.7.6
        CDP: 1.110.0\r   Discover Panel (已载入) 1.4.0.24 - 来自文件“C:\\Program Files\\Adobe\\Adobe Photoshop 2021\\Required\\UXP/\\com.adobe.unifiedpanel\\”\r\r   ccx-timeline (已准备) 2.6.37.0 - 来自文件“C:\\Program Files\\Adobe\\Adobe Photoshop 2021\\Required\\UXP/\\com.adobe.ccx.timeline\\”\r\r   Neural Filters (已准备) 1.4.11.0 - 来自文件“C:\\Program Files\\Adobe\\Adobe Photoshop 2021\\Required\\UXP/\\com.adobe.nfp.gallery\\”\r\r   Photoshop UXP Export-As (已准备) 5.4.4.0 - 来自文件“C:\\Program Files\\Adobe\\Adobe Photoshop 2021\\Required\\UXP/\\com.adobe.photoshop.exportAs\\”\r\r   Photoshop Personalization (已载入) 1.0.0.0 - 来自文件“C:\\Program Files\\Adobe\\Adobe Photoshop 2021\\Required\\UXP/\\com.adobe.photoshop.personalization\\”\r\r   Plugins Panel (已准备) 1.2.0.0 - 来自文件“C:\\Program Files\\Adobe\\Adobe Photoshop 2021\\Required\\UXP/\\com.adobe.pluginspanel\\”\r\r\r扩展功能:\r\r   库  1.0.0 - 来自文件“C:\\Program Files\\Common Files\\Adobe\\CEP\\extensions\\CC_LIBRARIES_PANEL_EXTENSION_3_12_165-1\\index.html”\r   主页  2.16.0 - 来自文件“C:\\Program Files (x86)\\Common Files\\Adobe\\CEP\\extensions\\com.adobe.ccx.start-2.16.0\\index.html?v=2.16.0.8”\r   蓝湖  0.0.0 - 来自文件“C:\\Program Files (x86)\\Common Files\\Adobe\\CEP\\extensions\\com.lanhuapp.ps\\index.html”\r   导出为  4.8.13 - 来自文件“C:\\Program Files\\Adobe\\Adobe Photoshop 2021\\Required\\CEP\\extensions\\com.adobe.photoshop.crema\\index.html”\r   360设计云  0.0.0 - 来自文件“C:\\Program Files (x86)\\Common Files\\Adobe\\CEP\\extensions\\com.medici.ps\\index.html”\r   com.lanhu.extension-shadow  0.0.0 - 来自文件“C:\\Program Files (x86)\\Common Files\\Adobe\\CEP\\extensions\\com.lanhuapp.ps\\MIX\\Shadow\\index.html”\r   新建文档  3.5.0 - 来自文件“C:\\Program Files (x86)\\Common Files\\Adobe\\CEP\\extensions\\com.adobe.ccx.fnft-3.5.0\\fnft.html?v=3.5.0.4”\r   com.adobe.capture.extension  1.0.0 - 来自文件“C:\\Program Files\\Common Files\\Adobe\\CEP\\extensions\\CC_LIBRARIES_PANEL_EXTENSION_3_12_165-1\\extensions\\capture\\capture.html”\r   com.adobe.stock.panel.licensing-embedded  1.0.0 - 来自文件“C:\\Program Files\\Common Files\\Adobe\\CEP\\extensions\\CC_LIBRARIES_PANEL_EXTENSION_3_12_165-1\\extensions\\stock-panel-licensing\\index.html”\r   设计云  0.1.0 - 来自文件“C:\\Program Files (x86)\\Common Files\\Adobe\\CEP\\extensions\
et.qihoo.design\\index.html”\r   CoDesign(beta)  0.4.3 - 来自文件“C:\\Program Files (x86)\\Common Files\\Adobe\\CEP\\extensions\\com.codesign.ps\\dist\\index.html”\r   Adobe Color Themes  6.1.0 - 来自文件“C:\\Program Files\\Adobe\\Adobe Photoshop 2021\\Required\\CEP\\extensions\\com.adobe.KulerPanel.html\\index.html”\r   com.medici.extension-shadow  0.0.0 - 来自文件“C:\\Program Files (x86)\\Common Files\\Adobe\\CEP\\extensions\\com.medici.ps\\shadow\\index.html”\r   导出为  4.8.13 - 来自文件“C:\\Program Files\\Adobe\\Adobe Photoshop 2021\\Required\\CEP\\extensions\\com.adobe.photoshop.crema\\index.html”\r   com.adobe.cclibraries.manager  1.0.0 - 来自文件“C:\\Program Files\\Common Files\\Adobe\\CEP\\extensions\\CC_LIBRARIES_PANEL_EXTENSION_3_12_165-1\\manager.html”\r\r已安装的 TWAIN 设备: 无
measurementLog: [MeasurementLog]
currentTool: moveTool
typename: Application

CSInterface

cs.evalScript

app.documents[]

backgroundLayer: undefined
bitsPerChannel: {}
colorProfileType: {}
colorProfileName: "sRGB IEC61966-2.1"
mode: {}
componentChannels: undefined
activeHistoryState: undefined
activeHistoryBrushSource: undefined
activeLayer: undefined
activeChannels: undefined
info: undefined
printSettings: undefined
fullName: {}
height: {}
managed: undefined
saved: false
name: "奇舞团1024.psd"
path: {}
quickMaskMode: false
resolution: 72
selection: undefined
width: {}
histogram: [71535,7293,5468,3646,6469,5214,12183,11680,5003,12525,5398,6748,5388,14143,8384,11624,24381,3429,3230,3114,5720,3640,1221,1629,22467,1158,1153,3571,1436,1623,2773,2077,3484,4585,5683,3904,4154,8292,8442,5839,9008,8966,8784,7912,4083,6197,9375,5235,3243,3502,6795,2597,2191,2476,7599,2162,1984,10587,1354,1593,2474,2097,3794,3398,3559,5777,8850,10196,11919,4187,4749,4922,3912,8149,13649,11313,12215,2526,5300,3627,4856,5406,21288,7746,16727,8153,7885,5069,4892,3826,6051,5245,6941,3454,4765,3015,3973,2262,2001,1680,1866,2102,4390,5216,9510,7924,19941,6510,13280,7135,6444,7524,12219,1076,1169,1106,1181,1184,1172,1738,1086,811,1025,951,637,674,1109,1526,899,944,810,361,1083,1045,949,1384,1146,1112,1687,1045,2216,475,1930,2515,2234,1618,1340,1292,1648,1405,694,2292,1924,702,770,1019,541,1158,601,1447,882,672,717,936,1039,817,702,334,465,533,605,1288,879,1028,1608,435,468,254,9763,384,461,720,302,441,427,486,363,917,606,593,537,926,878,1105,1114,1120,5314,1139,502,1556,1908,634,1297,1358,1917,1766,3203,646,6812,1964,1012,2690,2112,2413,6310,430,2030,3254,1939,2577,1321,2484,2624,1399,1630,5981,6205,633,612,271,416,380,272,413,1976,561,1084,218,583,467,296,292,180,358,210,6174,300,407,307,196,318,142,690,1344,492,31687]
pixelAspectRatio: 1
xmpMetadata: undefined
measurementScale: undefined
id: 255
layers: undefined
layerSets: undefined
artLayers: undefined
channels: undefined
guides: undefined
historyStates: undefined
layerComps: undefined
pathItems: undefined
countItems: undefined
colorSamplers: undefined
cloudDocument: false
cloudWorkAreaDirectory: undefined
typename: "Document"
parent: undefined
parseAppDocument: [{}]

photoshop dom

图层(ArtLayers)

图层组(LayerSets)

ID

 * charIDToTypeID: 从四个字符的代码转换为运行时ID Converts from a four character code to a runtime ID
 * typeIDToCharID: 
 * typeIDToStringID: 
 * stringIDToTypeID: 
charIDToTypeID 示例 示例

debug

chrome 端口调试

错误捕获

Jsxbin

由 ExtendScript Toolkit(ESTK)创建的二进制脚本,该工具用于向 Adobe Creative Suite(CS)应用程序添加扩展。

反编译 Jsxbin 文件

manifest.xml

manifest.xml

开发记录

开题

参考

adobe 参考规范文件