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

Adobe Reader DC install error 150410

Error: 100600 Update failed, updates have been disabled by your system policy

ReferenceError: Window does not have a constructor : 325