<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Thanks, Kevin, that -dEPSCrop option
      (from the link you included) was what I was missing. I'd tried
      various other options (like -dUseArtBox) which had seemed to work
      for properly cropping rendering to raster format, I'd not hit on
      the right combination.<br>
      <br>
      Eric<br>
      <br>
      On 08/14/2014 03:25 PM, Kevin Brown wrote:<br>
    </div>
    <blockquote cite="mid:057601cfb7f5$778be0c0$66a3a240$@com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <meta name="Generator" content="Microsoft Word 12 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Eric:<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">See
            below for my input.<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Kevin<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
        <div>
          <div style="border:none;border-top:solid #B5C4DF
            1.0pt;padding:3.0pt 0in 0in 0in">
            <p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext">From:</span></b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext">
                Xep-support [<a class="moz-txt-link-freetext" href="mailto:xep-support-bounces@renderx.com">mailto:xep-support-bounces@renderx.com</a>] <b>On
                  Behalf Of </b>Eric J. Schwarzenbach<br>
                <b>Sent:</b> Thursday, August 14, 2014 11:19 AM<br>
                <b>To:</b> RenderX Community Support List<br>
                <b>Subject:</b> [xep-support] eps into pdfs...options?<o:p></o:p></span></p>
          </div>
        </div>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">Hi,<br>
          <br>
          This email is kind of long, so I want to preface it with a
          short list of the questions I'm looking for answers to or
          advice regarding. <br>
          <br>
          1) Any advice / best options for converting eps files to make
          them renderable to PDF? (ghostscript vs pstoedit, vs
          uniconverter vs ...?)<span style="color:#1F497D"><o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">I
            have had some success with EPS to PDF via Ghostscript but
            have not tested or run other products. Maybe Imagemagick
            would also do this.<o:p></o:p></span></p>
        <p class="MsoNormal"><br>
          <br>
          2) If I convert the eps to pdf, to embed that pdf image during
          xep rendering, is there any way to make xep use the image
          bounding box of the image instead of the page size as the
          image bounding box?<span style="color:#1F497D"><o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">To
            this I am  bit confused. When you convert the EPS to PDF,
            you should do it so that the EPS image *<b>is</b>* the PDF
            page size. I am not a ghostscript expert but at one time I
            did do this. I think it is a matter of setting the correct
            flags to crop the EPS to the bounding box size and then
            setting the paper size to that same size.<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">See
<a class="moz-txt-link-freetext" href="http://stackoverflow.com/questions/14595521/how-to-set-the-physical-size-of-pdf-pages-with-ghostscript">http://stackoverflow.com/questions/14595521/how-to-set-the-physical-size-of-pdf-pages-with-ghostscript</a><o:p></o:p></span></p>
        <p class="MsoNormal"><br>
          <br>
          3) Am I likely to have more difficulty getting an exact
          rendering, converting to SVG as opposed to PDF (or to a raster
          format)?<span style="color:#1F497D"><o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Well,
            that would I guess depend on the quality of the EPS to SVG
            conversion. That being said, if you get excellent results
            like this then I would use SVG because it works in all
            output.<o:p></o:p></span></p>
        <p class="MsoNormal"><br>
          <br>
          4) Any other approaches I'm missing?<br>
          <br>
          If anyone has advice relevant to any of these items, I'd much
          appreciate hearing it (and there's additional relevant details
          below).<br>
          <br>
          Thanks,<br>
          <br>
          Eric<br>
          <br>
--------------------------------------------------------------------------<br>
          <br>
          We've been struggling with the need to use eps files in pdf
          renderings. A client of ours has a massive quantity of hi res
          art which they've produced in illustrator and have saved as
          eps for sending to printers and use in other systems. While
          they want to move to svg in the long run, it will be a while
          before they will be able convert / re-export all these files
          and make sure they still look right. They've been burned
          before by conversions that don't render things quite the same
          way, mucking up font positioning and such.<br>
          <br>
          My understanding is that xep cannot handle eps files when
          rendering to pdf, or rather it only uses the embedded preview
          tif, which in this client's case is not only poor quality, but
          causes the xep rendering to fail catastrophically with an
          "alpha channel unsupported" error. Re-exporting all their art
          with better tiffs is not really an option either.<br>
          <br>
          So we're looking at conversion options. Ghostscript seems to
          do a pretty good job of rendering to raster formats, so this
          at least is a fallback for us, but they would really like to
          have resolution independent graphics in their pdfs.
          Ghostscript also seems to offer a ton of rendering options
          including distiller options, so I would guess we can replicate
          whatever options the client needs to duplicate the image
          rendering they get with whatever version of illustrator they
          generated these with. (Actually using distiller might be
          another fall back.)<br>
          <br>
          So converting to PDF might be an option, as ghostscript seems
          to also produce a reasonable pdf. However the PDF seems to
          want to be a page, and we really need these to be the proper
          image size of each individual image. It's not clear to me if
          there is a way to do a ghostscript conversions where the page
          size is determined by the image dimensions. Alternately it's
          not clear to me if the bounding box of the image is preserved
          in the PDF and if so, whether that is something renderx can be
          made to use. In initial experiments renderx seems to use the
          page size as the bounding box of the image.<br>
          <br>
          Converting to SVG is another possibility. I've been playing
          with pstoedit and can get svgs out of that, though it does not
          seem to have much in the way of eps rendering options. I
          started looking at uniconverter also, and if I can ever figure
          out how to install their plugin for svg support that might be
          another option. <br>
          <br>
          <br>
          <o:p></o:p></p>
        <p class="MsoNormal"
          style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
            style="color:#1F497D"> </span><o:p></o:p></p>
        <p class="MsoNormal"><br>
           <o:p></o:p></p>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
(*) To unsubscribe, please visit <a class="moz-txt-link-freetext" href="http://lists.renderx.com/mailman/options/xep-support">http://lists.renderx.com/mailman/options/xep-support</a>
(*) By using the Service, you expressly agree to these Terms of Service <a class="moz-txt-link-freetext" href="http://w">http://w</a>
ww.renderx.com/terms-of-service.html</pre>
    </blockquote>
    <br>
  
!DSPAM:87,53ed16e310101570317669!

</body>
</html>