<!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.2 Converting GMT PostScript to PDF or raster images</TITLE> <META NAME="description" CONTENT="C.2 Converting GMT PostScript to PDF or raster images"> <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="next" HREF="node193.html"> <LINK REL="previous" HREF="node189.html"> <LINK REL="up" HREF="node188.html"> <LINK REL="next" HREF="node191.html"> </HEAD> <BODY bgcolor="#ffffff"> <!--Navigation Panel--> <A NAME="tex2html5355" HREF="node191.html"> <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> <A NAME="tex2html5349" HREF="node188.html"> <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> <A NAME="tex2html5343" HREF="node189.html"> <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> <A NAME="tex2html5351" HREF="node1.html"> <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A> <A NAME="tex2html5353" HREF="node256.html"> <IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.png"></A> <BR> <B> Next:</B> <A NAME="tex2html5356" HREF="node191.html">C.2.1 When converting or</A> <B> Up:</B> <A NAME="tex2html5350" HREF="node188.html">C. Including GMT graphics</A> <B> Previous:</B> <A NAME="tex2html5344" HREF="node189.html">C.1 Making GMT Encapsulated</A> <B> <A NAME="tex2html5352" HREF="node1.html">Contents</A></B> <B> <A NAME="tex2html5354" HREF="node256.html">Index</A></B> <BR> <BR> <!--End of Navigation Panel--> <H1><A NAME="SECTION002020000000000000000"> C.2 Converting </A><A NAME="tex2html1704" HREF="http://gmt.soest.hawaii.edu"><B>GMT</B></A> <I>PostScript</I> to PDF or raster images </H1> <A NAME="30203"></A> <A NAME="30204"></A> <A NAME="30205"></A> <A NAME="30206"></A> <A NAME="30207"></A> <P> Since Adobe's PDF (Portable Document Format) seems to become the <I>de facto</I> standard for vector graphics, you are often well off converting <A NAME="tex2html1705" HREF="http://gmt.soest.hawaii.edu"><B>GMT</B></A> produced <I>PostScript</I> files to PDF. Being both vector formats (i.e., they basically describe all objects, text and graphics as lines and curves), such conversion sounds awfully straightforward and not worth a full section in this document. But experience has shown differently, since most converters cut corners by using the same tool (Aladdin's <I>ghostscript</I><A NAME="30451"></A>) with basic default options that are not devised to produce the best quality PDF files. <P> For some applications it is practical or even essential that you convert your <I>PostScript</I> file into a raster format, such as GIF (Graphics Interchange Format), TIFF (Tagged Image File Format), PNG (Portable Network Graphics), or JPEG (Joint Photographic Experts Group). A web page is better served with a raster image that will immediately show on a web browser, than with a <I>PostScript</I> file that needs to be downloaded to view, despite the better printing quality of the <I>PostScript</I> image. A less obvious reason to convert your image to a raster format is to by-pass <I>PowerPoint</I><A NAME="30457"></A>'s rendering engine in case you want to embed the image into a presentation. <P> The are a number of programs that will convert <I>PostScript</I> files to PDF or raster formats, like Aladdin's <I>pstopdf</I><A NAME="30461"></A>, pbmplus' <I>pstoimg</I><A NAME="30464"></A>, or ImageMagick's <I>convert</I><A NAME="30467"></A>, most of which run <I>ghostscript</I><A NAME="30470"></A> behind the scenes. The same is true for viewers like <I>ghostview</I><A NAME="30473"></A> and Apple's <I>Preview</I><A NAME="30476"></A>. So a lot of the times when people report that their <I>PostScript</I> plot does not look right but prints fine, it is the way <I>ghostscript</I><A NAME="30480"></A> is used with its most basic settings that is to blame. <P> <BR><HR> <!--Table of Child-Links--> <A NAME="CHILD_LINKS"><STRONG>Subsections</STRONG></A> <UL> <LI><A NAME="tex2html5357" HREF="node191.html">C.2.1 When converting or viewing <I>PostScript</I> goes awry</A> <LI><A NAME="tex2html5358" HREF="node192.html">C.2.2 Using <I><B>ps2raster</B></I></A> </UL> <!--End of Table of Child-Links--> <HR> <!--Navigation Panel--> <A NAME="tex2html5355" HREF="node191.html"> <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> <A NAME="tex2html5349" HREF="node188.html"> <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> <A NAME="tex2html5343" HREF="node189.html"> <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> <A NAME="tex2html5351" HREF="node1.html"> <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A> <A NAME="tex2html5353" HREF="node256.html"> <IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.png"></A> <BR> <B> Next:</B> <A NAME="tex2html5356" HREF="node191.html">C.2.1 When converting or</A> <B> Up:</B> <A NAME="tex2html5350" HREF="node188.html">C. Including GMT graphics</A> <B> Previous:</B> <A NAME="tex2html5344" HREF="node189.html">C.1 Making GMT Encapsulated</A> <B> <A NAME="tex2html5352" HREF="node1.html">Contents</A></B> <B> <A NAME="tex2html5354" HREF="node256.html">Index</A></B> <!--End of Navigation Panel--> <ADDRESS> Paul Wessel 2010-07-14 </ADDRESS> </BODY> </HTML>