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

80

Likes

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
Adobe Community Professional ,
Mar 08, 2021 Mar 08, 2021

Copy link to clipboard

Copied

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

Likes

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!

Likes

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
Adobe Community Professional ,
Mar 09, 2021 Mar 09, 2021

Copy link to clipboard

Copied

Hi,

 

Should the true not be kTrue ?

 

Malcolm

Likes

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!

Likes

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