
It seems likely that blank or near-blank areas and reasonably marked areas would produce file sizes that could be readily distinguished by eye in a file listing, without much consideration of the file format.

The Crop function, if it can be used, allows precise positioning of the crop area through the use of pixel dimensions the Canvas resize function as stated above may not allow such precise control.Ĭan the blank and marked areas be separated manually, if necessary? How accurately does the crop area need to be positioned? Note that 'auto-crop' normally refers to the automatic determination of the crop area, for instance to crop white space from around a rectangular area of text by automatically determining the position of the text on the page. However, the crop position is specified in a different way that allows less control.

XnConvert and NConvert also have a Canvas resize function which is in effect a second crop function: that accepts a crop size specified as a percentage of the image dimensions and so could be used to make a similar crop in images with different pixel dimensions provided the aspect ratio is the same. The Crop function in XnConvert and NConvert only accepts crop positions and crop sizes specified in pixels if the images have different pixel dimensions it is unlikely to be possible to use the same settings to crop a batch of images using the Crop function. That may affect the optimum way to handle the cropped images.Īre the pixel dimensions of each image the same?Īre their dimensions identical or near-identical? That requires that the images are all the same shape or aspect ratio, for example 2:1 landscape orientation, so if they aren't the pixel dimensions of the images clearly aren't the same.
XNCONVERT SCRIPT PDF
PDF is a very versatile format and a file can contain bitmap images (as from a camera or scanner), vector graphics (a form of drawing or illustration) and of course text that can be rescaled for optimum viewing, as well as non-visual content.Įdit: In the probably unlikely event that the images held in the files are not bitmaps, they will be converted to bitmaps when they is rasterised at the current dpi setting as the files are opened: the pixel dimensions of the resulting bitmaps may be significant for later processing.ĭoes each PDF file contain a single image?Ī PDF file can of course contain multiple images or pages.Īre the images to be processed colour, grayscale or black and white? The following may help to define the process you wish to implement:ĭo the PDF files to be processed contain bitmap images?
