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.
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. About Suite Solutions
Our Vision: Enable companies to engage their customers by providing
quick 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. Main Topics
• What is an EPS file?
• Advantages and Disadvantages of the EPS Format
• Publishing EPS
• Publishing to PDF
• Publishing to HTML
5. What is EPS?
• “Encapsulated PostScript, or EPS, is a DSC-conforming PostScript
document with additional restrictions which is intended to be usable as
a graphics file format. In other words, EPS files are more or less self-
contained, reasonably predictable PostScript documents that describe
an image or drawing and can be placed within another PostScript
document.”
• “EPS files also frequently include a preview picture of the content, for
on-screen display. The idea is to allow a simple preview of the final
output in any application that can draw a bitmap. Without this preview
the applications would have to directly render the PostScript (PS) data
inside the EPS, which was beyond the capabilities of most machines
until recently.”
(Wikipedia, http://en.wikipedia.org/wiki/Encapsulated_PostScript)
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. EPS Images - Disadvantages
• File sizes are generally larger than alternatives
• Poor support among publishing workflow tools (Antenna House and
browsers)
8. Publishing EPS Images
• How can we get the benefits of the EPS image format while still being
able to use them in our regular output formats?
• Install Ghostscript, “an interpreter for the PostScript language and for
PDF” (http://www.ghostscript.com)
9. Publishing EPS Images
PDF Output
• By default, Antenna House supports only the built-in preview
• Antenna House can be configured to use Ghostscript for EPS rendering
10. Publishing EPS Images
HTML 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 and
HTML
• A similar approach works for SVG images
11. EPS Images - Questions?
Feel free to be in touch later – reuvenw@suite-sol.com
Editor's Notes
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