I have eps files of 10-15 MB that i have generated from matlab. These figures are basically data plots and because of that file sizes are so high.

When i am using these files for pdf then output pdf file is taking too much time to load because of those eps figures. So is there any way so that i can reduce my file size. Please help me out.


  • Welcome to TeX.SX! You don't have to sign with your name since it automatically appears in the lower right corner of your post. – Jesse Nov 27 '14 at 11:39
  • 1
    This isn't really a tex question. You could probably use some general options to ghostscript (or a wrapper such as convert or epstopdf) to reduce the file size, but probably you will get best results by regenerating the images from matlab, there you can sample the data and so reduce the size in a way that is aware of the semantics of the plot. – David Carlisle Nov 27 '14 at 11:40
  • Programs like Matlab or Mathematica produce inefficient eps code. Try exporting to jpg or pdf. – Alex Nov 28 '14 at 19:56
  • There is a utility called polygone that can drastically reduce the size of eps graphics in some cases. This question might help. – Ian Thompson Feb 9 '16 at 8:33

It is much faster to with .pdf images instead. I have some very complex figures which take forever to compile. When I generate the .pdf images (note that the figures are usually not frequently modified) and work with pdflatex, the compilation is almost immediate.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.