Kurt Pfeifle answered fantastically on the question How can I remove all images from a PDF?.
I have Ghostscript Version 8.71 installed. Unfortunately, I am unable to run any of the command listed below.
gs -o onlyTXT.pdf -sDEVICE=pdfwrite -dFILTERVECTOR -dFILTERIMAGE input.pdf
gs -o onlyIMG.pdf -sDEVICE=pdfwrite -dFILTERVECTOR -dFILTERTEXT input.pdf
gs -o onlyVCT.pdf -sDEVICE=pdfwrite -dFILTERIMAGE -dFILTERTEXT input.pdf
Is version not supporting or anywhere I am wrong?