How to Batch Convert OFD Electronic Invoices and Vouchers into a Single JPG Long Image


TranslationEnglishFrançaisDeutschEspañol日本語한국어Update Time2026-05-30 09:26:50

Disclaimer: All images, text, and video content on the website are for reference only and may not be the latest, correct, or accurate. In case of any dispute, please refer to the actual experience effect!

Many electronic invoices, electronic vouchers, and archived materials use the OFD format, which is not as convenient as JPG images for viewing and uploading. This article takes HeSoft Doc Batch Tool as an example to explain how to batch import multiple OFD files, use the "OFD to JPG Image" feature, set the conversion pages and PPI clarity, and enable "Stitch multiple pages into one long image", thereby converting multi-page OFDs into JPG long images that are easy to send, upload, and preview.

Electronic invoices, electronic receipts, bank statements, contract attachments, official documents, and other materials are often saved in OFD format. The advantage of OFD is its stable layout, which is suitable for electronic document exchange and archiving. However, in practical office work, many people prefer to obtain JPG images: on one hand, images are easier to preview on computers and mobile phones; on the other hand, many reimbursement systems, business platforms, and customer data systems only accept image formats for uploading.

If there is only one OFD file, manual conversion might be acceptable; but when a folder contains multiple .ofd files, or even if each OFD has multiple pages, opening them one by one, exporting page by page, and then stitching them into a long image is very inefficient. This article will combine operation screenshots to introduce how to use the office software " HeSoft Doc Batch Tool " to batch convert OFD files to JPG and stitch multiple pages into one long image, helping users reduce repetitive work.

Applicable Scenarios: What Office Problems Can OFD to JPG Long Image Conversion Solve

"Batch OFD to JPG long image" is not just a simple format conversion; it primarily addresses file circulation and batch processing efficiency issues. The following scenarios are all suitable:

  • Reimbursement material organization: Electronic invoices are in OFD format, but the reimbursement system requires uploading JPG images. They can be batch-converted and then submitted.
  • Combined voucher viewing: An OFD file contains multiple pages of vouchers. Converting them to a long image allows for continuous top-to-bottom viewing.
  • Sending customer materials: When customers or colleagues cannot easily open OFD files, sending JPG long images offers better compatibility.
  • Archive previewing: After converting OFD to images, you can quickly preview thumbnails in folders, facilitating subsequent organization.
  • Batch conversion tasks: When facing batches of files like 1.ofd, 2.ofd, 3.ofd, 4.ofd, using a batch processing tool is more stable than manual operation.

Unlike the common "Export as Image" function, this article focuses on the option to "stitch multiple pages into one long image." This option reduces the number of images, lowers the risk of missing pages, and better aligns with the long-image reading habits on mobile devices.

Effect Preview: From OFD Files to JPG Long Images

Before Processing: Multiple OFD Files to be Processed in the Folder

The pre-processing screenshot shows 4 OFD files, named 1.ofd, 2.ofd, 3.ofd, and 4.ofd respectively. They are all source files awaiting conversion. For such batch files, manual processing one by one requires repeating steps like opening the file, choosing export, setting the format, and saving the image.

image-OFD electronic invoice to image,OFD to JPG,batch generate long JPG images

When the number of OFD files increases, manual processing is also prone to problems, such as missing a file conversion, saving files with wrong names, mixing up page order, or inconsistent image clarity. Therefore, in office scenarios, using a tool that supports batch processing is more reliable.

After Processing: Corresponding JPG Images Generated, Pages Can be Stitched Vertically

The post-processing screenshot shows that the original OFD files have been output as JPG images, with corresponding file names 1.jpg, 2.jpg, 3.jpg, and 4.jpg. The 1.jpg on the left clearly displays a long image format, showing multiple page contents arranged vertically within a single image, which is precisely the effect of "stitching multiple pages into one long image."

image-OFD electronic invoice to image,OFD to JPG,batch generate long JPG images

This result is very user-friendly for subsequent use: you only need to select the corresponding JPG file for uploading; when sending to others, the recipient does not need to install an OFD reader; and when viewing, there's no need to switch back and forth between multiple images. For electronic invoices, vouchers, and attachment-type materials, the long image format is often more intuitive.

Operation Steps: Using Office Software to Batch Generate OFD Long Images

Step 1: Enter "More Tools" and Select OFD to JPG Image Conversion

After opening HeSoft Doc Batch Tool , you can see categories like "Home, Task Flow, All Tools, File Name, Folder Name, File Organization, Word Tools, Excel Tools, PowerPoint Tools, PDF Tools, Text Tools, Image Tools, Video Tools, Audio Tools, More Tools" in the left navigation bar. In the screenshot, the current location is "More Tools," and the highlighted function card is "OFD to JPG Image."

image-OFD electronic invoice to image,OFD to JPG,batch generate long JPG images

The purpose of this step is to find the correct conversion entry. The interface simultaneously displays functions like "OFD to PDF," "XPS to PDF," "CAD to PDF." If the goal is to output OFD as JPG images, you should select "OFD to JPG Image." The function description in the screenshot is "Batch convert OFD files to JPG format images," which matches the requirements of this article.

After selecting this function, the software enters the corresponding processing flow. For batch office software, the process-oriented operation allows users to import files first, then set parameters, and finally execute uniformly, avoiding repeated setup for each file.

Step 2: Add OFD Files and Confirm the Records to be Processed

After entering the function page, the top displays the current module name "OFD to JPG Image." Buttons like "Add Files," "Import Files from Folder," "Clear," and "More" are in the upper right corner. Normally, if there are few files, you can click "Add Files"; if many OFD files are stored centrally in one folder, using "Import Files from Folder" is more suitable for batch processing.

image-OFD electronic invoice to image,OFD to JPG,batch generate long JPG images

In the screenshot, 4 files have been imported, and the table lists the serial number, name, path, extension, creation time, modification time, and actions. The file paths are all under the D:\test\ directory, with the extension .ofd. The "Summary" section at the bottom shows a record count of 4, indicating that the current task will process 4 OFD files.

Before clicking "Next," it is recommended to do a quick check:

  • Confirm that all OFD files needing conversion appear in the list.
  • Confirm that no unnecessary files were added by mistake.
  • Check the file paths to avoid processing files with the same name in other directories.
  • If you need to remove a file, use the delete action on the right side of that row.

Although this step is simple, it is very important for batch tasks. Once you proceed to subsequent steps, settings are usually applied to the entire list, so the more accurate the initial file list, the lower the probability of rework later.

Step 3: Choose Page Processing Range, Decide Which Pages Participate in the Conversion

After clicking "Next," you enter the "Set Processing Options" interface. Here you first need to set the "Processing Range." As seen in the screenshot, the selectable ranges include "All Pages," "First Few Pages," "Last Few Pages," "Odd Pages," "Even Pages," and "Custom." The current example selects "First Few Pages" and fills in 2 in the range input box.

image-OFD electronic invoice to image,OFD to JPG,batch generate long JPG images

This setting means: for each imported OFD file, only the first 2 pages are converted. If an OFD file itself has only 1 page, typically only its existing page will be output; if it has multiple pages, it will take the first 2 pages for conversion according to the setting.

When choosing the page range, you can decide based on your business goals:

  • Complete preservation: Select "All Pages," suitable for archiving, full backup, and complete submission.
  • Only the first or first few pages: Select "First Few Pages," suitable for invoice front pages, voucher cover pages, and cover materials.
  • Only the content of the last pages: Select "Last Few Pages," suitable for signature pages, seal/stamp pages, and conclusion pages.
  • Processing by page number rules: Select "Odd Pages" or "Even Pages," suitable for special splitting needs.
  • Specify a range: Select "Custom," suitable for converting only specific pages.

If your core goal is to generate a long image containing multiple pages, the page range cannot be set to a single page. You should select "All Pages," or, like the example, select "First Few Pages" and fill in 2, 3, or more pages.

Step 4: Set Image Pixel Density (PPI), Balancing Clarity and File Size

Below the page range, you can set the "Image Pixel Density (PPI)." The value in the screenshot is 300. PPI affects the clarity and file size of the image. For materials like electronic invoices, contracts, and vouchers that contain small text, tables, QR codes, and seals, a PPI that is too low may result in unclear details when zoomed in; a PPI that is too high may make the file size too large.

In general office scenarios, 300 PPI is a common choice, suitable for balancing clarity and file size. If the output is intended for printing or auditing later, maintaining higher clarity is recommended; if it's just for quick preview by a colleague, you can choose a more appropriate value based on the actual situation.

Before batch conversion, it is recommended to test convert 1 or 2 OFD files first to check if the text, QR codes, and seals in the output JPG are clear. If the results meet the requirements, then process more files in batch, which can avoid generating a large number of unsatisfactory images at once.

