Quantcast
Channel: Adobe Community : Popular Discussions - Photoshop Plugin and Companion App SDK
Viewing all articles
Browse latest Browse all 54282

Get image resource handle in filter plugin

$
0
0

Hello all,

 

In the past, I have written filter plugin which reads slices data, using PIGetSlices()

Now I need to get the information about layer comps. As far as I understand, it's image resource with 1065 resource id. There's no symbol property defined like for slices or xmp, so I can't use getPropertyProc unfortunately.

 

Is it still possible to get this handle in plugin?

 

I've tried this, but it returns 0.

 

Handle  layerCompsHandle;

size_t outSize;

int32 rezID = 1065;

 

layerCompsHandle = HostGetResource(gFilterRecord->handleProcs, kPhotoshopSignature, rezID, &outSize);

 

 

 

 

any ideas would be appreciated

 

thanks!


Viewing all articles
Browse latest Browse all 54282

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>