Skip to content

Commit 2dad770

Browse files
committed
Update pdf-processing.md
1 parent a793e8c commit 2dad770

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

_articles/extended-usage/pdf-processing.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ description: Dynamic Web TWAIN SDK Documentation Handle PDF Page
99

1010
# Processing PDFs
1111

12-
PDFs are widely used in many and various industries, and presently are the only non-image file type that `Dynamic Web TWAIN` supports. In this next section, we will address all the input and output operations that allow the user to properly handle PDF files.
12+
In this next section, we will address all the input and output operations that allow the user to properly handle PDF files.
1313

1414
## Environment
1515

@@ -29,11 +29,11 @@ To include the PDF addon, simply add a reference to the corresponding JavaScript
2929

3030
### Open an image-only PDF file
3131

32-
When loading in a PDF file, `Dynamic Web TWAIN` tries to extract images from that file, which is why the SDK can handle image-based PDF documents by default.
32+
If the PDF file only has one image per page, it can load the file by extracting the images. Most of the PDF files are scanned documents.
3333

34-
### Open a searchable PDF file
34+
### Open a PDF file with more than images
3535

36-
However, most existing PDF files contain much more than just images. For image-and-text PDF files, we need to make use of the PDF Rasterizer (`PDFR` for short), the main component of the PDF addon.
36+
If the PDF file is not pure image, we need to make use of the PDF Rasterizer (`PDFR` for short) to render the PDF first.
3737

3838
> How PDFR works: As the name suggests, `PDFR` rasterizes a PDF file page by page much like a scanner. You set a resolution, and you get the resulting images in that resolution after the rasterization.
3939
@@ -57,11 +57,11 @@ DWTObject.Addon.PDF.SetReaderOptions({
5757
DWTObject.LoadImageEx("", Dynamsoft.DWT.EnumDWT_ImageType.IT_ALL, onSuccess, onFailure);
5858
```
5959

60-
The method [ `SetReaderOptions()` ](/_articles/info/api/Addon_PDF.md#setreaderoptions) configures how a PDF will be rasterized when being loaded into Dynamic Web TWAIN.
60+
The method [`SetReaderOptions()`](/_articles/info/api/Addon_PDF.md#setreaderoptions) configures how a PDF will be rasterized when being loaded into Dynamic Web TWAIN.
6161

6262
#### Other methods
6363

64-
* [ `GetReaderOptions()` ](/_articles/info/api/Addon_PDF.md#getreaderoptions): This method returns the current [`ReaderOptions`](/_articles/info/api/interfaces.md#readeroptions).
64+
* [`GetReaderOptions()`](/_articles/info/api/Addon_PDF.md#getreaderoptions): This method returns the current [`ReaderOptions`](/_articles/info/api/interfaces.md#readeroptions).
6565

6666
## Output as PDF
6767

0 commit comments

Comments
 (0)