View Single Post
Old 02-01-2018, 04:02 PM   #16
j.p.s
Grand Sorcerer
j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.
 
Posts: 5,813
Karma: 103362673
Join Date: Apr 2011
Device: pb360
Quote:
Originally Posted by JohannesM View Post
Thank you for the suggestion. The thing is, that the PNGs get created automatically by exporting from Indesign - I already have all of the formulas and special cases as *.eps files. It's a conversion of already existing printed textbook, which was originally designed in Indesign - there are around 8000 of them, so it doesn't seem too reasonable to replace them with svg-s manually.

Is there a significant performance boost by using svg instead of png? If I have to do it, I'd really rather know that it would help.

I guess another thing that could be done would be to re-do everything in Sigil, just design it in Indesign, now that I have all formatting design questions solved. But again, I'd really rather do it only if I know that I cannot use Indesign's exported epub somehow, this issue seems kind of silly.
EPS can be converted to SVG in an automated fashion with the open source utilities epstopdf and pdf2svg. Unfornately neither one is particularly unix pipe friendly so the conversion needs to be spread over commands.

epstopdf file.eps
will make file.pdf
or you can use the --outfile option for any output file name you like

pdf2svg pdffile svgfile
will convert the PDF file to an SVG file.
j.p.s is offline   Reply With Quote