You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _articles/extended-usage/pdf-processing.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ description: Dynamic Web TWAIN SDK Documentation Handle PDF Page
9
9
10
10
# Processing PDFs
11
11
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.
13
13
14
14
## Environment
15
15
@@ -29,11 +29,11 @@ To include the PDF addon, simply add a reference to the corresponding JavaScript
29
29
30
30
### Open an image-only PDF file
31
31
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.
33
33
34
-
### Open a searchable PDF file
34
+
### Open a PDF file with more than images
35
35
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.
37
37
38
38
> 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.
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.
61
61
62
62
#### Other methods
63
63
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).
0 commit comments