Copy link to clipboard
Copied
One more, as long as I'm logged in...
Title says it all: is it possible for an automation plugin to get s pointer to a valid ReadImageDocumentDesc structure for the active document, and if so, how?
All I really need are a simple few things like image mode, but the functions in PropertyUtils.h (e.g. PIGetImageMode()) fail miserably when called from an automation plugin.
Copy link to clipboard
Copied
Ok, finally scoped out the value returned from PIGetInfo, at least for image mode, which was the most pressing issue.
This particular kabuki dance would be unnecessary if PS honored the 'SupportedModes' PiPL resource values for automation plugins...
Copy link to clipboard
Copied
Yo @Lee_DeRaud, stuck on the same issue, can you share some hints/code what/where U fished it out from?
TIA