Questions tagged [pdf-conversion]

Relating to converting between Portable Document Format and other file formats. Questions asking us to recommend or find a conversion tool or library are off-topic.

This tag is for questions relating to programmatically converting to and from the open standard file format . If a specific conversion is involved, the appropriate tag should also be used: etc.

Conversion solutions may range from complete rasterization (and graphic embedding) to intense . The middle ground generally converts at a high enough level to recognize and use text attributes where possible, falling back to graphic rendering only when necessary.

Questions asking us to recommend or find a tool, library, documentation or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam.

266 questions
1
vote
1 answer

How to convert multilayered PDF to PNG choosing which layers will be exported in .NET

I need to be able to convert a multilayered PDF to PNG but I need to be able to set which layer will be exported. PDF file contains many layers and most of them are not visible. There are APIs that export only layers that are visible and other all.…
Diego Cotini
  • 1,039
  • 2
  • 18
  • 25
1
vote
0 answers

Android development: Pdf already generated from html string. Add text to the bottom

I have developed a programm that takes an html code and produce a pdf. I used the below code to convert the html string to pdf:…
1
vote
1 answer

Is there any way of generating exact HTML page from a PDF file?

I am trying different python libraries like pdftotree, pdfminer, tabula etc. But could not get the exact results. I mean I can get text from PDF, Images and Tabular data in HTML, but not as maintained and organized as original PDF file. Can someone…
1
vote
0 answers

DOCX Apache POI - Shape/Image/WordArt with Text inside is not getting converted to PDF

I have used the below code : package com.allianz.re.gim.service.util; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.OutputStream; import…
Vighnesh
  • 17
  • 3
1
vote
0 answers

How to convert a pdf file to a docx file

I'm using jasperreports to create a file, it has to be edited by the user, so the file must be a doc/docx, the reason I don't create a docx file from jasper is that the way jasper creates docx isn't editable. I found out that if I create a pdf from…
user11703684
1
vote
0 answers

Pdf containing Jupyter cding and stuff back to Jupyter

A friend of mine converted his jupyter notebook into a pdf and sent that to me. I need to convert the pdf back into Jupyter notebook. Is it possible & how?? TIA
1
vote
2 answers

How to use Amyuni PDF converter 4.0 in PowerBuilder 2017 without “run as Administrator”

We have an application in PB 2017 that using Amyuni PDF Converter 4.0 to print the report in PDF file. The application works well until we upgrade the PC to Windows 10. There is a message "Printer not activated, error code -30" when printing the…
Richard Tun
  • 41
  • 1
  • 7
1
vote
1 answer

Converting PDFs to Images using Poppler. It works for one file, but not when looping through a folder of PDFs?

I'm working to convert a folder of PDFs to JPG images. I'm using Poppler and when I have it working at one image at a time it works. However, when looping through each PDF file within a folder it gives the following error: "PDFInfoNotInstalledError:…
Michael M
  • 57
  • 8
1
vote
1 answer

How to generate itextsharp PDF using XML and XSL in C#.net web application?

I am looking for code to create a itextsharp pdf file using XML and xslt in an ASP.net application.I was unable find any code from the internet whihc uses xslt transform before converting to pdf.
Cool Coder
  • 601
  • 2
  • 8
  • 11
1
vote
1 answer

Fillable PDF to XML conversion in MarkLogic

I have loaded some PDF files into MarkLogic with MLCP, which were then converted to XML by the CPF default PDF conversion. Some of the PDFs were fillable, but none of the content that was filled out was included in the conversion. Is there a way to…
MGlos
  • 45
  • 4
1
vote
3 answers

Converting doc / docx files to pdf in Python

Is there a good library which can convert doc file to pdf? There are some paid options available like cloudconvert, convertApi etc but I am looking for a free option. My python app is hosted on EC2 machine. I also looked at python-docx library which…
Vivek
  • 1,823
  • 1
  • 19
  • 39
1
vote
1 answer

Convert PDF to Excel/csv/xlsx

My intention is to convert the pdf strings into excel/csv file as follows: PDF file: (Source File) #_________________________________________________________________________ appliance n. 1. See server appliance. 2. See information appliance. 3. A…
1
vote
1 answer

Why squares shown instead of symbols in output file using pdfbox

Lost a week for finding solution, but still fail. Maybe know somebody: I try to replace token, eg @test to numbers 123456 in .pdf file using pdfbox. It replace it, but in output instead of numbers I have squares or question mark inside square or…
BorHunter
  • 893
  • 3
  • 18
  • 44
1
vote
1 answer

How to convert svg to pdf in landscape mode using Inkscape?

I have used inkscape (https://inkscape.org/release/0.92.3/windows/64-bit/) to convert svg file to pdf. And I used the following command "./inkscape.exe " + svgFilePath + " --export-area-drawing --export-pdf=" + pdfFilePath and "./inkscape.exe " +…
1
vote
1 answer

Create PDF from address in Excel cell

I have been hunting for hours and not come across a solution yet. I have a list of 2,000+ PDF files which hyperlink to an internal Sharepoint drive. My aim is to create a local copy of the PDFs either using VBA or Command Prompt, but so far I have…
paaskanama
  • 53
  • 7