| Date: | Tue, 29 Apr 2008 00:41:59 -0700 |
| Reply-To: | RolandRB <rolandberry@HOTMAIL.COM> |
| Sender: | "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU> |
| From: | RolandRB <rolandberry@HOTMAIL.COM> |
| Organization: | http://groups.google.com |
| Subject: | Re: Color Match Sas Graph and Adobe Indesign |
|
| Content-Type: | text/plain; charset=ISO-8859-1 |
On Apr 7, 10:44 pm, karlstud...@HOTMAIL.COM (KarlK) wrote:
> After a little more research, I think I can now ask my question in 2
> sentences. Sorry to take up so much of the Board's time.
>
> SAS Graph has a single method for defining colors in terms of their RGB
> values (CXrrggbb), but there are, in fact, multiple RGBcolorspaces (see,
> for example,http://en.wikipedia.org/wiki/RGB_color_space). When one
> importscolorimages made by SAS Graph (eg., as PNGs) into Adobe InDesign,
> does anyone know the best RGBcolorspace to set in InDesign to assure the
> bestcolormatch between the imported SAS objects and the native InDesign
> objects?
>
> Whew!
> Karl
>
>
>
> On Mon, 7 Apr 2008 16:08:32 -0400, KarlK <karlstud...@HOTMAIL.COM> wrote:
> >Thanks, Richard. I did a lousy job of describing the situation. I'm sorry.
> >The problem has nothing to do with PDFs. I just brought up PDFs to make
> >the point that the problem (which I so ineptly described) is not HARDWARE
> >dependent: it appears on screen, when printed to any of several printers,
> >or when printed to PDF--all of which take place in InDesign, not SAS.
>
> >I'll strip out all but the necessary details. Suppose I use Proc Annotate
> >to draw a 1-inch square at 300 dpi and set thecolorto CX949A9F (kind of
> >a bluish-gray), for example, using the SASpngdriver. Then, my graphic
> >artist opens an empty InDesign file and draws a 1-inch square box, sets
> >thecolorspace to RBG, and sets the R, G & B values respectively to 148,
> >154 & 159. Then, she imports mypngfile into that same document, at full
> >size, and places it right next to the square box she just drew. On her
> >screen, she now has an InDesign document consisting of 2 1-inch square
> >bluish-gray boxes side-by-side.
>
> >Should not these 2 boxes appear identical to the human with normalcolor
> >vision (which excludes your humble correspondent)? A survey of everyone in
> >my office--and more importantly, our finicky client--indicates that the 2
> >boxes are not EXACTLY the samecolor. The image from SAS appears a little
> >darker gray than the one in InDesign.
>
> >Now, you mentionedcolorspace. When my graphic person said, "Whatcolor
> >space did you use?", I replied, "RGB." Her response was along the lines
> >of, "<clicks tongue disdainfully> The SAS expert thinks there's only ONE
> >RGBcolorspace."
>
> >I suspect that means there are somecolorsettings in InDesign, perhaps
> >when you importcolorgraphics, that are set slightly differently than
> >what SAS does when you use CX codes to set thecolor. But I don't know
> >InDesign, so I'm starting here, in the hopes that someone in the community
> >has encountered this type ofcolor-matching anomaly. Thanks again. Karl
>
> >On Fri, 4 Apr 2008 17:13:53 -0500, Richard A. DeVenezia
> ><rdevene...@WILDBLUE.NET> wrote:
>
> >>KarlK wrote:
> >>> For some time now, we've been using SAS (9.1 on Win XP) to load data
> >>> into custom reports which use Adobe Indesign as the page layout tool.
> >>> We create a fancy master document in Indesign, tag tables and graphic
> >>> objects appropriately, and dump table data and graphs from SAS into
> >>> XML files which Indesign imports. We have hundreds of reporting
> >>> entities and this has worked well for some years now.
>
> >>> We do the graphs in SAS graph and save them as individualpngfiles.
> >>> We make sure that the RGB values in the pngs are the same as those
> >>> which our graphic designers have used to design the static elements
> >>> in the corresponding master document, so that the colors match
> >>> (theoretically). We have a new client who is a brand freak, and is
> >>> insisting that the colors on the graphs don't quite match the ones on
> >>> the static elements-- both onscreen as PDFs, and printed. Our graphic
> >>> artists kind of agree-- they're close, but not identical, yet the RGB
> >>> values are the same in SAS and Indesign. I don't see all that many
> >>> colors, so I have to take it on faith.
>
> >>> Has anyone else ever tried to docolor-matching between Indesign and
> >>> any graphics coming out of SAS graph? Are there some esoteric options
> >>> I need to set in thepngdriver? Should I try another graphic format?
> >>> Any ideas? Thanks in advance.
>
> >>PDFs andpnghave no relation.
>
> >>Are you using ODS PDF, or graphics device PDFC ?
>
> >>Can you give a specific example?
>
> >>Consider the following, it should yield a pie chart with red blue and
> >green
> >>slices.
> >>Are you saying the colors rendered on your screen and printer are not the
> >CX
> >>values specified ?
>
> >>----------------------------------
> >>data pie;
> >> input topic $ amount;
> >>cards;
> >>One 30
> >>Two 55
> >>Three 15
> >>;
>
> >>ods pdf file="%sysfunc(pathname(WORK))\sample.pdf";
>
> >>goptions reset=all;
>
> >>pattern1color=cxff0000;
> >>pattern2color=cx008000;
> >>pattern3color=cx0000ff;
>
> >>proc gchart data=pie;
> >> pie topic / freq=amount coutline=black;
> >>run;
> >>quit;
>
> >>ods pdf close;
> >>----------------------------------
>
> >>It might have to do with thecolorspace, buzzword cymk
>
> >>--
> >>Richard A. DeVenezia
> >>http://www.devenezia.com- Hide quoted text -
>
> - Show quoted text -
Don't use PNGs if you want the colors to match JPG or GIF images of
the same color. It is explained on the following page. So just stick
to jpegs or gifs.
http://hsivonen.iki.fi/png-gamma/
|