View Single Post
Old 09-11-2014, 12:24 PM   #3
Tex2002ans
Wizard
Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.
 
Posts: 2,306
Karma: 13057279
Join Date: Jul 2012
Device: Kobo Forma, Nook
How many vector graphics/formulas are we talking here? It can get quite labor intensive if you have to do a lot of them without access to the original source documents. Not to mention, you probably would have to manually rename the filenames to organize them neatly as well.

I would take a look at "Step 3: Inkscape" of my "Tutorial: Formulas to PNG" topic:

https://www.mobileread.com/forums/sho...d.php?t=223254

I have a bunch of examples of formulas I generated using that method in the tutorial. And here is a vector graph that was originally designed from InDesign, I pulled out of the PDF using Inkscape, and exported to PNG:

https://www.mobileread.com/forums/sho...5&postcount=26

You can easily follow the same steps in Inkscape, and export the formulas/graphs from PDF -> SVG instead of PNG if that is what you prefer.

Quote:
Originally Posted by Toxaris View Post
Downside for SVG is that it is not supported in mobi AFAK and MathML is only supposed to be supported in ePUB3.
SVG is only supported in KF8, so if you wanted your MOBI to work on older Kindles as well, you would need to create image fallbacks anyway.

If this is a personal project, and you only have a newer Kindle device, then you should be ok with SVG.

Quote:
Originally Posted by Toxaris View Post
If you optimize the PNG, they can be rather small in size.
Yep, if you Index the PNGs, and reduce the colors, you can get the filesize of formulas QUITE small.

For example, the latest journal I did, 81 formulas at 350 DPI = 328KBs after optimization. (Samples are attached in the topic).

I just have two words of advice: AVOID JPG.

Last edited by Tex2002ans; 09-11-2014 at 12:28 PM.
Tex2002ans is offline   Reply With Quote