How could I distribute PDF files based on the logo mark embedded inside each PDF file?
I have a set of PDF files, and they are from multiple customers. All PDF files have a logo in the first page, but the location of the logo varies from PDF to PDF.
Say, we have 3 different customers, and each of the PDF files is from one of the 3 customers. Needless to say, different customer means different logo.
I also have 3 folders (customerA, customerB, and customerC folders), and I want to distribute each PDF file into one of those folders based on the logo inside each PDF file, because each PDF file is named randomly, and the format of the content varies each time, so using the logo seems to be the only way to find which PDF is from which customer.
How could I do this? Image comparison, and distribution? Is there a way to save 3 images (a logo from each of the 3 customers), and check inside PDF to see which image matches the logo inside the PDF?