Sophie

Sophie

distrib > Fedora > 13 > x86_64 > media > updates > by-pkgid > bde97f1793fb4b5ac4b6e6950d3353e2 > files > 628

GMT-doc-4.5.6-1.fc13.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="node196.html">
<LINK REL="up" HREF="node195.html">
<LINK REL="next" HREF="node198.html">
</HEAD>

<BODY  bgcolor="#ffffff">
<!--Navigation Panel-->
<A NAME="tex2html5527"
  HREF="node198.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> 
<A NAME="tex2html5521"
  HREF="node195.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> 
<A NAME="tex2html5517"
  HREF="node196.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> 
<A NAME="tex2html5523"
  HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A> 
<A NAME="tex2html5525"
  HREF="node258.html">
<IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.png"></A> 
<BR>
<B> Next:</B> <A NAME="tex2html5528"
  HREF="node198.html">C.4 Concluding remarks</A>
<B> Up:</B> <A NAME="tex2html5522"
  HREF="node195.html">C.3 Examples</A>
<B> Previous:</B> <A NAME="tex2html5518"
  HREF="node196.html">C.3.1 GMT graphics in</A>
 &nbsp; <B>  <A NAME="tex2html5524"
  HREF="node1.html">Contents</A></B> 
 &nbsp; <B>  <A NAME="tex2html5526"
  HREF="node258.html">Index</A></B> 
<BR>
<BR>
<!--End of Navigation Panel-->

<H2><A NAME="SECTION002032000000000000000"></A><A NAME="31125"></A>
<BR>
C.3.2 <A NAME="tex2html1794"
  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="30819"></A>
<TABLE>
<CAPTION ALIGN="BOTTOM"><STRONG>Figure:</STRONG>
Examples of rendered images in a <I>PowerPoint</I><A NAME="31128"></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="30820"></A>
<TABLE>
<CAPTION ALIGN="BOTTOM"><STRONG>Figure:</STRONG>
<I>PowerPoint</I><A NAME="31131"></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="node143.html#fig:GMT_example_20">7.20</A> into a <I>PowerPoint</I><A NAME="31134"></A> presentation. First the <I>PostScript</I> file was converted to PDF (using <A NAME="tex2html1797"
  HREF="../man/ps2raster.html"><I><B>ps2raster</B></I></A><A NAME="31139"></A>), then loaded into <I>PowerPoint</I><A NAME="31143"></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="31146"></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="31149"></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="31152"></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="31155"></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="tex2html5527"
  HREF="node198.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> 
<A NAME="tex2html5521"
  HREF="node195.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> 
<A NAME="tex2html5517"
  HREF="node196.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> 
<A NAME="tex2html5523"
  HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A> 
<A NAME="tex2html5525"
  HREF="node258.html">
<IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.png"></A> 
<BR>
<B> Next:</B> <A NAME="tex2html5528"
  HREF="node198.html">C.4 Concluding remarks</A>
<B> Up:</B> <A NAME="tex2html5522"
  HREF="node195.html">C.3 Examples</A>
<B> Previous:</B> <A NAME="tex2html5518"
  HREF="node196.html">C.3.1 GMT graphics in</A>
 &nbsp; <B>  <A NAME="tex2html5524"
  HREF="node1.html">Contents</A></B> 
 &nbsp; <B>  <A NAME="tex2html5526"
  HREF="node258.html">Index</A></B> 
<!--End of Navigation Panel-->
<ADDRESS>
Paul Wessel
2011-02-27
</ADDRESS>
</BODY>
</HTML>