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?
Asked
Active
Viewed 2,118 times
0
-
its not that easy `:Đ` – Sep 03 '14 at 12:33
-
2if 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
-
1Can 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