Batch Rasterize PDF
Batch rasterize PDF re-creates the document using images of the pages instead of vector commands. It functions the same as exporting a PDF to images and then re-importing the images into a new PDF. Each document will be handled individually using the chosen settings during the batch process.
How to Rasterize a Batch of PDFs
- On the toolbar bar go to the Batch Tab > Convert To > Rasterize PDF
- Set the options for the batch process. Additional details for each of the settings are available below.
- Set the image format and additional settings
- Using the File List select the files that need to be processed
- Set the destination settings for the processed batch files
- If needed, set any open passwords to be attempted when processing files
- Once all of the settings are complete, click on Start... to begin the batch process.
Batch Rasterize Settings
Page Range
Pages - The range of pages to be rasterized
- All Pages: Rasterizes all the pages of each document
- Page Range: Set the pages to be rasterized using the From and To options
- Even Pages Only: only the even pages
- Odd Pages Only: only the odd pages
Note: When processing the batch Xodo PDF Studio will only rasterize the selected page range if they exist within the PDF. If the pages do not exist no pages will be rasterized. For example, if set to rasterize pages 5-7 and the document only has 3 pages nothing will be rasterized and the document will remain the same.
Compression
Compression - Sets the image format when rasterizing the PDFs. Only images compatible with the PDF format can be chosen.
- JPEG - lossy compression that will reduce image quality and size
- JPEG2000 - less lossy compression that will reduce size and some quality
- FLATE - Lossless compression does not reduce quality but may not always reduce file size
- JBIG2 - Lossless compression that can only support black and white color space. Color images will be converted to black and white. Best for scanned documents with no images
JPEG Quality - This is the quality of JPEG compression. It varies from 0 (very high compression, very low quality), to 10 (low compression, very high quality) based on the quality parameter. Some guidelines for the quality value: 8 high quality, 5 medium quality, 2 low quality.
DPI Resolution - Resolution in DPI used to render the page, 72 is the PDF native resolution.
File List
Add Files - Displays a file chooser to add individual files to the list.
Add Folder - Displays a file chooser that adds the contents of a directory to the list.
Set Default Batch Directory - When checked, all files from the default batch directory will be added to the File List each time a batch dialog is opened.
Include Subfolders - When checked, will include any supported file types found within sub folder of the chosen default batch directory.
- Removes the selected file(s) from the list.
- Moves the selected file(s) up the list.
- Moves the selected file(s) down the list.
- Moves the selected file(s) to the top of the list.
- Moves the selected file(s) to the bottom of the list.
Save Files To
Destination Folder
Use Source Folder - When this option is selected, the original folder for the PDF document (in the batch process) will be used to save the output files.
Destination Folder - This option allows you to set a destination folder to place all of the processed files. You can type the destination manually or click on the "..." button to open a directory chooser to set the destination folder
- Preserve Folder Structure: When checked, the output files will be placed within a new folder (within the specified destination folder) using the file's parent directory name.
File Name Pattern
Use Source Filename - Will save the document using the same original name. If another file exists in the directory, a number will be appended to the output file name, to avoid duplicate file names.
New Filename - When this option is selected, you will need to enter a new filename used for the output files. Each document name will have an incremental counter starting at zero appended to the file name entered in this field. Custom variables may also be used to further distinguish each of the file separations. The available variables are:
- $filename - The file name (no extension) that the document was opened from
- $counter - An automatically incrementing number
- $day - The day of the month
- $month - The current month, using two digits
- $year - The current year, using four digits
- $shortyear - The current year, using two digits
- $second - The current second
- $minute - The current minute
- $hour - The current hour, 1-12
- $ampm - AM or PM
- $longhour - The current hour, 0-23
Overwrite Files - When set, if a file with the same name already exists in the directory it will be overwritten with the newly output document.
Note: This CAN NOT be undone. Make sure that you have all your settings correct prior to starting the batch process
Passwords to try when opening documents
To set a password click in the password field or on the Edit button. Then enter the password you want to be used. Do this for up to four passwords to try on password protected PDFs during the batch process.
Note: The passwords entered here will only be used for this batch process and will not be stored anywhere else. Passwords will have to be entered for each new batch process.