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
Copy link to clipboard
Copied
I have some value now but I don't know how can I work with this data
Copy link to clipboard
Copied
Found it 🙂
Copy link to clipboard
Copied
Hello, superb.
Kindly share this. It's useful for some other peoples, included me.
Thanks.