Skip to main content
Participant
October 23, 2023
Question

Issue with "Map spot and process colors" fixup in Preflight using Regular Expression for Magenta

  • October 23, 2023
  • 3 replies
  • 799 views

Hello Adobe Community,

I'm encountering a problem with the "Map spot and process colors" fixup in Preflight. I'm trying to utilize regular expressions to target the Magenta color. However, even when I select "Magenta" as my target, it seems to internally convert elements with "Magenta = 0" to spot colors. This behavior is problematic, even if the color transformation isn't visually noticeable, because the internal value of 0 for the spot color element causes issues when I subsequently base operations on the presence of spot colors.

Ideally, I'd like to modify the regular expression such that it targets elements with Magenta values other than 0, or specifically those with values ranging from 1 to 100. I've attached a screenshot of my current setting where "Magenta" is selected.

I understand that the regular expressions in Adobe, especially for color specifications, might be unique. I've included a screenshot of my current setting for reference. Could anyone advise on how I might adjust my expression to achieve the desired behavior?

Thank you in advance for your assistance.

3 replies

Participant
May 7, 2025

もう2年も前のフォーラムですが自分も同じようにテキスト教材の赤字の有り・無しの

PDFデータを作成する際にまったく同じ問題に当たってしまいグーグル検索でこのフォーラムに辿り着き

今日何とか解決できました。マゼンタ0%のオブジェクトも処理しようするため大量のオブジェクトを処理しようとしてAcrobatがメモリエラーを引き起こすんですよね、自分の環境ではそうなるファイルとならないファイルがあり結局PDFの書き出し設定なども見直したのですが原因の特定は出来ませんでした。

2年前なので質問者様はもう見ていないかもしれませんが自分の忘備録としてもここに書き込んでおきます。

まず「特色とプロセスカラー」のマッピングからでは無く「色をマッピング」の項目からだと

マゼンタ100%のオブジェクトのみを指定出来るようなので自分は添付画像の通りに

プリフライトを実行して何とか解決出来ました。正規表現の設定次第では他の方法でも出来るかもしれませんが何分詳しくないためこの方法で作業を行い解決する事が出来ました。

 

I know this thread is already two years old, and the original poster may no longer be following it, but I recently encountered the exact same issue while preparing PDF data for educational materials that include and exclude red text annotations.

While searching for a solution online, I came across this forum post and realized I was facing the same problem: Acrobat attempts to process even objects with 0% Magenta, which results in a massive number of elements being handled, eventually causing a memory error. In my environment, some files triggered this issue while others didn’t, and although I reviewed my PDF export settings thoroughly, I couldn’t pinpoint the exact cause.

Today, I finally found a workaround that resolved the issue, so I’m sharing it here both in case it helps others and as a personal reference.

Instead of using “Map spot and process colors,” I switched to using the “Map colors” option in Preflight. With this method, I was able to specifically target only objects with 100% Magenta, as shown in the screenshot I’ve attached. This approach worked for me and prevented unnecessary processing of elements with 0% Magenta.

Inspiring
October 23, 2023

RegEx欄にMagentaではどうでしょう?

Participant
October 23, 2023

ありがとうございます。
Magentaとすると,見た目上Magentaのみで構成されるテキストオブジェクトが全て特色に変換されるのですが,出力プレビュー等を使って検証すると,どうやら全てのオブジェクトが内部的に特色を持ってしまうようです。M = 0だった物は内部的にtint = 0の特色を持ってしまいます。

 

これにより,後に「特色のテキストオブジェクトを一括処理」しようとした際に,意図せず全てのオブジェクトが処理対象になってしまいます。プリフィックスにおける正規表現はリファレンスが乏しく,Magentaを指定しつつさらに値の範囲を指定できるかどうかわかりません。

納品されたPDFを使用しており,元のIndesingデータ等はないので,PDFに対して処理をかけるしかないのですが,難しいです。Magentaのテキストだけ分離してPDFにできたらいいのですが(その後に正規表現で一括で特色変換をかける)その方法もわからず。難しいところです。

katayanagi51
Community Expert
Community Expert
October 23, 2023

日本語コミュニティでは日本語で書かれたほうが良いように思います。また、グローバルのほうで解決されましたら、結果をご報告いただけるとありがたいです。

回答でなく恐縮ですが…。

Participant
October 23, 2023

申し訳ございません。言語設定がわからず,グローバルへの投稿を意図したものをこちらに投稿してしまいました。

承知いたしました。恐縮です。