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

VisitAIColorFlags and PlacedArt objects

Engaged ,
Nov 29, 2016 Nov 29, 2016

Copy link to clipboard

Copied

I'm trying to analyze the colors used inside of PlacedArt objects. I've tried a few different ways using functions in the PlacedArt suite, but the suite functions CountPlacedCustomColors(...) and GetNthPlacedCustomColorName(...) only work with placed EPS files.

I'm trying to cover all sorts of different placed files, including our most common case, a placed PDF containing custom spot color artwork.

So, I've arrived at the idea of passing the placed file to AdjustObjectAIColors(...). I have also tried using the GetPlacedChild(...) function and passing the resulting GroupArt to the AdjustObjectAIColors(...) function.

I can't, however, seem to find a combination of VisitAIColorFlags values that forwards anything to my callback. The variations I've tried all result in my callback not being called at all.

TOPICS
SDK

Views

344

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
Engaged ,
Nov 29, 2016 Nov 29, 2016

Copy link to clipboard

Copied

LATEST

It looks like I've found an acceptable solution using the AIFOConversion suite's EnumerateContents(...) function.

If anyone has any thoughts on the intricacies of VisitAIColorFlags, I'd love to discuss still though.

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