# How reduce resolution of a graph during export?

Suppose I have a density plot which I want to export in EPS format. But when tried using command, Export["/home/1.eps", %263, "EPS"] , the exported image has very large size (~100MB). How can I export the image with a size ~1 MB? Someone kindly help me to solve this problem.

• try the option ImageResolution with different settings in Export, e.g. plot = Plot[{Sin[x], Cos[x]}, {x, 0, 2 Pi}, Filling -> Axis]; Export["plotir20.eps", plot, ImageResolution -> 20]; Export["plotir100.eps", plot, ImageResolution -> 100];? – kglr Aug 25 '19 at 14:02
• If you can, try to export to PDF instead. That applies automatic image compression. – Henrik Schumacher Aug 25 '19 at 14:37
• Thanks for the reply. Your reply solved my problem. – atanu Aug 25 '19 at 17:15
• atanu, posted the comment as an answer. – kglr Aug 25 '19 at 22:37

Use the option ImageResolution in Export:
plot = Plot[{Sin[x], Cos[x]}, {x, 0, 2 Pi}, Filling -> Axis];

Export["plot20.eps", plot, ImageResolution -> 20]