AdobeDocs / uxp-photoshop

Documentation for UXP Plugin API - Adobe Photoshop 2022 - apiVersion 2
https://developer.adobe.com/photoshop/uxp/2022/
Apache License 2.0
93 stars 94 forks source link

require("photoshop").imaging returns undefined #458

Open pjhpeter opened 10 months ago

pjhpeter commented 10 months ago

Hello,I am attempting to require the imaging module from the "photoshop" package in my UXP plugin with the follow code:

const imaging = require("photoshop").imaging;

However, this is resulting in imaging being undefined.

PS version is 23.5.2

Any guidance on why this is happening or how I should be properly requiring the imaging module would be greatly appreciated. If additional information is needed, please let me know.

Thank you!