# PDF file cut out

**URL:** <https://discourse.nodered.org/t/pdf-file-cut-out/58906>\
**Category:** General\
**Created:** [24 February 2022 06:48 UTC](https://discourse.nodered.org/t/pdf-file-cut-out/58906 "2022-02-24T06:48:51Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![madmax](https://avatars.discourse-cdn.com/v4/letter/m/8baadc/32.png) [@madmax](https://discourse.nodered.org/u/madmax)\
**Post date:** [24 February 2022 06:48 UTC](https://discourse.nodered.org/t/pdf-file-cut-out/58906/1 "2022-02-24T06:48:51Z")

</div>

Hello!

Is it possible to get something out of a PDF file with Node Red and then save it as a PDF again?

The PDF is A4 and should then have about 105x148mm.

Here is an example.

The red part should be  
[test.pdf](https://discourse.nodered.org/uploads/short-url/qmD7IPLFJELTPFYr61Kgyte8hzR.pdf) (13.9 KB)  
.

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [24 February 2022 08:08 UTC](https://discourse.nodered.org/t/pdf-file-cut-out/58906/2 "2022-02-24T08:08:23Z")

</div>

Have a look through these to see if any can help you. [Library - Node-RED](https://flows.nodered.org/search?term=pdf&type=node)

---

<div class="post-metadata">

**Author:** ![madmax](https://avatars.discourse-cdn.com/v4/letter/m/8baadc/32.png) [@madmax](https://discourse.nodered.org/u/madmax)\
**Post date:** [24 February 2022 08:21 UTC](https://discourse.nodered.org/t/pdf-file-cut-out/58906/3 "2022-02-24T08:21:00Z")

</div>

Hello!

Thank you for your mail.

Unfortunately, there are still things for text recognition

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [24 February 2022 08:33 UTC](https://discourse.nodered.org/t/pdf-file-cut-out/58906/4 "2022-02-24T08:33:34Z")

</div>

> [@madmax](#):
>
> Unfortunately, there are still things for text recognition

Sorry, I don't understand that sentence.

---

<div class="post-metadata">

**Author:** ![madmax](https://avatars.discourse-cdn.com/v4/letter/m/8baadc/32.png) [@madmax](https://discourse.nodered.org/u/madmax)\
**Post date:** [24 February 2022 08:46 UTC](https://discourse.nodered.org/t/pdf-file-cut-out/58906/5 "2022-02-24T08:46:03Z")

</div>

that the flow is only for OCR.

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [24 February 2022 09:04 UTC](https://discourse.nodered.org/t/pdf-file-cut-out/58906/6 "2022-02-24T09:04:51Z")

</div>

> [@madmax](#):
>
> the flow is only for OCR.

What flow is only for OCR?

---

<div class="post-metadata">

**Author:** ![madmax](https://avatars.discourse-cdn.com/v4/letter/m/8baadc/32.png) [@madmax](https://discourse.nodered.org/u/madmax)\
**Post date:** [24 February 2022 09:27 UTC](https://discourse.nodered.org/t/pdf-file-cut-out/58906/7 "2022-02-24T09:27:53Z")

</div>

Here are only things for OCR

[https://flows.nodered.org/search?term=pdf&type=node](https://flows.nodered.org/search?term=pdf&type=node)

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [24 February 2022 11:28 UTC](https://discourse.nodered.org/t/pdf-file-cut-out/58906/8 "2022-02-24T11:28:40Z")

</div>

Are you sure?

Another possibility is to work out how to do it using tools that can be installed on your computer and then invoke that from node-red using an Exec node.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [25 April 2022 11:28 UTC](https://discourse.nodered.org/t/pdf-file-cut-out/58906/9 "2022-04-25T11:28:47Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
