Suite Labs: Publishing EPS Images to PDF and HTML Outputs


Published on

EPS images are a popular choice for vector-based graphics in online and printed publications.
In this webinar you will learn how to successfully include EPS images in your PDF output (using Antenna House), as well as how to ensure that they will appear correctly in all browsers when publishing HTML-based output.

Published in: Technology, Art & Photos
  • Be the first to comment

  • Be the first to like this

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide
  • Suite Solutions: DITA Quick Start Training for Authors iDTP, March 16-18, 2009
  • How can we get the benefits of EPS images and still be able to use them in our regular output formats?
  • After first bullet, show code and demo
  • After first bullet, show bad Antenna House output After second, show code plugin.xml integrator.xml PATH – hard-coded, but can be dynamic like AH GS_OPTIONS – optional “ GPL Ghostscript 8.64: Set UseCIEColor for UseDeviceIndependentColor to work properly.” XfoSettings.xml XfoSettings.xml Then, show good PDF
  • Show: plugin.xml integrator.xml Need antcontrib for foreach hard-coded path, but can be dynamic like AH Timeout SAFER – ensure we don’t overwrite the original file BATCH - Causes Ghostscript to exit after processing all files named on the command line, rather than going into an interactive loop reading PostScript commands NOPAUSE - Disables the prompt and pause at the end of each page EPSCrop - crop an EPS file to the bounding box DEVICE – output format (PNG with 16m colors) GraphicsAlphaBits and TextAlphaBits – anti-aliasing/transparency r – dpi (higher DPI  larger image; lower DPI  smaller image) OutputFile – output filename eps.xsl Show HTML output
  • Suite Labs: Publishing EPS Images to PDF and HTML Outputs

    1. 1. Publishing EPS Images toPDF and HTML OutputsReuven Weiser, Suite Solutions
    2. 2. About Me• Background in Computer Science and Education• Experience in several computer companies over the past decade• Web applications• Server- and Client-side applications• Early member of the Suite Solutions team• PDF and HTML style sheet projects• Project Management• CMS integration• On-site and online training seminars
    3. 3. About Suite SolutionsOur Vision: Enable companies to engage their customers by providingquick access to relevant information•Help companies get it right the first time• XML-based Authoring/Publishing Solutions• Enterprise Intelligent Dynamic Content•Consultancy, Systems Integration, Application Development•Cross-Industry Expertise• High Tech, Aerospace & Defense• Healthcare, Discrete Manufacturing•Blue Chip Customer Base•Hundreds of Person Years of Experience on Staff
    4. 4. Main Topics• What is an EPS file?• Advantages and Disadvantages of the EPS Format• Publishing EPS• Publishing to PDF• Publishing to HTML
    5. 5. What is EPS?• “Encapsulated PostScript, or EPS, is a DSC-conforming PostScriptdocument with additional restrictions which is intended to be usable asa graphics file format. In other words, EPS files are more or less self-contained, reasonably predictable PostScript documents that describean image or drawing and can be placed within another PostScriptdocument.”• “EPS files also frequently include a preview picture of the content, foron-screen display. The idea is to allow a simple preview of the finaloutput in any application that can draw a bitmap. Without this previewthe applications would have to directly render the PostScript (PS) datainside the EPS, which was beyond the capabilities of most machinesuntil recently.”(Wikipedia,
    6. 6. EPS Images - Advantages• EPS images are vector-based• That makes them infinitely sharp and zoomable• Vector-based graphics are great for print/PDF
    7. 7. EPS Images - Disadvantages• File sizes are generally larger than alternatives• Poor support among publishing workflow tools (Antenna House andbrowsers)
    8. 8. Publishing EPS Images• How can we get the benefits of the EPS image format while still beingable to use them in our regular output formats?• Install Ghostscript, “an interpreter for the PostScript language and forPDF” (
    9. 9. Publishing EPS ImagesPDF Output• By default, Antenna House supports only the built-in preview• Antenna House can be configured to use Ghostscript for EPS rendering
    10. 10. Publishing EPS ImagesHTML Output• EPS images are not supported in any browsers (without a plugin)• Use Ghostscript to convert all EPS images to PNG, and rewrite all links!• No longer vector based, but can at least use same graphic for PDF andHTML• A similar approach works for SVG images
    11. 11. EPS Images - Questions?Feel free to be in touch later –