🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #8894

Re: [AS] Find color mode of linked images?

#8894
From: Gerald_Singelmann
Date: Fri, 22 Sep 2006 11:39
12 lines
1510 bytes
Hold on, you have a conceptual problem here.
Any pixel-image has exactly one colour space which wakes it RGB or CMYK.
Any EPS or PDF can potentially have any number of RGB and CMYK objects.
There is *no* such thing as THE colour space of an EPS.

While it seems to be true that Illustrator converts all objects to CMYK when you save the file as EPS, you must not assume that all objects in any given EPS share the same colour space.
When you save as PDF from AI and had linked (not embedded) an RGB image, you *will* get an RGB pixel object in your PDF.

In short: you cannot do what you want by scripting InDesign. The *only* save way to know if there was any RGB placed in ID is to analyze the exported PDF in Acrobat.

Thanks
Gerald
Technical Details
Message-ID: <3bc1b03c.9@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeed.freenet.de!newsfeed.kamp.net!newsfeed.kamp.net!news.germany.com!news.isoc.lu!webcrossing
References: <3bc1b03c.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,8faf1dbf18180503
X-Google-Attributes: gidf939a,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Gerald_Singelmann@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeed.freenet.de!newsfeed.kamp.net!newsfeed.kamp.net!news.germany.com!news.isoc.lu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: Re: [AS] Find color mode of linked images?
Message-ID: <3bc1b03c.9@webcrossing.la2eafNXanI>
Date: Fri, 22 Sep 2006 04:39:28 -0700
References: <3bc1b03c.-1@webcrossing.la2eafNXanI>
Lines: 18
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit