This article explains how to batch convert multiple OFD files to JPG images and stitch multiple pages from each OFD into a single long image. Ideal for processing OFD files such as electronic invoices, electronic vouchers, government documents, and archived materials. With HeSoft Doc Batch Tool , you can import multiple OFDs at once, set the number of pages to convert and image pixel density, and enable the option to "stitch multiple pages into one long image," eliminating repetitive operations like opening, taking screenshots, and saving individually.
In daily office work, OFD files are becoming more and more common. For example, electronic invoices, electronic vouchers, government receipts, and archived documents may all use the OFD format. The problem is that in many collaboration scenarios, it is not convenient to view OFD directly: some people do not have an OFD reader installed, some platforms only support image formats like JPG and PNG when uploading materials, and some archiving systems prefer to combine a multi-page file into a single long image for easier preview, verification, and forwarding.
If there are only one or two files, you can manage by manually opening the OFD, taking screenshots page by page, and then stitching them into a long image. However, when the number of files reaches dozens or hundreds, this method becomes very time-consuming and prone to problems like missing pages, incorrect order, and inconsistent resolution. This article aims to solve this pain point: using the office software " HeSoft Doc Batch Tool ", batch convert OFD files to JPG images and stitch multiple pages into a single, very long image.
As can be seen from the screenshot, this software is positioned for batch document processing, with categories on the left including Word Tools, Excel Tools, PowerPoint Tools, PDF Tools, Image Tools, More Tools, etc. This tutorial uses the "OFD to JPG Image" function found in "More Tools", focusing on demonstrating how to import multiple OFD files, set the page range, set the image pixel density, and enable the long image stitching option.
Applicable Scenarios: When do you need to convert OFD into a single long image
Batch converting OFD pages into a single JPG long image is suitable for the following types of office needs.
1. Archiving electronic invoices or electronic bills. Many electronic invoices and reimbursement vouchers are provided in OFD format. If the reimbursement system, financial system, or database only accepts image formats, you can first batch convert OFD to JPG. For multi-page OFD files, after enabling long image stitching, each file corresponds to one image, making viewing more intuitive.
2. Sharing government materials, notices, and receipt-type documents. OFD is a fixed-layout file, suitable for formal document preservation, but it is not necessarily easy for the recipient to open. After converting to JPG, it can be viewed directly in chat tools, browsers, mobile photo albums, or web systems.
3. Needing continuous preview of multi-page content. Some OFD files contain multiple pages of material. If exported separately as multiple images, you need to switch back and forth to view them. After stitching multiple pages into a single long image, users only need to scroll down to read the complete content.
4. Batch processing a large number of files. When the number of files is large, the value of batch processing in office software is very obvious. By importing once, applying one set of parameters, and getting a uniform output, you can reduce repetitive work, improve conversion efficiency, and ensure more consistent output image specifications.
Effect Preview: Multiple OFD files before processing, resulting in a JPG long image after processing
Before processing, there are multiple OFD files in the folder, such as 1.ofd, 2.ofd, 3.ofd, 4.ofd. They are all source files that need batch conversion.

After processing, you can see the output results have become JPG images, such as 1.jpg, 2.jpg, 3.jpg, 4.jpg. The first result image presents an obvious vertical long image effect, indicating that the multi-page content has been stitched into the same picture. For multi-page OFD files, this output method makes viewing, sending, and archiving more convenient.

It is important to note that the software will generate corresponding image files based on the imported OFD files. That is to say, batch processing does not merge all OFD files into one master image, but converts each OFD file into a corresponding JPG image according to the settings; when a certain OFD contains multiple pages and long image stitching is enabled, that OFD's pages will be stitched into a single long image.
Operation Steps: Batch stitch OFD file pages into a single JPG long image
Step 1: Enter the "OFD to JPG Image" function
After opening HeSoft Doc Batch Tool , you can see multiple tool categories on the left. According to the screenshot, it is currently under the "More Tools" category, and the main area displays several conversion function cards, including "OFD to PDF", "OFD to JPG Image", "XPS to PDF", etc.
This time we need to convert OFD to JPG images, so click "2. OFD to JPG Image". The description below this function card is "Batch convert OFD files to JPG format images", which aligns with the goal of this tutorial.

The purpose of this step is to enter the correct batch conversion task page. After entering, the software will switch to the dedicated OFD to JPG workflow, where you can subsequently add files, set processing options, set the save location, and start processing.
Step 2: Add the OFD files to be converted
After entering the "OFD to JPG Image" page, you can see buttons like "Add File", "Import Files from Folder", "Clear", "More" at the top. The page flow is divided into four steps: Select Records to Process, Set Processing Options, Set Save Location, and Start Processing.
If you only need to select a few specific files, you can click "Add File"; if many OFD files are concentrated in one folder, it is more suitable to click "Import Files from Folder", which reduces the need for individual selection operations.

