• Contact
  • Company
  • Login / My Account
  • Shopping Cart (0)
Document Conversion Made Easy!
Peernet Menu
  • Products
      • Virtual Printers
        • tiff-image-printer-iconTIFF Image Printer – Create TIFF Images
        • raster-image-printer-iconRaster Image Printer – Create TIFF, PDF, JPEG, etc.
        • pdf-image-printer-iconPDF Image Printer – Create Searchable PDF
      • PDF Editor
        • pdf-creator-plus-iconPDF Creator Plus – Merge, Edit, Create Searchable PDF
      • Batch Converters
        • document-conversion-service-iconDocument Conversion Service – Unattended 24/7 Batch Converter
        • file-conversion-center-iconFile Conversion Center – Desktop Batch Converter
      • Reporting Software
        • peernet-reports-iconPEERNET Reports – Barcode, Report and Label Software
      • enterprise-licensingEnterprise Licensing for your Corporation
      • discounts-multiple-licensesDiscounts for Purchasing Multiple Licenses
      • distribute-bundle-peernet-softwareDistribute PEERNET Software Bundled with your Product
  • Purchase
      • Purchase Virtual Printers
        • tiff-image-printer-iconTIFF Image Printer – Create TIFF Images
        • raster-image-printer-iconRaster Image Printer – Create TIFF, PDF, JPEG etc.
        • pdf-image-printer-iconPDF Image Printer – Create Searchable PDF
      • Purchase PDF Editor
        • pdf-creator-plus-iconPDF Creator Plus – Merge, Edit, Create Searchable PDF
      • Purchase Batch Converters
        • document-conversion-service-iconDocument Conversion Service – Unattended 24/7 Batch Converter
        • file-conversion-center-iconFile Conversion Center – Desktop Batch Converter
      • Purchase Reporting Software
        • peernet-reports-iconPEERNET Reports – Barcode, Report and Label Software
      • peernet-online-store-purchase-optionsPurchase Options
      • peernet-software-license-levelsLicense Levels
      • peernet-software-purchase-resellerFind Resellers
      • peernet-software-sales-faqsSales FAQ
  • Learn & Support
        • peernet-help-centerTutorials
          • Learn the Basics or Go Beyond with Video Tutorials, FAQs and Guides

            At PEERNET we pride ourselves on providing the best support and the fastest response times in the industry.
          • Select Software Tutorials:
              • tiff-image-printer-iconTIFF Image Printer
              • raster-image-printer-iconRaster Image Printer
              • pdf-image-printer-iconPDF Image Printer
              • pdf-creator-plus-iconPDF Creator Plus
              • document-conversion-service-iconDocument Conversion Service
              • file-conversion-center-iconFile Conversion Center
              • peernet-reports-iconPEERNET Reports
        • peernet-software-faqsSales FAQ
          • Popular Topics

            Find all the answers you need to our most frequently asked questions.
              • Download & Install
                • How do I download software I already purchased?
              • Purchasing & Renewing
                • How do I purchase PEERNET software?
                • What license level do I need?
                • How do I add licenses to an existing serial number?
                • How do I renew my annual subscription?
              • Licensing & Operating
                • How do I activate my new PEERNET software?
                • How do I activate my software without an internet connection?
                • Where do I find my serial number?
                • How do I move my software to a new computer?
                • How do I update/upgrade my software to the latest release?
            • Read all Sales FAQs
  • Blog
  • Menu Menu
Document Management System - Image Conversion to TIFF

Batch Converting Thousands of Files to TIFF with Document Conversion Service

May 2, 2014/by Robert Massart

A customer came to us recently with 50,000 files of various formats that they needed to convert to TIFF images. The files were all contained in a single folder and the client wanted a “fire-and-forget” solution.

The answer was to use Document Conversion Service and the included Watch Folder service to convert the entire folder of files, saving the new TIFF images in another folder with the same directory structure.

The Challenge of Converting Thousands of Files at Once

The initial configuration for the Watch Folder service is for use as a hot folder or drop folder where small groups of files are dropped periodically into the input folder to be processed. When files are detected, whether 1 or 100, or more, of them, they are all moved to a staging folder to be processed. When dealing with extremely large number of files this can cause large time delays as the files are moved, and other issues such as not having enough disk space to copy the files.

The Solution

We can change the Watch Folder configuration to limit how many files are picked up at a time, and to wait until the first mini-batch of files is complete before picking up the next batch of files. This allows us to continuously work our way through the entire contents of the folder a bit at a time until it is complete.

We also need to turn off the use of date-time subfolders in both the Completed and the Failed folders. The default configuration is to save each set of completed files in a subfolder named using the date and time the files where picked up; in this case we don’t want this behavior as we would get a new folder for each mini-batch that gets picked up.

Best Practices

  • Always have the Watch Folder service work from a copy of your input data, or keep a backup of the original data whenever possible. If this is not possible, leave Watch Folder configured to keep the input files in its Completed folder.
  • When setting the location where you are saving the new files, make sure you will have enough hard disk space to store all of the output files.

Step-by-Step

Open the Watch Folder configuration file by going to Start – All Programs – PEERNET Document Conversion Service 2.0 – Watch Folder – Configure Watch Folder Settings.

In the Watch Folder section, make the following changes:

  1. Set the InputFolder to point to your copy of the folder of files to be converted and the OutputFolder to where you want to save the converted files. Remember, the OutputFolder is where all of the converted files are going so you need to make sure this location has enough space.
  2. Set the FailedFolder to where you want to store any files that fail to convert.
  3. If you need the Watch Folder service to keep a copy of your input data, set the CompletedFolder location. As this is where all of the files from the InputFolder will eventually be copied to as they are converted, make sure you have enough disk space to hold a complete copy of your input folder. If you do not need to keep your input files, set the CompletedFolder to an empty string.
  4. Set the StagingFolder and WorkingFolder locations – these folders hold the input files and output files temporarily while they are being converted.
  5. The settings Polling.MaxFilesToProcessAtATime and Polling.SynchronousFilePickup are used to control how many files are picked up at every polling interval, and if the first batch of files needs to complete before the next group is picked up.
    1. Set Polling.MaxFilesToProcessAtATime to the number of files you want the service to pick up each time.
    2. Set Polling.SynchronousFilePickup to true to have the service wait for the first mini-batch to complete before picking up new files.
  6. To turn off the use of the date-time subfolder for each batch of files, set UseTimeDateSubFoldersInCompletedFolder and UseTimeDateSubFoldersInFailedFolder to false.
  7. The last setting to change, and this is optional depending on your requirements, is to control how the output files are named. You may want to change the setting <add Name ="Save;Remove filename extension" Value ="1"/> to make sure that the file extension from the original source file is not used to name the output file. This means that the output file from a file named Test.docx would become Test.tif. If this settings is not included, or is set to “0”, the output file name would be Test.docx.tif.
  8. Save the Watch Folder configuration file.
  9. Start the Document Conversion Service and then the Watch Folder Service.
  10. The Watch Folder service will now start processing files from your input folder. Only the number of files you set for Polling.MaxFilesToProcessAtATime will be picked up at a time and then processed, until all files in the folder have been converted.
<!-- Process Large Number of Files In Batches -->
<WatchFolder Name="Batch Process Large Folder of Files">
   <Settings>
        <!-- Folder options -->
        <add Name="InputFolder" Value="D:\ArchivedDocuments\Input"/>
        <add Name="SearchFilter" Value="*.*"/>
        <add Name="IncludeSubFolders" Value="True"/>
        <add Name="DeleteInputSubFolders" Value="True"/>

        <add Name="StagingFolder" Value="C:\PEERNET\WatchFolder\Staging"/> 
        <add Name="WorkingFolder" Value="C:\PEERNET\WatchFolder\Working"/> 
        <add Name="FailedFolder" Value="D:\ConvertedArchivedDocuments\Failed"/>

        <!-- Set Completed Folder if we want to keep the Input Files -->
        <add Name="CompletedFolder" Value="D:\ConvertedArchivedDocuments\Completed"/>        
        <!-- Set Completed Folder to empty to not keep the Input Files -->
        <!-- <add Name="CompletedFolder" Value=""/> -->

        <add Name="OutputFolder" Value="C:\Company\Sales\Output"/>

        <add Name="PollingInterval" Value="15000"/>
        <add Name="DCOMComputerName" Value="localhost"/>
        <add Name="TestMode" Value="false"/>
        <add Name="NormalizeFilenames" Value="false"/>

        <!-- 0 means no limit>
        <add Name="Polling.MaxFilesToProcessAtATime" Value="10"/>
        <add Name="Polling.SynchronousFilesPickup" Value="true"/>

        <add Name="UseTimeDateSubFoldersInCompleteFolder" Value="false"/>
        <add Name="UseTimeDateSubFoldersInFailedFolder" Value="false"/>

        <!-- Output file options -->
        <add Name="Devmode settings;Resolution" Value="300"/>
        <add Name="Save;Output File Format" Value="TIFF Multipaged"/>
        <add Name="Save;Append" Value="0"/>
        <add Name="Save;Color reduction" Value="Optimal"/>
        <add Name="Save;Dithering method" Value="Halftone"/>
        <add Name="Save;Remove filename extension" Value="1" />
        <add Name="TIFF File Format;BW compression" Value="Group4"/>
        <add Name="TIFF File Format;Color compression" Value="LZW RGB"/>
        <add Name="TIFF File Format;Indexed compression" Value="LZW"/>
        <add Name="TIFF File Format;Greyscale compression" Value="LZW"/>
        <add Name="JPEG File Format;Color compression" Value="Medium Quality"/>
        <add Name="JPEG File Format;Greyscale compression" Value="High Quality"/>
        <add Name="Image Options;Fill order" Value="MSB2LSB"/>
        <add Name="Image Options;Fax" Value="0"/>
        <add Name="Image Options;Fax Profile" Value="0"/>
        <add Name="Image Options;Fax Resolution" Value="4"/>
        <add Name="Processing;Rotate landscape" Value="0"/>
    </Settings>
</WatchFolder>

Learn more about our document conversion service software for batching converting various file types to popular image formats like TIFF, JPG, and PDF. Or if you’re looking for slightly smaller scale conversions specifically to TIFF, try our PDF to TIFF Converter – the TIFF Image Printer.

https://www.peernet.com/wp-content/uploads/document-management-system-image-conversion.png 432 1000 Robert Massart https://www.peernet.com/wp-content/uploads/peernet-logo.png Robert Massart2014-05-02 10:38:152019-07-16 14:47:56Batch Converting Thousands of Files to TIFF with Document Conversion Service
  • Document Conversion Service
  • TIFF Image Printer
  • Raster Image Printer
  • PDF Image Printer
  • PDF Creator Plus
  • File Conversion Center
  • PEERNET Reports
Search Search

Recent Posts

  • PNSrv11Lib to PNSrv12Lib: Migration Made Easy
  • Migrating to Version 12: Compatibility Mode Quick Start Guide
  • Well Logs: Stitch PDF Pages into a Continuous TIFF Image
  • Dynamic Stamp Content
  • Convert to PDF: The Power of On-Premise PDF Creation

INTERESTING LINKS

Below are some interesting links for you! Enjoy your stay :)

RSS Feed Logo RSS Feed Logo Subscribeto RSS Feed

OUR PRODUCTS

  • Document Conversion Service
  • TIFF Image Printer
  • Raster Image Printer
  • PDF Image Printer
  • PDF Creator Plus
  • File Conversion Center
  • PEERNET Reports

LATEST NEWS

  • PNSrv11Lib to PNSrv12Lib: Migration Made EasyMarch 14, 2025 - 2:10 pm
  • Migrating to Version 12: Compatibility Mode Quick Start GuideMarch 14, 2025 - 2:09 pm
  • Well Logs: Stitch PDF Pages into a Continuous TIFF ImageMarch 14, 2025 - 2:08 pm
  • Dynamic Stamp ContentNovember 4, 2024 - 4:47 pm

BUSINESS INFORMATION

Toll Free: 1-800-883-7980 North America

Tel: 1-613-224-6894

Our office hours are Monday to Friday, from 0900 hrs to 1700 hrs, Eastern Standard Time.

Email Address: [email protected]
Copyright © 1997-2026. All rights reserved. Terms and Conditions | Disclaimer | Privacy Policy | Trademarks.
PEERNET® is a registered trademark of PEERNET Inc.
  • Link to Youtube
  • Link to Rss this site
  • Products
  • Purchase
  • Company
  • Contact
Link to: Creating High Quality TIFF Images from a PDF File Link to: Creating High Quality TIFF Images from a PDF File Creating High Quality TIFF Images from a PDF File Link to: Converting Excel Charts To TIFF Images Link to: Converting Excel Charts To TIFF Images Excel to TIFFConverting Excel Charts To TIFF Images
Scroll to top Scroll to top Scroll to top