How to get linked image resoution(in PPI/DPI) in Indesign CC2014?


hi all,

is possible linked image resolution in ppi/dpi ? have tried following code snippet, returns value, 72 ppi.

 

iimagecache* imagecache = nil;

imagecache = utils<ilinksuiutils>()->querythumbnailforlink(ilink, ilinkresource);

if(!imagecache)

    continue;

 

pmreal iresolution = imagecache->getresolution();

 

 

in advance.

i using iimageattributes::kpmtagxresolution tag or iepsattributes::gettargetres.



More discussions in InDesign SDK


adobe

Comments

Popular posts from this blog

after effects warning: unable to create drawing surface

Maximum number of authorizations reached!