SlideShare una empresa de Scribd logo
1 de 11
Publishing EPS Images to
PDF and HTML Outputs
Reuven Weiser, Suite Solutions
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
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
Main Topics
• What is an EPS file?
• Advantages and Disadvantages of the EPS Format
• Publishing EPS
• Publishing to PDF
• Publishing to HTML
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)
EPS Images - Advantages
• EPS images are vector-based
• That makes them infinitely sharp and zoomable
• Vector-based graphics are great for print/PDF
EPS Images - Disadvantages
• File sizes are generally larger than alternatives
• Poor support among publishing workflow tools (Antenna House and
browsers)
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)
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
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
EPS Images - Questions?
Feel free to be in touch later – reuvenw@suite-sol.com

Más contenido relacionado

Más de Suite Solutions

DITA Quick Start for Authors Part II
DITA Quick Start for Authors Part IIDITA Quick Start for Authors Part II
DITA Quick Start for Authors Part II
Suite Solutions
 
C:\Users\User\Desktop\Eclipse Infocenter
C:\Users\User\Desktop\Eclipse InfocenterC:\Users\User\Desktop\Eclipse Infocenter
C:\Users\User\Desktop\Eclipse Infocenter
Suite Solutions
 
LocalizingStyleSheetsForHTMLOutputs
LocalizingStyleSheetsForHTMLOutputsLocalizingStyleSheetsForHTMLOutputs
LocalizingStyleSheetsForHTMLOutputs
Suite Solutions
 
ImplementingChangeTrackingAndFlagging
ImplementingChangeTrackingAndFlaggingImplementingChangeTrackingAndFlagging
ImplementingChangeTrackingAndFlagging
Suite Solutions
 
Debugging and Error handling
Debugging and Error handlingDebugging and Error handling
Debugging and Error handling
Suite Solutions
 
Dita ot pipeline webinar
Dita ot pipeline webinarDita ot pipeline webinar
Dita ot pipeline webinar
Suite Solutions
 
CustomizingStyleSheetsForHTMLOutputs
CustomizingStyleSheetsForHTMLOutputsCustomizingStyleSheetsForHTMLOutputs
CustomizingStyleSheetsForHTMLOutputs
Suite Solutions
 

Más de Suite Solutions (20)

DITA Quick Start: System Architecture of a Basic DITA Toolset
DITA Quick Start: System Architecture of a Basic DITA ToolsetDITA Quick Start: System Architecture of a Basic DITA Toolset
DITA Quick Start: System Architecture of a Basic DITA Toolset
 
DITA Quick Start Webinar Series: Getting Started with the DITA Open Toolkit
DITA Quick Start Webinar Series: Getting Started with the DITA Open ToolkitDITA Quick Start Webinar Series: Getting Started with the DITA Open Toolkit
DITA Quick Start Webinar Series: Getting Started with the DITA Open Toolkit
 
DITA Quick Start Webinar Series: Getting Started with Information Architecture
DITA Quick Start Webinar Series: Getting Started with Information ArchitectureDITA Quick Start Webinar Series: Getting Started with Information Architecture
DITA Quick Start Webinar Series: Getting Started with Information Architecture
 
Introduction to S1000D
Introduction to S1000DIntroduction to S1000D
Introduction to S1000D
 
DITA Quick Start for Authors Part II
DITA Quick Start for Authors Part IIDITA Quick Start for Authors Part II
DITA Quick Start for Authors Part II
 
DITA Quick Start for Authors - Part I
DITA Quick Start for Authors - Part IDITA Quick Start for Authors - Part I
DITA Quick Start for Authors - Part I
 
Suite Labs: Generating SuiteHelp Output
Suite Labs: Generating SuiteHelp OutputSuite Labs: Generating SuiteHelp Output
Suite Labs: Generating SuiteHelp Output
 
Overview of SuiteHelp 3.1 for DITA
Overview of SuiteHelp 3.1 for DITAOverview of SuiteHelp 3.1 for DITA
Overview of SuiteHelp 3.1 for DITA
 
Svg and graphics
Svg and graphicsSvg and graphics
Svg and graphics
 
C:\Users\User\Desktop\Eclipse Infocenter
C:\Users\User\Desktop\Eclipse InfocenterC:\Users\User\Desktop\Eclipse Infocenter
C:\Users\User\Desktop\Eclipse Infocenter
 
LocalizingStyleSheetsForHTMLOutputs
LocalizingStyleSheetsForHTMLOutputsLocalizingStyleSheetsForHTMLOutputs
LocalizingStyleSheetsForHTMLOutputs
 
ImplementingChangeTrackingAndFlagging
ImplementingChangeTrackingAndFlaggingImplementingChangeTrackingAndFlagging
ImplementingChangeTrackingAndFlagging
 
AdvancedXPath
AdvancedXPathAdvancedXPath
AdvancedXPath
 
Ot performance webinar
Ot performance webinarOt performance webinar
Ot performance webinar
 
PDF Localization
PDF  LocalizationPDF  Localization
PDF Localization
 
Debugging and Error handling
Debugging and Error handlingDebugging and Error handling
Debugging and Error handling
 
Dost.jar and fo.jar
Dost.jar and fo.jarDost.jar and fo.jar
Dost.jar and fo.jar
 
Dita ot pipeline webinar
Dita ot pipeline webinarDita ot pipeline webinar
Dita ot pipeline webinar
 
Developing Plugins
Developing PluginsDeveloping Plugins
Developing Plugins
 
CustomizingStyleSheetsForHTMLOutputs
CustomizingStyleSheetsForHTMLOutputsCustomizingStyleSheetsForHTMLOutputs
CustomizingStyleSheetsForHTMLOutputs
 

Último

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Último (20)

Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 

Suite Labs: Publishing EPS Images to PDF and HTML Outputs

  • 1. Publishing EPS Images to PDF and HTML Outputs Reuven Weiser, Suite Solutions
  • 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

Notas del editor

  1. Suite Solutions: DITA Quick Start Training for Authors iDTP, March 16-18, 2009
  2. How can we get the benefits of EPS images and still be able to use them in our regular output formats?
  3. After first bullet, show code and demo
  4. 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
  5. 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