AntennaHouse / pdf5-ml

Antenna House PDF5-ML DITA-OT Plug-in
23 stars 9 forks source link

Handle EPS file #251

Closed ChhunE closed 3 months ago

ChhunE commented 3 months ago

Hello!

I have image tag that reference eps file. EPS file is color and has high resolution. But when output, it is taking preview of eps which is black and white color, and has low resolution.

EPS file: eco.eps.zip

Actual color image and preview in dita:

color preview

I want output as color and has high resolution.

I've been checking online, I found that I should use postscript/ghostscript, but I am new to this and could not understand what is needed. Any idea to handle this would be appriciated. As always thank you so much.

ToshihikoMakita commented 3 months ago

EPS is supported via Ghostscript.

  1. Download and install Ghostscript. (https://ghostscript.com/releases/gsdnld.html)
  2. Change your Formatter option setting file by referencing following links: https://www.antenna.co.jp/AHF/help/en/ahf-gra.html#EPS https://www.antenna.co.jp/AHF/help/en/ahf-optset.html#EPS-processor
ChhunE commented 3 months ago

Applied Ghostscript is working fine. I'll be closing the issue. Thank you so much for your respond.