Check if Pdf consists only of images or vectors.
Posted: Mon Nov 27, 2023 12:46 pm
Sometimes customers send their "vectorized" logos as PDFs with images inside them. I would like to automatically check this with pitstop.
From preflight i can check the amount of images, which could be bigger than 1 and cause a warning. But sometimes the logo can consist of both, images and vector paths.
From the action list, i can check if the number of paths on page is less than 1. not vector paths in a pdf = logo must be not vectorized. Although when checking a PDF with only an image inside, it still gives me a warning, that Number of paths is not equal to 0/ less than 1. is it somehow reading the image as a path?
Maybe pitstop is not even the correct tool to check if a logo is vectorized or not, if there exists anything like that.
From preflight i can check the amount of images, which could be bigger than 1 and cause a warning. But sometimes the logo can consist of both, images and vector paths.
From the action list, i can check if the number of paths on page is less than 1. not vector paths in a pdf = logo must be not vectorized. Although when checking a PDF with only an image inside, it still gives me a warning, that Number of paths is not equal to 0/ less than 1. is it somehow reading the image as a path?
Maybe pitstop is not even the correct tool to check if a logo is vectorized or not, if there exists anything like that.