From the list in the screenshot, you can see that 4 OFD files have been successfully imported: 1.ofd, 2.ofd, 3.ofd, 4.ofd. The table displays information like serial number, name, path, extension, creation time, modification time, etc., and the summary at the bottom shows a record count of 4. This indicates the files to be processed are ready.
In this step, it is recommended to carefully check the file list to confirm whether it includes all the OFD files that need to be converted. If an import error is found, you can use the delete icon on the right side of each row to remove a single file; if re-selection is needed, you can also use the "Clear" button to clear the current list and re-import.
Step 3: Enter processing options and set the page range
After importing the files, click "Next Step" at the bottom of the page to enter "Set Processing Options". As seen in the screenshot, the processing range offers multiple choices, including "All Pages", "First Few Pages", "Last Few Pages", "Odd Pages", "Even Pages", "Custom", etc.

In the screenshot, the current selection is "First Few Pages", and "2" is filled in the "Range" input box, meaning only the first 2 pages of each OFD file will be processed. This setting is suitable for situations where you only need to export the file's first page, the first two pages of a summary, or the main pages of an invoice.
If you want to convert all pages of the OFD into a long image, you should select "All Pages". If you only need the last few pages, you can select "Last Few Pages"; if you have special page number requirements, you can set them using the "Custom" option provided in the interface. The page range determines the content that ultimately participates in conversion and stitching, so this is a very critical step before outputting a long image.
Step 4: Set the image pixel density (PPI)
On the same processing options page, you can see the "Image Pixel Density (PPI)" setting, which is filled as 300 in the screenshot. PPI will affect the clarity and file size of the output JPG image. Generally, the higher the value, the clearer the image, but the generated file may also be larger; with a lower value, the image size is smaller, but details like text, seals, and QR codes may not be clear enough.
For OFD files like invoices, certificates, contracts, and receipts where text and seals need to be legible, 300 PPI is a common choice. It offers a good balance between clarity and file size. If it is only for quick preview, you can reduce it appropriately; if it is for printing or long-term archiving, you can maintain a higher pixel density based on actual requirements.
Step 5: Enable "Stitch multiple pages into one very long image"
The core setting of this tutorial is here. At the bottom of the screenshot, there is an option: "Stitch multiple pages into one very long image", with a toggle button next to it. After enabling this switch, multiple pages within the page range of the same OFD file will be stitched into a single, vertical long image.
For example, if an OFD has 2 pages and the page range is set to the first 2 pages, after enabling long image stitching, the output result will be 1 single JPG long image, not 2 separate JPG images. This way, you don't need to switch images when viewing, making it suitable for sending to others for quick verification, or uploading to systems that only allow single images.
If this option is not enabled, the software typically outputs images page by page; once enabled, the key point is "multiple pages into one". Therefore, if your goal is to convert multi-page OFD into one long image, make sure this switch is turned on.
Step 6: Set the save location and start processing
After setting the processing options, click "Next Step" and follow the page flow to enter "Set Save Location". This is used to specify where the converted JPG images will be saved. It is recommended to choose an easily identifiable output folder, such as creating a new "JPG Long Image Output" folder next to the original OFD folder, for easy subsequent checking.
After setting the save location, proceed to the "Start Processing" step. The software will batch execute the OFD to JPG conversion based on the previously imported file list and processing options. After the processing is complete, check the results in the save directory; you should see JPG images corresponding to the source files.
Combined with the effect image, the 1.ofd, 2.ofd, 3.ofd, 4.ofd before processing ultimately generated 1.jpg, 2.jpg, 3.jpg, 4.jpg. For multi-page files, after enabling stitching, you will get a vertical long image effect.
Frequently Asked Questions and Considerations
1. Why is the output JPG instead of PNG or PDF?
The function name used in this tutorial is "OFD to JPG Image", and the screenshot also clearly shows that this function is used for batch converting OFD files to JPG format images. Therefore, this article's explanation focuses on JPG output. If you need other formats, you should look for the corresponding function in the software, but do not mistakenly think that the current function will directly output PDF or PNG.
2. Does selecting "First Few Pages" affect the content of the long image?
Yes, it does. Long image stitching only stitches the pages included in the processing range. The screenshot selected the first 2 pages, so the final long image only contains the first 2 pages of each OFD. If you want to convert all pages, you need to select "All Pages".
3. Is a higher PPI setting always better?
Not necessarily. The higher the PPI, the better the clarity usually is, but the file size will also increase. For OFD files with a lot of text, seals, and QR codes, it is recommended to use around 300 PPI; if only for online preview, you can adjust it based on the actual situation.
4. What should be checked before batch conversion?
It is recommended to check three points: first, whether the file list is complete; second, whether the page range meets the requirements; third, whether "Stitch multiple pages into one very long image" has been enabled. These three items will directly affect the final output result.
Summary
Through HeSoft Doc Batch Tool , you can batch convert multiple OFD files into JPG images, and enable "Stitch multiple pages into one very long image" in the processing options, achieving the effect of converting multi-page OFD into a single long image. Compared to manual screenshotting and stitching, this method is more suitable for batch tasks in office scenarios, capable of reducing repetitive operations, lowering error probability, and unifying the output image specification.
If you frequently handle electronic invoices, government documents, electronic vouchers, or archived materials, it is suggested to standardize this set of processes: enter the "OFD to JPG Image" function, batch import OFD, set page range and PPI, enable long image stitching, set the save location, and start processing. This way, you can quickly obtain clear, continuous JPG long images that are easy to view and share.