0

My web application currently displays PNG files. It is going to be easier if I could use an EPS file. How do I display an EPS file from InDesign on the canvas in Javascript?

Huangism
  • 16,278
  • 7
  • 48
  • 74
quemeful
  • 9,542
  • 4
  • 60
  • 69
  • its not that easy `:Đ` –  Sep 03 '14 at 12:33
  • 2
    if it would have been easy, I wouldn't have asked lol – quemeful Sep 03 '14 at 12:41
  • [this appears to be the spec](http://partners.adobe.com/public/developer/en/ps/5002.EPSF_Spec.pdf), write a parser for it in JS. – Quentin Sep 03 '14 at 12:54
  • https://www.adobe.com/products/postscript/pdfs/PLRM.pdf is the reference for it –  Sep 03 '14 at 13:13
  • 1
    Can you convert the file server side? – Josh Voigts Sep 03 '14 at 13:14
  • "From InDesign" *must* be a totally irrelevant specification. "EPS" is just a wrapper around a full PostScript program, and PostScript is a Turing-complete programming language. Therefore, you must write a full PostScript interpreter ... In addition, this needs you to understand various *font formats* as well as, for modern EPS files, a full PDF parser. – Jongware Sep 05 '14 at 20:26

0 Answers0