mirror of
https://github.com/UglyToad/PdfPig.git
synced 2025-08-20 06:38:07 +08:00
add example image to readme
images make the readme more engaging and gives users an idea of what the output looks like for word and text extraction.
This commit is contained in:
parent
a496daf0ce
commit
16c3322cce
@ -43,6 +43,12 @@ The simplest usage at this stage is to open a document, reading the words from e
|
||||
}
|
||||
}
|
||||
|
||||
An example of the output of this is shown below:
|
||||
|
||||

|
||||
|
||||
Where for the PDF text ("Write something in") shown at the top the 3 words (in pink) are detected and each word contains the individual letters with glyph bounding boxes.
|
||||
|
||||
To create documents use the class ```PdfDocumentBuilder```. The Standard 14 fonts provide a quick way to get started:
|
||||
|
||||
PdfDocumentBuilder builder = new PdfDocumentBuilder();
|
||||
|
BIN
documentation/Letters/example-text-extraction.png
Normal file
BIN
documentation/Letters/example-text-extraction.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 58 KiB |
Loading…
Reference in New Issue
Block a user