Hello,
What do you mean exactly?
For instance, we have done a script called pdfscan.rb. It analyzes the structure of a pdf file, once it has been sanitized. We should probably improve this script.
Otherwise, in order to make your own scripts, you can simply "read" a file:
pdf = PDF.read(ARGV[0])
This function will remove all filters put in the objects, thus the complete file will be sanitized. By "sanitize", I mean strange encoding is removed, and filters like /ASCIIHex, LZW compression or even encryption with an empty password.
Is this the information you were looking for?
Regards,
fred