Highlighted

Plug-in to select art for create jpg

Community Beginner ,
Aug 28, 2020

Copy link to clipboard

Copied

Hello, 

 

I'm trying to write a plug-in (C++) to get the current selection in the Adobe Illustrator, or to get the current document and create a png/jpg. I know I can do the "Export as", but I want to create the plug-in with the Illustrator SDK.

I already do that function :

AIArtHandle **artStore = NULL;

ai::int32 artCount = 0;

sAIMatchingArt->GetSelectedArt(&artStore, &artCount);

if (artStore != NULL) {

}

 

But I don't know how to convert this element to PNG/JPG

 

Topics

How to, Scripting, SDK, Third party plugins

Views

74

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

Plug-in to select art for create jpg

Community Beginner ,
Aug 28, 2020

Copy link to clipboard

Copied

Hello, 

 

I'm trying to write a plug-in (C++) to get the current selection in the Adobe Illustrator, or to get the current document and create a png/jpg. I know I can do the "Export as", but I want to create the plug-in with the Illustrator SDK.

I already do that function :

AIArtHandle **artStore = NULL;

ai::int32 artCount = 0;

sAIMatchingArt->GetSelectedArt(&artStore, &artCount);

if (artStore != NULL) {

}

 

But I don't know how to convert this element to PNG/JPG

 

Topics

How to, Scripting, SDK, Third party plugins

Views

75

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
Aug 28, 2020 0
Community Beginner ,
Sep 01, 2020

Copy link to clipboard

Copied

I have some value now but I don't know how can I work with this data

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
Reply
Loading...
Sep 01, 2020 0
Community Beginner ,
Sep 02, 2020

Copy link to clipboard

Copied

Found it 🙂

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
Reply
Loading...
Sep 02, 2020 0
Community Beginner ,
Sep 05, 2020

Copy link to clipboard

Copied

Hello, superb. 

 

Kindly share this. It's useful for some other peoples, included me.

 

Thanks.

Murali.M

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
Reply
Loading...
Sep 05, 2020 0