I have a PDF, in it is raster image and SVGs, I want to keep the SVG and remove the raster image (that raster image appears in every page of the PDF, and the PDF is over 600 pages). After some researching, I found the following code can do the job:
sed-4.7-x64.exe -i "/<defs>/,/<\/defs>/d" MadinaMushaf_compressed.pdf
But the thing is, I don’t know what to do with this code. Where do I put it? Do I need to download any application before using it? I have Windows 10 and Windows 7.
“MadinaMushaf_compressed.pdf” is the name of the PDF that I want to remove the raster image from.