Many people encounter the problem of excessive blank space around images when organizing scans, product images, screenshots, ID photos, or document illustrations. Manually cropping each image one by one is not only time-consuming but also prone to inconsistent cropping results. This article introduces a batch processing method suitable for office scenarios, teaching you how to automatically crop JPG, JPEG, PNG, and other images at once, removing the surrounding blank areas. Using the "Image Effect Enhancement" feature in HeSoft Doc Batch Tool , simply import the images and enable the "Crop Edge Whitespace" option to complete batch processing. The article will combine actual interface steps to explain applicable scenarios, effects before and after processing, specific operation methods, and common considerations, helping you quickly improve image organization efficiency.
In daily office work, it is very common for images to have large blank spaces around them. For example, excessive white margins on scanned documents, uneven edges on product images or ID photos after export, or screenshots saved with extra blank areas can all affect layout, aesthetics, and subsequent use. If there are only a few images, manual cropping might be barely feasible; but when you need to process dozens or hundreds of JPG, JPEG, or PNG images, cropping them one by one is extremely time-consuming.
What this article aims to solve is the problem of batch automatic image trimming to remove surrounding blank areas. By using the batch image processing capability in the office software HeSoft Doc Batch Tool , you can import multiple images at once, enable the "Crop Edge Blank" option, and process them uniformly, greatly reducing repetitive work.
Applicable Scenarios
Batch automatic cropping of white or black edges in images is suitable for the following office and data organization scenarios:
- Scan File Organization: Remove excess white or black borders around scanned paper pages to make them more compact.
- Standardizing Document Images: Trim images uniformly before inserting them into Word, doc, docx, Excel, or PPT for easier layout.
- E-commerce or Product Material Image Organization: Uniformly remove outer blank spaces from product and display images to enhance neatness.
- Batch Screenshot Optimization: Delete useless white space around screenshots to highlight the main content.
- Archival Material Filing: Batch process historical image materials to reduce time spent on manual per-image editing.
If you are dealing with a batch of images with similar formats and obvious edge margins, this batch automatic trimming method is particularly suitable.
Effect Preview: Before and After Processing
Before Processing: There are obvious blank areas around the image, the main content is relatively small, and after inserting it into a document or presentation material, the spacing is unreasonable, requiring further manual adjustment.

After Processing: The software automatically identifies the edge blank spaces and performs cropping, preserving the main image content and making the image boundaries fit the subject more tightly. After batch processing, the visual effect of multiple images is usually neater and more convenient for subsequent insertion into office files like Word, Excel, PowerPoint, and PDF.

For users who frequently organize image materials, the greatest value of batch automatic trimming is not just the ability to "crop," but the capability to process multiple files at once, reducing repetitive clicks.
Operating Steps
Step 1: Enter "Image Effect Enhancement" in the Image Tools
After opening HeSoft Doc Batch Tool , you can see the functional areas categorized by office scenarios on the left, including Word Tools, Excel Tools, PDF Tools, Image Tools, etc. Since this task involves processing image files, you need to first enter the Image Tools category.

In the function list, find and click "Image Effect Enhancement". From the interface prompts, it's clear this function is used to apply various effects to images in batches, such as rotation, opacity, contrast, sharpness, etc. What we will use this time is the Crop Edge Blank feature within it.
Purpose of this step: Enter the function page that supports batch image processing.
Expected Result: The "Image Effect Enhancement" operating interface opens, ready to import the images to be processed.
Step 2: Add JPG and PNG Images That Need Automatic Trimming
After entering the "Image Effect Enhancement" page, the software stays on Step 1 "Select records to process" by default.

In the upper right area of the page, you can see two entry points: "Add File" and "Import Files from Folder".
- If you are only processing a small number of images, you can click "Add File" and manually select a few JPG, JPEG, or PNG images.
- If your images are centrally located in the same folder, it's more suitable to use "Import Files from Folder" to import them in bulk at once, improving efficiency.
After importing, the list will display information such as image name, path, extension, creation time, and modification time, making it easy to confirm that the correct files have been selected.
Purpose of this step: Add all the images that need their blank areas removed to the task list at once.
Expected Result: The images to be processed appear in the record list, ready for further settings in the next step.
Step 3: Enter Processing Options and Enable "Crop Edge Blank"
After adding images, click "Next Step" at the bottom to enter Step 2 "Set processing options".

In the effects list, you can see multiple switchable processing items, for example:
- Rotation Angle (clockwise)
- Crop Edge Blank
- Opacity Level
- Shrink or Enlarge
- Text Clarity (Binarization)
- Brightness
- Contrast
- Sharpness Level
Now, simply turn on the switch in front of "Crop Edge Blank". This item is clearly marked in the screenshot, indicating that this is the key setting for achieving automatic image trimming and removing the surrounding blank area.
Purpose of this step: Tell the software that the specific task for this batch process is to automatically crop the blank edges of the images.
Expected Result: "Crop Edge Blank" is in the enabled state, and the software will process the imported images according to this rule.
Step 4: Proceed to Next Step and Complete Batch Processing
After enabling "Crop Edge Blank", click "Next Step" at the bottom to continue the subsequent process. According to the step prompts at the top of the page, you will go through two more stages: "Set Save Location" and "Start Processing".
That is to say, the standard process is:
- Select records to process
- Set processing options
- Set save location
- Start processing
After following the on-page guidance to completion, the software will output the processed results in a batch. The processed images will have the surrounding blank areas removed, suitable for direct use in archiving, sending, printing, or insertion into other office documents.
Purpose of this step: Execute the batch automatic trimming task and generate the result files.
Expected Result: Obtain new image files with blank white or black edges removed, avoiding manual per-image cropping.
FAQ and Notes
1. Which image formats are suitable for batch automatic trimming?
Based on the article topic and interface scenario, common JPG, JPEG, and PNG images are all suitable for this method. It covers most common screenshots, scanned images, and exported images used in daily office work.
2. Why is it recommended to use "Import Files from Folder"?
If you have a large number of images, adding them one by one is a waste of time. The core value of office software lies in batch processing files, and "Import Files from Folder" is more in line with batch scenarios, especially suitable for organizing batches of image materials at once.
3. What kind of images is automatic trimming suitable for?
It is more suitable for images where the edge blank space is obvious and the subject is clearly distinguished from the background. If the original image itself needs to retain margins, it is recommended to test with a few images first before batch processing to ensure the output meets expectations.
4. Should I check the image list before processing?
It is recommended to check the file name, path, and extension in Step 1 first, and confirm they are correct before proceeding to the next step. This can avoid accidentally including images that do not need processing in the task.
5. What practical benefits does batch cropping bring?
The most direct benefit is time saving. The action originally required repeating "Open—Crop—Save" in an image editor can now be changed to one-time importing, uniform settings, and batch output. For office positions like administration, finance, legal, archives, operations, and design collaboration, this efficiency improvement is very significant.
Summary
When you need to batch automatically trim JPG, JPEG, PNG, and other images to remove the surrounding blank area, there is no need to process them manually one by one. Through the Image Effect Enhancement feature in HeSoft Doc Batch Tool , simply import the images, enable "Crop Edge Blank", and then follow the process to continue saving and processing, you can quickly finish organizing the entire batch of images.
The advantage of this type of office software lies not in processing a single image at a time, but in its ability to execute the same rule for a large number of files, reducing repetitive work and improving standardization and processing efficiency. If you happen to have a batch of scanned pictures, screenshots, or material images that need white or black edges cleaned up, it is recommended to follow the steps in this article directly. Usually, it can complete the task in a few minutes that would otherwise require long periods of manual processing.