Sophie

Sophie

distrib > Fedora > 14 > x86_64 > media > os > by-pkgid > 4b194777eaf705e440bb2ce282d32772 > files > 625

GMT-doc-4.5.3-3.fc14.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">

<!--Converted with LaTeX2HTML 2002-2-1 (1.71)
original version by:  Nikos Drakos, CBLU, University of Leeds
* revised and updated by:  Marcus Hennecke, Ross Moore, Herb Swan
* with significant contributions from:
  Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
<HTML>
<HEAD>
<TITLE>C.3.2 GMT graphics in PowerPoint</TITLE>
<META NAME="description" CONTENT="C.3.2 GMT graphics in PowerPoint">
<META NAME="keywords" CONTENT="GMT_Docs">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">

<META NAME="Generator" CONTENT="LaTeX2HTML v2002-2-1">
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">

<LINK REL="STYLESHEET" HREF="GMT_Docs.css">

<LINK REL="previous" HREF="node194.html">
<LINK REL="up" HREF="node193.html">
<LINK REL="next" HREF="node196.html">
</HEAD>

<BODY  bgcolor="#ffffff">
<!--Navigation Panel-->
<A NAME="tex2html5425"
  HREF="node196.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> 
<A NAME="tex2html5419"
  HREF="node193.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> 
<A NAME="tex2html5415"
  HREF="node194.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> 
<A NAME="tex2html5421"
  HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A> 
<A NAME="tex2html5423"
  HREF="node256.html">
<IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.png"></A> 
<BR>
<B> Next:</B> <A NAME="tex2html5426"
  HREF="node196.html">C.4 Concluding remarks</A>
<B> Up:</B> <A NAME="tex2html5420"
  HREF="node193.html">C.3 Examples</A>
<B> Previous:</B> <A NAME="tex2html5416"
  HREF="node194.html">C.3.1 GMT graphics in</A>
 &nbsp; <B>  <A NAME="tex2html5422"
  HREF="node1.html">Contents</A></B> 
 &nbsp; <B>  <A NAME="tex2html5424"
  HREF="node256.html">Index</A></B> 
<BR>
<BR>
<!--End of Navigation Panel-->

<H2><A NAME="SECTION002032000000000000000"></A><A NAME="30616"></A>
<BR>
C.3.2 <A NAME="tex2html1724"
  HREF="http://gmt.soest.hawaii.edu"><B>GMT</B></A> graphics in <I>PowerPoint</I>
</H2>

<DIV ALIGN="CENTER"><A NAME="fig:rendering"></A><A NAME="30310"></A>
<TABLE>
<CAPTION ALIGN="BOTTOM"><STRONG>Figure:</STRONG>
Examples of rendered images in a <I>PowerPoint</I><A NAME="30619"></A> presentation.</CAPTION>
<TR><TD><IMG
  WIDTH="720" HEIGHT="540" ALIGN="BOTTOM" BORDER="0"
 SRC="./rendering.png"
 ALT="Image rendering"></TD></TR>
</TABLE>
</DIV>

<DIV ALIGN="CENTER"><A NAME="fig:formatpicture"></A><A NAME="30311"></A>
<TABLE>
<CAPTION ALIGN="BOTTOM"><STRONG>Figure:</STRONG>
<I>PowerPoint</I><A NAME="30622"></A>'s ``Format Picture'' dialogue to set scale and rotation.</CAPTION>
<TR><TD>
<DIV ALIGN="CENTER">   <IMG
  WIDTH="545" HEIGHT="516" ALIGN="BOTTOM" BORDER="0"
 SRC="./formatpicture.png"
 ALT="Image formatpicture">
   </DIV></TD></TR>
</TABLE>
</DIV>

<P>
In Figure&nbsp;<A HREF="#fig:rendering">C.1</A> we have attempted to include Figure&nbsp;<A HREF="node141.html#fig:GMT_example_20">7.20</A> into a <I>PowerPoint</I><A NAME="30625"></A> presentation. First the <I>PostScript</I> file was converted to PDF (using <A NAME="tex2html1727"
  HREF="../man/ps2raster.html"><I><B>ps2raster</B></I></A><A NAME="30630"></A>), then loaded into <I>PowerPoint</I><A NAME="30634"></A> and the white background color was made transparent using the formatting toolbar (shown on the left side of Figure&nbsp;<A HREF="#fig:rendering">C.1</A>). Clearly, when we let <I>PowerPoint</I><A NAME="30637"></A> do the rendering, we do not get the best result:

<OL>
<LI>The anti-aliasing causes the tiles that make up the land to stand out. This is because the anti-aliasing algorithm blurs all edges, even when the tiles join seamlessly.
</LI>
<LI>The background color was assumed to be white, hence the text is ``smoothed'' using gray shades. Instead, shades of blue which would be appropriate for the background we are using.
</LI>
</OL>

<P>
On the central column of Figure&nbsp;<A HREF="#fig:rendering">C.1</A> we have included PNG versions of a portion of the same example. This shows the workings of anti-aliasing and different resolutions. All samples were obtained with <I>convert</I><A NAME="30640"></A>. The one on the top uses all default settings, resulting in an anti-aliased image at 72 dpi resolution (very much like the PDF included directly into <I>PowerPoint</I><A NAME="30643"></A>).

<P>
Just switching anti-aliasing off (middle) is clearly not an option either. It is true that we got rid of the gray blurring and the seams between the tiles, but without anti-aliasing the image becomes very blocky. The solution is to render the image at a higher resolution (e.g., 300 dpi) without anti-aliasing and then shrink the image to the appropriate size (bottom of the central column in Figure&nbsp;<A HREF="#fig:rendering">C.1</A>). The scaling, rotation as well as the selection of the transparent color can be accomplished through the ``Formatting'' tool bar and the ``Format Picture'' dialogue box of <I>PowerPoint</I><A NAME="30646"></A> (Figure&nbsp;<A HREF="#fig:formatpicture">C.2</A>), which can be found by double clicking the included image (or selecting and right-clicking or control-clicking on a one-button mouse).

<P>
<HR>
<!--Navigation Panel-->
<A NAME="tex2html5425"
  HREF="node196.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> 
<A NAME="tex2html5419"
  HREF="node193.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> 
<A NAME="tex2html5415"
  HREF="node194.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> 
<A NAME="tex2html5421"
  HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A> 
<A NAME="tex2html5423"
  HREF="node256.html">
<IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.png"></A> 
<BR>
<B> Next:</B> <A NAME="tex2html5426"
  HREF="node196.html">C.4 Concluding remarks</A>
<B> Up:</B> <A NAME="tex2html5420"
  HREF="node193.html">C.3 Examples</A>
<B> Previous:</B> <A NAME="tex2html5416"
  HREF="node194.html">C.3.1 GMT graphics in</A>
 &nbsp; <B>  <A NAME="tex2html5422"
  HREF="node1.html">Contents</A></B> 
 &nbsp; <B>  <A NAME="tex2html5424"
  HREF="node256.html">Index</A></B> 
<!--End of Navigation Panel-->
<ADDRESS>
Paul Wessel
2010-07-14
</ADDRESS>
</BODY>
</HTML>