Add support for PDFs as "clip" input.
Add support for PDFs as "clip" input.