• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

SnapshotUtilsEx Resolution

Explorer ,
Mar 08, 2021 Mar 08, 2021

Copy link to clipboard

Copied

Hello,

 

I am trying to convert page item into image, I am doing this as following                

 

SnapshotUtilsEx snapshot_utilsEx(pageItemUIDRef,1.0,1.0,200,72.0,0.0,SnapshotUtilsEx::kCsRGB,kTrue,kFalse);

if(snapshot_utilsEx.Draw(IShape::kPreviewMode,true) == kSuccess)

{

///

}

 

Second parameter set is true for fullResolutionGraphics, On few systems images converted are of full resolution but on few Mac it just convert as proxies (low resolution images not sharp).

 

What it can be? I think on high dpi mac machines its not working properly?

Can some one help and let me know whats wrong here

 

Thanks in advance

 

TOPICS
SDK

Views

146

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 08, 2021 Mar 08, 2021

Copy link to clipboard

Copied

Can't you just export the InDesign document as an JPG or PNG?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Mar 08, 2021 Mar 08, 2021

Copy link to clipboard

Copied

No, my requirement is to exporte specifc pageitem as image, Thanks!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 09, 2021 Mar 09, 2021

Copy link to clipboard

Copied

Hi,

 

Should the true not be kTrue ?

 

Malcolm

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Mar 11, 2021 Mar 11, 2021

Copy link to clipboard

Copied

LATEST

No, we can use either,

Thanks!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines