Files
docling-core/test/data/doc/constructed_doc.embedded.md.gt
Max SwainandChristoph Auer ab3666c081 perf: Use OpenCV over PIL for PNG encoding in ImageRef.from_pil (#562)
* perf: Use OpenCV over PIL for PNG encoding

Signed-off-by: Max Swain <89113255+maxdswain@users.noreply.github.com>

* refactor: Make opencv optional and add fallback to PIL

Signed-off-by: Max Swain <89113255+maxdswain@users.noreply.github.com>

* refactor: Update opencv dependency to use dev group

Signed-off-by: Max Swain <89113255+maxdswain@users.noreply.github.com>

* Fix RGBA vs RGB handling in openCV

Signed-off-by: Christoph Auer <cau@zurich.ibm.com>

* Update test GT

Signed-off-by: Christoph Auer <cau@zurich.ibm.com>

* empty commit to trigger DCO

Signed-off-by: Christoph Auer <cau@zurich.ibm.com>

---------

Signed-off-by: Max Swain <89113255+maxdswain@users.noreply.github.com>
Signed-off-by: Christoph Auer <cau@zurich.ibm.com>
Co-authored-by: Christoph Auer <cau@zurich.ibm.com>
2026-06-17 16:44:14 +02:00

78 lines
1.8 KiB
Plaintext
Vendored

- item of leading list
# Title of the Document
Author 1
Affiliation 1
Author 2
Affiliation 2
## 1. Introduction
This paper introduces the biggest invention ever made. ...
- list item 1
- list item 2
- list item 3
1. list item 3.a
2. list item 3.b
3. list item 3.c
1. list item 3.c.i
- list item 4
This is the caption of table 1.
| Product | Years | Years |
|-----------|---------|---------|
| Product | 2016 | 2017 |
| Apple | 49823 | 695944 |
This is the caption of figure 1.
<!-- 🖼️❌ Image not available. Please use `PdfPipelineOptions(generate_picture_images=True)` -->
This is the caption of figure 2.
![Image](data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAIAAAAlC+aJAAAAdElEQVRoBdXBAQEAAABAIP6ftkPJnMzJnMzJnMzJnMzJnMzJnMzJnMzJnMzJnMzJnMzJnMzJnMzJnMzJnMzJnMzJnMzJnMzJnMzJnMzJnMzJnMzJnMzJnMzJnMzJnMzJnMzJnMzJnMzJnMzJnMzJnMzJnMwFULoAQbykEYoAAAAASUVORK5CYII=)
- item 1 of list
* item 1 of list after empty list
- item 2 of list after empty list
- item 1 of neighboring list
- item 2 of neighboring list
- item 1 of sub list
- Here a code snippet: `print("Hello world")` (to be displayed inline)
- Here a formula: $E=mc^2$ (to be displayed inline)
Here a code block:
```
print("Hello world")
```
Here a formula block:
$$E=mc^2$$
<!-- missing-key-value-item -->
<!-- missing-form-item -->
Some formatting chops: **bold** *italic* underline ~~strikethrough~~ subscript superscript [hyperlink](.) &amp; [~~***everything at the same time.***~~](https://github.com/DS4SD/docling)
- (i) Item 1 in A
- (ii) Item 2 in A
- (iii) Item 3 in A
1. Item 1 in B
42. Item 2 in B
1. Item 1 in C
2. Item 2 in C
3. Item 3 in B
- (iv) Item 4 in A
- List item without parent list group
The end.