Questions tagged [pdf-manipulation]

53 questions
1
vote
2 answers

free PDF manipulation library or code?

I think of developing a tool for commercial usage (I intent to sell it), which will include manipulating document files. The manipulations will include: 1. concatenating several PDF files into one. 2. converting doc/docx file into a PDF file. 3.…
user1028741
  • 2,376
  • 4
  • 25
  • 51
0
votes
0 answers

Add text or image in pdf with node

Im developing a system for the company i work, where i need to make a validation code in every page on the bottom of a existing PDF. I need a lib to do this: Add a text or an png on the bottom right or bottom left of my PDFs on every page. Example…
0
votes
1 answer

PDFMiner: How to extract only main text

I use the following code to convert a PDF to a text file. However, I am only interested in the main text of the document, no figures, no page numbers, no tables, no captions, no formula, etc. But it give me a bunch of text some of them are short…
Ahmad
  • 6,124
  • 6
  • 49
  • 90
0
votes
2 answers

Converting multipage PDF into images with PHP libraries

I've been searching over StackOverFlow and google for two days, still couldn't come to a solution. What I am trying to do is creating a PHP script that: Takes a PDF uploaded to my website Converts each page of the document into a separate…
Viktor
  • 9
  • 7
0
votes
1 answer

IronPdf Add text to end of the page inserts new page

i'm trying to manipulate pdf and i tried some of opensource libraries (e.g pdfSharp, pdfjet) and i cannot achive what i must do. Because pdfsharp add it with a new page to pdf, or pdfjet put an advert into pdf. So, i cannot use those libraries. What…
Vecihi Baltacı
  • 242
  • 3
  • 19
0
votes
0 answers

How to remove margin of a new pdf created using PdfDocument object in iText?

As per my previous question, I am trying to merge multiple pdf pages into a single page. I am able to convert multiple pages pdf file to a merged pdf file. But default margin is cutting my document after merging. I tried adding Document object also.…
0
votes
2 answers

How do I delete/replace an image in a PDF file without breaking the file, using iTextsharp and C#

I'm trying to insert an image with id into a PDF document and allow to replace it later with another image. My process is as follows: Get an image from the client (with a unique ID). Try to find an existing image with the same ID, in the PDF…
amira
  • 21
  • 8
0
votes
1 answer

PDF Anotations readonly .NET

I have a system that's adding anotations to a PDF in form of images. At present if users download the PDF they can click on the anotations and play with then: move, resize, remove... I'd like a way to change the anotation to be readonly or to make…
vmasanas
  • 381
  • 1
  • 3
  • 14
0
votes
2 answers

Manipulating PDF file

I would like to read a PDF file as a text (postscript), add new objects in the file structure and save the final output as a new PDF but If I just copied the PDF PostScript content and paste it in a newly created PDF file (where encoding='ansi'),…
Neweshy
  • 21
  • 3
0
votes
0 answers

Tag text content as figure in pdf

I have a pdf with some text. I would want to tag a text content as a figure and then be able to add an Alt text to it. (I can programmatically add alt text to an element tagged as figure by using Acrobat DC). The pdf looks like something below. **A…
SuperNova
  • 15,051
  • 5
  • 67
  • 45
0
votes
1 answer

Stack PDF images: single page output

How can I stack PDF images (vertically) into a single page output PDF? I.e.: |-----| | 1 | | 2 | | ... | |-----| (See example below.) What I am looking for is a PDF equivalent of this tool that stacks SVG graphics. Note that this is distinctly…
Tom de Geus
  • 4,312
  • 2
  • 22
  • 51
0
votes
2 answers

PDF Manipulation with Adobe's Form Input Fields

I am trying to simplify a process where I currently use my hand calculations of X & Y Co-Ordinates of each value. Which works fine, but is causing me a lot of pain as I have to do quite a number of PDF's. I know that I can open a PDF and insert…
Justin
  • 2,348
  • 6
  • 39
  • 71
0
votes
1 answer

Merge PDF in codeigniter

Not able to locate requested PDF Here is my function:- function genpdf() { $this->load->library('session'); $this->load->library('PDFMerger'); $a=$_POST['a']; $b=$_POST['b']; $pdf = new PDFMerger; …
Nilu
  • 1
  • 1
0
votes
0 answers

Changing the vertical location of an Header in Sejda

I am using sejda-console-1.0.0.RELEASE to apply a Header to a PDF-file. Now i would like to change the vertical position of the Header, i.e. move it 2 cm futher down. I tried forcing a new line by adding blank spaces, but that doesn't work. How can…
0
votes
1 answer

Retrieve the page number of an image in pdf- IText

I am using the code from the below link to render the images MyImageRenderListener - IText Below is my try block of the Code. What I am actually doing is finding the DPI of the image and if the dpi of the image is below 300 then writing it in a…
Abhinav
  • 7,550
  • 10
  • 40
  • 79