Skip to main content
Inspiring
August 28, 2020
Question

Plug-in to select art for create jpg

  • August 28, 2020
  • 1 reply
  • 419 views

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

 

This topic has been closed for replies.

1 reply

Inspiring
September 1, 2020

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

Inspiring
September 2, 2020

Found it 🙂

Murali.M
Known Participant
September 5, 2020

Hello, superb. 

 

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

 

Thanks.

Murali.M