processing images, pdfs and videos