Step 5: Enable Long Image Stitching, Combine Multiple OFD Pages into One Image

The bottom of the screenshot shows a key option: "Stitch multiple pages into one long image." This is the core switch for converting multi-page OFD files into a long image. When enabled, the selected multiple pages within the same OFD file will be stitched sequentially into one JPG image, forming a vertical long image.

For example, if the current page range is set to "First Few Pages" with a range of 2, and long image stitching is also enabled, then for an OFD file containing at least 2 pages, the software will stitch the content of the first 2 pages into one long JPG, instead of generating two separate images. The 1.jpg in the post-processing screenshot demonstrates this long image effect.

A crucial distinction to make here: long image stitching typically refers to stitching "multiple pages within the same OFD file," not merging the four separate files 1.ofd, 2.ofd, 3.ofd, and 4.ofd into a single image. The processing results usually generate corresponding JPG files for each source file, facilitating one-to-one correspondence and subsequent management.

Step 6: Proceed to Next Step, Set Save Location and Start Processing

After completing the page range, PPI, and long image stitching settings, click the "Next" button at the bottom. As seen in the interface flow, the subsequent steps include "Set Save Location" and "Start Processing." For the save location, it is recommended to select a dedicated output folder, such as "OFD to JPG Results" or a folder named by date, to avoid mixing the converted JPGs with the original OFDs.

After setting the save location and starting the process, the software will execute the conversion in batch according to the previously configured rules. After completion, you can enter the output folder to check the results, confirming the number of JPG files, the correspondence of file names, and whether the clarity of the long images meets requirements.

Common Questions or Precautions

1. Will the original files be overwritten after converting OFD to JPG?

Looking at the operation flow, OFD files are imported as records to be processed, and JPG images are generated after conversion. For clearer file management, it is suggested to set the output directory as a separate folder. This way, the original OFD files and the converted JPGs can be stored separately, facilitating subsequent verification.

2. Why are some images not long images after processing?

If an OFD file itself only has 1 page, even if long image stitching is enabled, you can only get a single-page image; if the page range is set to only 1 page, a noticeable long image won't be formed. To get a long image, the source file must have multiple pages, the processing range must include multiple pages, and "Stitch multiple pages into one long image" must be enabled.

3. Are JPG long images suitable for uploading to all systems?

Most systems support JPG, but different systems may have their own limitations on image size, width, height, or file volume. If the long image has many pages and the PPI is high, the file might be relatively large. When encountering upload restrictions, you can reduce the number of converted pages, or adjust the PPI according to the requirements.

4. Is the file order important during batch import?

For the conversion task where "each OFD outputs a corresponding JPG," the file order usually does not affect the stitching result of pages within a single file. However, for easier verification, it is recommended to keep the source file naming clear, such as naming by 1.ofd, 2.ofd, or by date and number.

5. What should be noted when converting electronic invoices to images?

Electronic invoices commonly contain QR codes, invoice numbers, amounts, buyer information, seller information, and electronic seals. After conversion, check whether these critical pieces of information are clear and readable. If used for reimbursement or archiving, it is recommended not to set the PPI too low.

Summary: Batch OFD to JPG Long Image Conversion Makes File Circulation More Time-Efficient

Converting OFD electronic invoices, vouchers, or multi-page documents to JPG long images can significantly improve the convenience of file viewing, uploading, forwarding, and archiving. With HeSoft Doc Batch Tool , users can batch add .ofd files in the "OFD to JPG Image" function, uniformly set the page range and PPI, and enable "Stitch multiple pages into one long image," thereby quickly generating corresponding JPG long images.

The core value of this method lies in batch processing: no need to open OFD files one by one, and no need for page-by-page screenshots or manual image stitching. For office workers who frequently handle electronic invoices, contract attachments, voucher materials, and archived documents, establishing a fixed processing workflow according to the steps in this article can significantly reduce repetitive work. It is recommended to test the output effect with a few files first, confirming that the page range, clarity, and long image style meet requirements before batch processing the OFD files in the complete folder.


KeywordOFD electronic invoice to image , OFD to JPG , batch generate long JPG images
Creation Time2026-05-30 09:26:29

Disclaimer: All images, text, and video content on the website are for reference only and may not be the latest, correct, or accurate. In case of any dispute, please refer to the actual experience effect!

Related Articles

Don't see the feature you want?

Provide us with your feedback, and after evaluation, we will implement it for free!