How to Reduce File Size of PDF Version of a Live Script?
Show older comments
I have a live script (*.mlx) file that is about 800 kB. When I "save as PDF", the PDF file is almost 4 MB.
Now, I understand that my Live Script generates several plots, so I think that is why the file size is so bloated.
However, I would like some options to reduce this size. For example, the figures need not be at maximum quality. Also, if it takes less memory to save them as a raster scan (e.g., a *.PNG) instead of a vector graphic (e.g., a *.EPS), I would like to be able to do so. [That's just an example; I just want a means to reduce file size.]
(To answer why I care: the Live Script is part of a deliverable MATLAB toolbox (*.mltbx), and the file size of the package is important. I don't want to add 4 MB unless there's no other choice.)
My backup option is to only deliver the *.MLX file and not the *.PDF (right now we deliver both), but many users like the *.PDF version because it shows the outputs without having to run the code, and it shows what the outputs look like without errors.
Accepted Answer
More Answers (1)
Lilian Smith
on 31 Jul 2019
0 votes
if you want to comoress your pdf , try FoneDog PDF Compressor
Categories
Find more on Live Scripts and Functions in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!