I have a scatterplot which I generated with R, it shows many thousands of overlapping points. I need to graphically annotate the generated PDF further, in PDF format, with Inkscape. However, it is simply not practicable to work with this file as there are too many points (Inkscape crashes, becomes too slow to work with anyway, points are very hard to select etc).
I want to "flatten" the PDF, ie. remove all information that is not shown anyway (points hidden beneath heaps of other points etc).
I still want to retain the vector information, I do not want to rasterize the figure.
This has to be done with freely available tools, and I do not have Acrobat X.
I searched for flattening of PDF in a bash/linux context, however I then find tools concerned with the processing of PDF forms, which is absolutely a different topic.